Keyv and friends compromised in active Shai-Hulud supply chain attack
4 hours ago
- On August 4, 2026, attackers compromised the GitHub account of the maintainer of keyv (127M weekly npm downloads) and used it to inject credential-stealing malware across the entire package family, including cacheable, flat-cache, file-entry-cache, and others.
- Malicious files (setup.mjs and Math_Symbol.js) were pushed to the main branch and new releases were published with valid npm provenance signed by GitHub Actions.
- The worm spread to at least 868 packages (1381 versions) with over 2 billion monthly installs, including packages from major organizations like Deliveroo, Picsart, and Qlik.
- The payload (Math_Symbol.js) is a 728 KB obfuscated JavaScript file that steals npm tokens, GitHub tokens, AWS credentials, Kubernetes secrets, HashiCorp Vault tokens, Stripe/Slack tokens, and performs a generic filesystem scan using over 200 glob patterns.
- The malware uses a preinstall script in package.json to execute setup.mjs, which downloads the Bun JavaScript runtime to run the real payload, exfiltrating stolen data to a public GitHub repository.
- Aikido detects this as a critical malware issue (100/100) and offers free malware scanning, device protection, and an open-source tool (Safe Chain) to intercept package installs and check against Aikido Intel.