Keyv and friends compromised in active Shai-Hulud supply chain attack
- Security
- Open Source
- Developer Tools
- Infrastructure
The post describes “Shai-Hulud,” an npm malware campaign that hit Keyv and related packages, added a preinstall hook, dropped obfuscated payload files, stole credentials, and used those credentials to compromise additional maintainers and packages. The important detail is not just that malicious code shipped through npm. It shipped through normal project release machinery, then turned developer and CI environments into propagation points. That makes this less like a one-off bad package and more like a worm riding the JavaScript toolchain.
If your org ships JavaScript, add a release-age delay on dependency updates now and split build or test jobs from publish jobs so untrusted package code never runs in the same environment as registry or cloud credentials. Then audit developer and CI environments for package-install execution paths, not just production servers.
-
aikido.dev
- Discuss on HN