Malware in s3-lambda-dynamodb-cdk
Malware was discovered in the npm package s3-lambda-dynamodb-cdk. Any computer with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different system.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- s3-lambda-dynamodb-cdk
A malicious version of the npm package s3-lambda-dynamodb-cdk was identified and published to the npm registry. The package contained malware that could compromise any system where it was installed or executed.\n\nAccording to the GitHub Security Advisory (GHSA-6xqw-c34f-9275), any computer running this package should be considered fully compromised. The advisory recommends immediate action to rotate all secrets and cryptographic keys from a different, unaffected computer.\n\nWhile the package should be removed, the advisory notes that full system compromise may have occurred, meaning removal of the package alone may not eliminate all malicious artifacts left by the malware.\n\nUsers should audit their systems for any unauthorized access or lateral movement that may have resulted from the compromise.
Indicators of compromise
- Packages
- s3-lambda-dynamodb-cdk
Remediation
- Immediately rotate all secrets, API keys, and cryptographic credentials from a different, unaffected computer
- Remove the s3-lambda-dynamodb-cdk package from all affected systems
- Audit system logs and network traffic for signs of unauthorized access or data exfiltration
- Perform a full security assessment of any system that had this package installed
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical infrastructure
- Check for any lateral movement or persistence mechanisms that may have been installed
Sources
- GitHub Advisory GHSA-6xqw-c34f-9275 · GitHub Advisory Database
Cite this entry
"Malware in s3-lambda-dynamodb-cdk." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 20, 2026; last updated July 20, 2026. https://supplychainattack.org/incident/malware-in-s3-lambda-dynamodb-cdk-63g0h0
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in chai-as-reddit
Malware discovered in the npm package chai-as-reddit. Systems with this package installed are considered fully compromised and may have given outside entities full control.
npmCompromised package - activecritical
Malware in chai-leaf
Malware discovered in the npm package chai-leaf. Systems with this package installed are considered fully compromised and require immediate remediation including secret rotation and package removal.
npmCompromised package - resolvedcritical
Malware in @gocortexio/npmgremlinbox-eupl-3-0
Malware was distributed via the npm package @gocortexio/npmgremlinbox-eupl-3-0. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in @gocortexio/npmgremlinbox-lgpl-2-1
The npm package @gocortexio/npmgremlinbox-lgpl-2-1 contained malware that grants full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different machine.
npmCompromised package