TL;DR: ChainDrop, a self-propagating npm supply chain worm, has already touched more than 400 packages and can spread from one compromised maintainer token into build, CI, and developer environments, according to Veracode's source analysis. The incident shows that package signature checks alone do not stop install-time malware, and that dependency governance now has to include token scope, lifecycle scripts, and clean rebuild discipline.
NHIMG editorial — based on content published by Veracode: ChainDrop: What the New npm Supply Chain Worm Means for Your Build & What to Do Right Now
By the numbers:
- This campaign has already touched more than 400 npm packages across multiple unrelated publishers.
- keyv alone sees more than 600 million monthly downloads.
Questions worth separating out
Q: What breaks when npm package installation is allowed to execute lifecycle scripts by default?
A: A malicious dependency can run code before installation completes, which turns normal package resolution into a payload delivery mechanism.
Q: Why do stolen publishing tokens create such a large supply chain risk?
A: A publishing token inherits the release authority of the maintainer identity behind it, so one compromise can create many malicious releases across every package the token can write to.
Q: What do security teams get wrong about signature checks for open source packages?
A: They often treat provenance signatures as proof that a package is safe to execute.
Practitioner guidance
- Remove affected package versions from all build paths Inventory npm lockfiles across repositories, CI runners, and developer workstations, then quarantine any dependency versions linked to the campaign before the next build executes.
- Rotate publishing and build credentials immediately Revoke and replace npm tokens, GitHub credentials, cloud keys, Vault access, Kubernetes secrets, and any CI/CD secrets that may have been present when tainted packages were installed.
- Restrict package publishing authority Limit each maintainer token to the minimum package scope required, enforce strong MFA on maintainer identities, and remove unused publishing paths that expand token blast radius.
What's in the full article
Veracode's full analysis covers the operational detail this post intentionally leaves for the source:
- Step-by-step attack chain reconstruction across keyv, cacheable, and the wider npm propagation path
- Indicators of compromise including modified lifecycle scripts, new repositories, and obfuscated payload traits
- Detailed remediation sequence for CI/CD, developer endpoints, and publishing identities
- Veracode's package firewall and supply chain control workflow for blocking active malicious versions
👉 Read Veracode's analysis of the ChainDrop npm supply chain worm →
ChainDrop in npm: what build and CI teams need to do now?
Explore further
ChainDrop shows that publishing identity is now a production security control, not a developer convenience. A maintainer token can trigger release propagation across hundreds of packages, which means release authority is equivalent to downstream access authority. That collapses the old separation between source control and runtime risk. Practitioners should treat package publishing credentials as governed identities with lifecycle, scope, and monitoring requirements.
A few things that frame the scale:
- When AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes - and as quickly as 9 minutes in some cases, according to LLMjacking: How Attackers Hijack AI Using Compromised NHIs.
- Secret exposure is not a slow-moving problem. In The State of Secrets in AppSec, the average estimated time to remediate a leaked secret is 27 days, even though 75% of organisations express strong confidence in their secrets management capabilities.
A question worth separating out:
Q: Who is accountable when a supply chain worm spreads through developer and CI environments?
A: Accountability sits across application security, platform engineering, and identity governance because the compromise crosses package trust, build execution, and credential management. The practical question is who owns publishing tokens, who controls build policy, and who can revoke exposed secrets quickly enough to contain spread.
👉 Read our full editorial: ChainDrop shows how npm supply chain worms turn tokens into blast radius