Malicious Axios npm Releases Delivered Malware Through Added Dependency
Supply Chain Risk · 3 sources · Updated 3mo ago · First seen Mar 24, 2026

Attackers compromised an Axios maintainer’s npm account and published malicious axios versions 1.14.1 and 0.30.4. Rather than alter Axios directly, they added the plain-crypto-js dependency, whose postinstall hook deployed cross-platform malware on affected systems. The maintainer account’s associated email address was changed to a ProtonMail address during the takeover.
Elastic Security Labs detected the releases with a proof-of-concept package-monitoring system that analyzed package diffs, and telemetry showed organizations had installed the compromised versions. Axios maintainers subsequently removed the malicious releases. Organizations should identify and remove the affected versions, investigate installations for plain-crypto-js postinstall execution, rotate npm credentials where compromise is suspected, and delay adoption of newly released packages while monitoring dependency changes.
Why it matters
Impact assessment
Axios consumers that installed axios@1.14.1 or axios@0.30.4 are exposed to a cross-platform remote-access trojan (RAT) affecting Windows, macOS, and Linux development, CI/CD, and production hosts. The compromise is high severity: attackers obtained remote command execution, host and filesystem reconnaissance, payload delivery, and Windows persistence; Elastic telemetry confirmed organizational installations.
Supporting facts
- The malicious versions were published as
latest(1.14.1) andlegacy(0.30.4) on March 30, 2026, within 39 minutes. - Axios maintainers removed the releases after notification, but installations made while they were available remain compromised until investigated and remediated.
- The C2 server reportedly received sufficient victim traffic to become unstable, indicating non-trivial installation volume.
- Attribution is provisional: Elastic reported code overlap between the macOS implant and WAVESHAPER, associated by Mandiant with DPRK-linked UNC1069.
- The incident demonstrates downstream supply-chain exposure despite legitimate Axios releases normally using GitHub Actions OIDC publishing and SLSA provenance attestations.


