How we caught the Axios supply chain attack

2026-04-02 Elastic

https://www.elastic.co/security-labs/how-we-caught-the-axios-supply-chain-attack

Thumbnail for How we caught the Axios supply chain attack

Elastic described detecting malicious axios npm releases through a monitoring pipeline that downloaded new package versions, diffed them against prior releases, and used an LLM to flag high-confidence supply-chain compromise. The malicious axios versions were published after a maintainer account was compromised, with the attacker adding a phantom dependency, plain-crypto-js, whose postinstall hook deployed cross-platform malware. The incident was framed as part of a broader wave of package-registry compromises involving Trivy, LiteLLM, Telnyx, and Axios, with the axios compromise described as having presumed DPRK state-actor attribution. Elastic’s response tied the detection to live endpoint alerts and emphasized that registry monitoring, credential rotation, and update soak time are important controls for developer workstations and CI/CD environments.

Related Reports

« Back