TTO-2026-0805-002 · August 5, 2026 Supply Chain

ChainDrop npm Worm Poisons 400+ Packages With 2 Billion Monthly Downloads

npmjs.com444 packages poisoned2,212 versionsShai-Hulud worm familyEthereum C2

Summary

A self-propagating supply chain worm designated ChainDrop ripped through the npm registry beginning at 09:35 UTC on August 4, 2026. In under four hours it poisoned 444 packages and 2,212 versions including keyv (150M+ weekly downloads), flat-cache (149.9M), and file-entry-cache (147.6M) — foundational packages embedded in ESLint and a significant portion of the JavaScript ecosystem. The attack began with the compromise of the GitHub account behind the Keyv project. Attackers pushed malicious code directly to the main branch and released Keyv 6.0.0 through the project's legitimate GitHub Actions workflow, giving the poisoned version valid SLSA provenance. A preinstall script then automatically executed a credential-harvesting payload on every npm install. Stolen credentials were used to propagate the worm to additional packages. ChainDrop uses the Ethereum blockchain for command and control via EtherHiding — a technique that makes C2 infrastructure resistant to takedown.

Timeline

DateEvent
09:35 UTC Aug 4[email protected] published — first confirmed malicious release
09:40–11:44 UTC1,557 malicious versions published in a two-hour burst across unrelated maintainer scopes
13:20 UTCnpm team begins removing malicious versions
Aug 4, 2026StepSecurity, Aikido, Wiz, Socket, Semgrep publish IOCs and affected package lists
Aug 4, 2026Microsoft Security Blog publishes full technical analysis
Aug 5, 2026Worm propagation continuing via newly compromised developer accounts

Domain Intelligence

DomainScoreStatus
npmjs.com87.0Live
github.com88.0Live
WarmBadge Intelligence Snapshot · Captured: August 5, 2026 UTC

Technical Detail

ChainDrop is a variant of the Shai-Hulud malware family — the same lineage behind the Mini Shai Hulud campaign that hit TanStack, Mistral AI, and OpenSearch packages in May 2026. Each poisoned package contains two files: setup.mjs (payload dropper) and Math_Symbol.js (renamed math_init.js in the second wave). The preinstall script downloads the legitimate Bun JavaScript runtime and executes a 710KB obfuscated second stage that steals npm tokens, GitHub credentials, cloud provider credentials (AWS, Kubernetes, HashiCorp Vault), and CI/CD secrets. Stolen credentials are used to authenticate to additional maintainer accounts and propagate new malicious releases.

The attack exploited a critical gap in supply chain provenance: valid SLSA provenance confirms which workflow built a package — it does not confirm the source code was authorized. ChainDrop had genuine provenance on its most damaging releases.

The Trust Observatory · thetrustobservatory.com · August 5, 2026