Overview
ChainDrop is the name Microsoft Threat Intelligence gave to a large-scale npm supply-chain compromise it reported on August 4, 2026. Microsoft identified more than 400 compromised packages across multiple unrelated publishers, including packages associated with the keyv, flat-cache, and cache-manager ecosystems. The malicious releases carry a Mini Shai-Hulud variant: a self-propagating credential-stealing worm delivered through a large, heavily obfuscated Bun-based JavaScript payload.
ChainDrop is the latest wave of the Shai-Hulud worm lineage. The original Shai-Hulud campaign surfaced in September 2025, named after a workflow file it dropped, and prompted a CISA alert warning of a self-replicating worm that had compromised hundreds of npm packages by abusing developer credentials and npm publish workflows. Later waves reused and refined the same toolchain. ChainDrop continues that pattern, with the defining change being preinstall execution and a broader set of credential collectors.
The worm typically executes automatically through an npm preinstall lifecycle hook, before package installation completes. Once running, it searches developer workstations and continuous integration and continuous delivery (CI/CD) environments for npm, GitHub, cloud, and infrastructure credentials, then uses recovered identities to authenticate to npm, GitHub, Amazon Web Services (AWS), Kubernetes, and HashiCorp Vault. Collected data is encrypted and transmitted through an attacker-controlled HTTPS endpoint, with attacker-created public GitHub repositories serving as a fallback exfiltration channel.
The most consequential capability is automated propagation. After obtaining an npm publishing token, the payload enumerates packages available to the compromised identity, downloads their latest tarballs, inserts the malware and a loader, adds a preinstall hook, increments the patch version, and republishes. One stolen token produces malicious patch releases across every package that identity can write to. This is why many malicious versions appeared as ordinary patch bumps with no corresponding source commit, pull request, or tag.
Why this matters for defenders: ChainDrop is a developer supply-chain threat first and an endpoint threat second. Its blast radius is credentials, not files. An install on one build runner can hand over npm tokens, GitHub tokens, cloud keys, Kubernetes access, and Vault secrets, and each stolen npm token can seed the next wave of poisoned packages. Removing the offending package does not remediate the compromise. Credential rotation from a known-clean environment and a review of the publishing pipeline are both required.
Verify before relying on this: package and version counts differ across trackers and were revised repeatedly as the investigation continued. Attribution to a named actor remains unresolved. Treat the affected-version lists and infrastructure indicators as time-limited and source them live from Microsoft and CISA rather than a fixed snapshot.