2026security vulnerability
Axios. 70 Million Downloads a Week. North Korea Inside.
On March 31, 2026, Sapphire Sleet — a North Korean state actor — published two malicious versions of Axios (1.14.1 and 0.30.4) to npm. Any project with caret or tilde version ranges covering those releases automatically installed a hidden dependency (plain-crypto-js@4.2.1) that silently deployed a cross-platform remote access trojan during npm install or npm ci. With over 70 million weekly downloads, the exposure window spanned hundreds to potentially millions of developer machines and CI/CD pipelines before the packages were taken down.
Root cause: Axios's npm account was compromised. The attacker made a single, surgical change to the release manifest — adding plain-crypto-js as a dependency — leaving Axios source code entirely untouched. The malicious dependency used npm's postInstall lifecycle hook to download and execute a second-stage RAT payload before any developer reviewed a line of code. The attack exploited two compounding trust assumptions: that a package with an unchanged source diff is safe, and that caret/tilde semver ranges in package.json are an acceptable way to receive updates.