Keyv and Cacheable npm Package Compromise - August 2026
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.
Kill Chain