Executive Summary
On March 31, 2026, the widely used axios HTTP client was compromised via a stolen npm access token, leading to the publication of malicious versions 1.14.1 and 0.30.4. These versions introduced a new dependency, plain-crypto-js@4.2.1, which contained a postinstall hook that executed an obfuscated JavaScript dropper. The attack was highly efficient, lasting only 169 minutes before the packages were removed, but it impacted numerous CI/CD pipelines and developer environments during that window.
The infection chain is cross-platform, deploying a Mach-O binary on macOS, a PowerShell-based RAT on Windows, and a Python script on Linux. These payloads share a common C2 infrastructure and protocol, facilitating arbitrary command execution, system reconnaissance, and further binary injection. Notably, the attack bypassed standard GitHub OIDC publishing workflows, highlighting a critical reliance on long-lived npm tokens as a primary point of failure.
Key Details
Threat Name
Axios npm Supply Chain Attack
Affects
—
Adversary
—
MITRE Techniques
Malware/Tools
com.apple.act.mond, windows_rat.ps1, ld.py, setup.js, plain-crypto-js, Extension.SubRoutine, Mach-O RAT
