One email, one developer, almost the entire ecosystem
On September 8, 2025, a developer known as Qix (Josh Junon) - maintainer of chalk, debug, and several other foundational JavaScript packages - received a phishing email disguised as an npm support request about two-factor authentication. He entered his credentials. Within hours, an attacker used that access to publish malicious versions of chalk, debug, and 16 other packages directly to npm - no code review, no pull request, just a normal-looking version bump that `npm install` would pull automatically for any project depending on them. Combined, those packages were being downloaded roughly 2 billion times a week.
The malicious code was live for about two hours
The payload was built to intercept cryptocurrency transactions in the browser, rewriting wallet addresses mid-transaction to redirect funds to the attacker. Security researchers at Sonatype, Aikido, and others spotted the unusual publish activity, and the compromised versions were pulled within roughly two hours. In that window, the code had already reached an unknown number of builds running in CI pipelines and had already shipped to end users - this is considered the largest npm supply chain attack by reach to date. The actual financial damage: about five cents in stolen cryptocurrency. The two-hour response time is the only reason this is a case study and not a headline about an actual breach.
It isn't a one-off - it's the normal state of the ecosystem now
Sonatype's ongoing scans logged 21,764 new malicious open source packages in the first quarter of 2026 alone, pushing the running total past 1.8 million logged since 2017 - and npm accounted for 96.6% of the packages flagged the following quarter. Most of these campaigns don't write new malware; they compromise one trusted maintainer's account through phishing or a reused password, then let that person's existing reputation do the distribution. A project doesn't get hacked once. It inherits the risk of every maintainer behind every package it depends on, most of whom nobody on the team has ever heard of.
The ACS approach
Every project we run pins dependency versions through a lockfile and upgrades them on a schedule we control, not the moment a new version is published. Before a dependency bump goes into a build, it gets scanned against known vulnerability databases, and anything with broad reach into the app gets an actual look at what changed - not just the version number. A library updating itself isn't the same as a library getting reviewed. That convenience is exactly what this attack was built to use.