Microsoft Details Self-Propagating 'ChainDrop' npm Supply-Chain Worm Infecting Over 400 Packages
On August 4, Microsoft Threat Intelligence published primary research detailing the ChainDrop npm supply-chain attack affecting over 400 packages across major ecosystems including keyv, flat-cache, and cache-manager, executing obfuscated Bun-based payloads via preinstall hooks to harvest npm, GitHub, AWS, Kubernetes, and Vault credentials.
Verification & Actions
- Scan Node.js lockfiles and build caches across repositories for compromised versions among the 400+ affected npm packages.
- Hunt for anomalous preinstall script execution, outbound C2 connections, and unexpected token usage on dev hosts and CI runners.
- Purge tainted dependency caches, pin verified versions, and rotate all npm, GitHub, cloud, and Vault secrets on exposed systems.