Keyv and friends compromised in active Shai-Hulud supply chain attack

aikido.dev
August 4, 2026
7 min read
60/100
Summary
On August 4, 2026, attackers compromised the GitHub account of the maintainer of the Keyv library, which has approximately 127 million weekly npm downloads. The attackers injected a credential-stealing worm into Keyv and several other widely-used packages owned by the same maintainer, including Cacheable, Flat-cache, and File-entry-cache.
Key Takeaways
- On August 4, 2026, attackers compromised the GitHub account of the maintainer of the keyv library, injecting a credential-stealing worm into multiple widely-used npm packages.
- The compromised packages include keyv, cacheable, flat-cache, and file-entry-cache, which collectively have over 2 billion monthly installs.
- The malicious payload, Math_Symbol.js, targets and exfiltrates various credentials, including npm tokens, GitHub tokens, and AWS credentials, from affected systems.
- At least 434 packages across 1381 versions were compromised, with the worm exhibiting propagation functionality to infect other maintainers' packages.
Coverage & discussions
Hacker News ยท aikido.dev
Community discussions
Historical count: 5 ยท 5 saved in sample ยท Historical sample
Analysis ready
Community Sentiment
Positives
- There's potential for AI to proactively lock accounts uploading suspicious packages on GitHub โ a simple classifier could save countless developers from headaches.
- Some commenters believe that AI spending could actually lead to better security solutions, especially in the context of supply chain threats.
Concerns
- Pre-install hooks are a massive red flag now, and many argue they should be outright banned to prevent further compromises.
- There's skepticism about whether current AI models can effectively secure systems, with a sentiment that LLMs are better at attacking than defending.
Related Articles

Shai-Hulud Themed Malware Found in the PyTorch Lightning AI Training Library
Apr 30, 2026

Config Files That Run Code: Supply Chain Security Blindspot
Jun 8, 2026

Glassworm Is Back: A New Wave of Invisible Unicode Attacks Hits Repositories
Mar 15, 2026

Notepad++ supply chain attack breakdown
Feb 3, 2026

Axios compromised on NPM โ Malicious versions drop remote access trojan
Mar 31, 2026