Axios NPM Supply Chain Attack Delivers RAT
Score: 9/10

Axios NPM Supply Chain Attack Delivers RAT

Threat actors compromised the Axios npm package to deliver a multi-platform Remote Access Trojan (RAT) via the malicious dependency 'plain-crypto-js'.

Executive Summary

On March 31, 2026, the popular npm package Axios was targeted in a supply chain attack after a maintainer account ('jasonsaayman') was compromised. The attackers published malicious versions (1.14.1 and 0.30.4) that included a new dependency, 'plain-crypto-js', which acted as a downloader for an OS-specific Remote Access Trojan (RAT). These versions were available for approximately three hours and affected over 10,000 users before being removed from the npm registry.

The attack utilizes a highly automated delivery chain where a setup script ('setup.js') identifies the victim's operating system—Windows, macOS, or Linux—and retrieves a customized payload from a central C2 server. The malware facilitates data exfiltration and remote command execution, with the Windows variant specifically implementing persistence via registry modifications. Given the massive adoption of Axios, this incident highlights the significant risk of upstream dependencies in the modern development ecosystem.

Organizations using Axios should immediately verify their dependency versions and lock files. Any installation of the compromised versions should be treated as a full system breach, necessitating the rotation of sensitive credentials and secrets that may have been accessible in the environment.

Key Details

Threat Name

Axios npm Supply Chain Attack

Affects

—

Adversary

—

Malware/Tools

plain-crypto-js, ld.py, 6202033.ps1, com.apple.act.mond

Report Score

9out of 10
Quality Score
Excellent
IOC Quality8
TTP Details9
Detection Guidance7
Enterprise Relevance10
Clarity & Structure9
Technical Depth9

Sources