One of JavaScript's most popular libraries compromised by hackers — Axios npm package hit in supply chain attack that deployed a cross-platform RAT

On March 30, hackers compromised a lead maintainer's npm account for the popular Axios library, releasing two malicious versions that included a hidden dependency, plain-crypto-js@4.2.1, designed to install a cross-platform remote access trojan (RAT) on developer machines. This trojan executed a script to connect to a command-and-control server and deployed malware on macOS, Windows, and Linux systems. The attack highlights vulnerabilities in the software supply chain, affecting a library downloaded around 100 million times weekly.

Build this article’s timeline

Extract dated events, key actors, and open questions using the same timeline analysis available in Signal.

Log in to build

Timeline generation is available to signed-in community members.

Five Ws 🤖 4 AI prefills · 1 still unanswered
Who
jasonsaayman, Luke James, Tom's Hardware, and StepSecurity
🤖 AI prefill
What
On March 30, hackers compromised a lead maintainer's npm account for the popular Axios library, releasing two malicious versions that included a hidden dependency, plain-crypto-js@4.2.1, designed to install a cross-platform remote access t…
🤖 AI prefill
When When did this happen, or what is the timeframe?
Where
macOS, Windows, and Linux
🤖 AI prefill
Why
Centers on npm account compromise, malicious Axios releases, and cross-platform remote access trojan
🤖 AI prefill

Login to answer and earn XP for each gap you fill.

Axios Supply Chain Attack axios, npm, maintainer account, malicious versions, package registry Cross-Platform RAT Payload RAT, remote access trojan, macOS, Windows, Linux Malware Evasion Tactics self-delete, cleanup, decoy version, hide evidence, package.json Incident Response Guidance advisories, StepSecurity, Snyk, Wiz, Vercel
npm account compromise98% malicious Axios releases96% cross-platform remote access trojan95% postinstall script92% command-and-control server91% npm registry90% plain-crypto-js89% supply chain attack88% developer machines84% macOS Windows and Linux83%
41
Manipulation Score: Medium How much this article uses emotional framing vs. straight reporting
Loaded Language 2825%
Absolutist 2215%
Threat/Panic 6825%
Us vs Them 615%
Engagement Bait 4220%
Manipulation score look right?

Factual Claims (10)

high technology
An attacker compromised the npm account of a lead Axios maintainer on March 30.
high technology
Two malicious Axios versions were published: axios@1.14.1 and axios@0.30.4.
high technology
The poisoned releases injected a hidden dependency that installed a cross-platform RAT on macOS, Windows, and Linux.
medium technology
Axios is downloaded roughly 100 million times per week on npm.
high technology
The malicious dependency was plain-crypto-js@4.2.1, disguised as the legitimate crypto-js library.
medium technology
The package was never imported or referenced in Axios source code.
high technology
The postinstall script contacted sfrclak.com, downloaded a platform-specific RAT payload, and destroyed evidence of execution.
medium technology
The attack was staged over roughly 18 hours, with a clean decoy version published before the malicious payload.
medium technology
The malicious versions were live for approximately two to three hours before npm unpublished them and placed a security hold on plain-crypto-js.
medium technology
StepSecurity, Snyk, Wiz, and Vercel advised treating affected systems as fully compromised and rotating credentials immediately.

Comments

Login to view and post comments.

🏠Portal 📰Links ❓Q&A 📅Events 💼Jobs