UpTrajectory Review

Credential-Stealing Worm Hits npm Packages, Affecting Small Businesses

worm crawling through chain links
Photo: Jan van der Wolf / Pexels

UpTrajectory Review

A self-spreading supply-chain attack is burning through the npm registry right now, and small businesses sit squarely in its blast radius. The worm, which StepSecurity researchers call ChainDrop, has already poisoned 444 packages across more than 2,200 versions, and the affected libraries collectively pull over two billion downloads a month. The entry point was the GitHub account of Jared Wray, maintainer of Keyv, a key-value storage interface that developers pull in more than 150 million times a week. The attacker pushed malicious files straight to the main branch, cut a release, and let the package manager do the rest.

If you run a business with any web presence, this matters because you almost certainly touch npm somewhere in your stack, even if you have never heard of it. Keyv, cacheable, flat-cache, cache-manager and the other compromised libraries sit deep inside the dependency trees of countless applications, build tools and frameworks. Your developers may never have chosen to install them; some other package did that on their behalf. That is the quiet danger of the modern software supply chain: a single compromised maintainer account can reach thousands of downstream businesses that never made a risky decision.

What sets ChainDrop apart from earlier Shai-Hulud variants is its command-and-control channel. Instead of phoning home to a server that defenders can block, the malware reads instructions from the Ethereum blockchain, a technique researchers call EtherHiding. That makes takedown orders nearly useless; you cannot subpoena a blockchain. The payload is equally aggressive: a preinstall script downloads the Bun runtime, then a 710KB obfuscated second stage harvests credentials, publishes fresh malicious packages under other maintainers' identities, and digs into AI developer tooling. The worm spreads by stealing the very secrets developers use to publish.

The credential theft is the part that should keep you up at night. Stolen npm tokens do not just let the attacker push more malware; they often unlock GitHub, cloud consoles and CI/CD pipelines where production secrets live. A small agency or SaaS shop that runs one compromised install could leak customer data, signing keys or database passwords, then watch the attacker pivot into everything those credentials touch. The downstream cost is not a bad afternoon of patching; it is breach notification, regulatory exposure and the slow erosion of client trust.

Treat this as an active incident, not background noise. Audit every environment that ran an npm install since Tuesday and check lockfiles against the published list of poisoned packages and versions. Rotate every secret that a build server or developer machine could reach, starting with npm tokens, GitHub credentials and cloud keys. Pin dependencies, enforce two-factor authentication on every publishing account, and consider gating installs behind a proxy that blocks known-bad versions. Watch the StepSecurity tracker for new additions; this worm propagates, so the list of 444 packages will grow before it shrinks.

“Every poisoned version carries the same infection pattern: a preinstall dropper that downloads the legitimate Bun JavaScript runtime, and a 710KB obfuscated second stage that steals credentials, publishes more malicious packages, and burrows into AI developer tooling.” — CSO Online

Takeaway: Audit npm dependencies against the published list of poisoned packages, then rotate every credential your build pipeline can reach.

Excerpt from the original — CSO Online

A self-propagating worm-like attack is hitting the npm registry, having infected 444 packages from more than a dozen publishers so far. The impact is massive, with the packages affected amounting to more than 2 billion monthly downloads combined.

The attack began with the compromise of a GitHub account belonging to Jared Wray, who maintains Keyv, a package with over 150 million weekly downloads that provides an interface for interacting with key-value storage across multiple backends. Version 6.0.0 published at around 9:00 UTC on Tuesday contained a new version of the Shai-Hulud credential stealing malware.

The compromised account is also used to maintain a number of other popular packages, including cacheable, flat-cache, file-entry-cache, cacheable-request, cache-manager, ecto, and more. All of these had trojanized versions published as well.

Soon after, the attack expanded …