Executive Summary
In August 2026, attackers compromised the maintainer accounts of the widely used npm packages 'keyv' and 'cacheable', injecting malicious code that propagated across the npm ecosystem. The malware harvested sensitive credentials, including AWS keys, GitHub tokens, and Kubernetes secrets, and utilized a 'preinstall' hook to execute upon package installation. Notably, the attack introduced a 'dead-man's switch' that triggered upon revocation of stolen tokens, potentially causing further harm. This incident underscores the evolving sophistication of supply chain attacks targeting open-source software repositories. Organizations must enhance their security measures to detect and mitigate such threats, emphasizing the importance of vigilant monitoring and prompt response strategies.
Why This Matters Now
The 'keyv' and 'cacheable' npm package compromise highlights the increasing sophistication of supply chain attacks targeting open-source ecosystems. Organizations must prioritize securing their software supply chains to prevent similar incidents.
Attack Path Analysis
The attacker compromised the maintainer's account of widely used npm packages, injecting malicious preinstall hooks to harvest sensitive credentials. These stolen credentials facilitated privilege escalation, allowing the attacker to modify and republish numerous packages. The worm-like behavior enabled rapid lateral movement across the npm ecosystem. Command and control were maintained through a dead-man's switch that triggered upon token revocation. Exfiltration of harvested credentials occurred via encrypted channels to attacker-controlled repositories. The impact included widespread compromise of developer systems and potential propagation to downstream users.
Kill Chain Progression
Initial Compromise
Description
The attacker gained access to the maintainer's account of the 'keyv' and 'cacheable' npm packages, injecting malicious preinstall hooks to execute unauthorized code upon package installation.
MITRE ATT&CK® Techniques
Compromise Software Supply Chain
Valid Accounts
JavaScript
Credentials in Files
File Deletion
Windows Service
Archive via Utility
Ingress Tool Transfer
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure all system components and software are protected from known vulnerabilities
Control ID: 6.2
NYDFS 23 NYCRR 500 – Cybersecurity Policy
Control ID: 500.03
DORA – ICT Risk Management Framework
Control ID: Article 5
CISA ZTMM 2.0 – Data
Control ID: Pillar 3
NIS2 Directive – Cybersecurity Risk Management Measures
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Critical exposure through npm dependency chains, CI/CD pipelines, and development environments where compromised packages execute via preinstall hooks and IDE configuration files.
Information Technology/IT
High risk from credential harvesting targeting AWS, Kubernetes, GitHub tokens, and cloud infrastructure management systems used extensively across IT operations and DevOps workflows.
Financial Services
Severe supply chain attack risk through compromised development toolchains, with potential compliance violations under PCI DSS and regulatory frameworks for credential management.
Health Care / Life Sciences
Significant threat to development infrastructure supporting healthcare applications, with HIPAA compliance risks from credential theft and potential data exfiltration capabilities.
Sources
- Don't Revoke That Token Yet: Inside the keyv/cacheable npm Worm, (Wed, Aug 5th)https://isc.sans.edu/diary/rss/33218Verified
- Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attackhttps://socket.dev/blog/popular-npm-packages-in-the-keyv-and-cacheable-namespaces-compromised-in-active-supply-chainVerified
- New ChainDrop worm poisons over 1,300 npm packages, Keyv and Cacheable among those hithttps://www.techradar.com/pro/security/new-chaindrop-worm-poisons-over-1-300-npm-packages-keyv-and-cacheable-among-those-hitVerified
- keyv-packages.csv - Indicators of Compromisehttps://github.com/wiz-sec-public/wiz-research-iocs/blob/main/reports/keyv-packages.csvVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it would likely limit the attacker's ability to escalate privileges, move laterally, and exfiltrate data by enforcing strict segmentation and identity-based access controls.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: While Aviatrix CNSF may not prevent initial account compromise, it would likely limit the attacker's ability to exploit compromised credentials to access other workloads or sensitive data.
Control: Zero Trust Segmentation
Mitigation: Aviatrix Zero Trust Segmentation would likely limit the attacker's ability to escalate privileges by enforcing strict access controls, reducing the scope of actions they could perform.
Control: East-West Traffic Security
Mitigation: Aviatrix East-West Traffic Security would likely limit the attacker's ability to move laterally by enforcing strict segmentation between workloads, reducing the potential for propagation.
Control: Multicloud Visibility & Control
Mitigation: Aviatrix Multicloud Visibility & Control would likely limit the attacker's ability to maintain command and control by providing comprehensive monitoring and control over network traffic across cloud environments.
Control: Egress Security & Policy Enforcement
Mitigation: Aviatrix Egress Security & Policy Enforcement would likely limit the attacker's ability to exfiltrate data by controlling and monitoring outbound traffic, reducing unauthorized data transfers.
Aviatrix Zero Trust CNSF would likely reduce the overall impact of the attack by limiting the attacker's ability to escalate privileges, move laterally, and exfiltrate data, thereby containing the blast radius.
Impact at a Glance
Affected Business Functions
- Software Development
- Continuous Integration/Continuous Deployment (CI/CD)
- Cloud Infrastructure Management
Estimated downtime: 7 days
Estimated loss: $500,000
Compromised developer credentials, including API keys, cloud service tokens, and private keys, potentially leading to unauthorized access to sensitive systems and data.
Recommended Actions
Key Takeaways & Next Steps
- • Implement Zero Trust Segmentation to restrict lateral movement and limit the spread of malicious code.
- • Enforce Egress Security & Policy Enforcement to monitor and control outbound traffic, preventing unauthorized data exfiltration.
- • Deploy Threat Detection & Anomaly Response systems to identify and respond to unusual activities promptly.
- • Utilize Inline IPS (Suricata) to detect and prevent known exploit patterns and malicious payloads.
- • Establish Multicloud Visibility & Control to maintain comprehensive oversight and governance across all cloud environments.



