-
Notifications
You must be signed in to change notification settings - Fork 3
Pin axios to safe version — supply chain attack on 1.14.1 #177
Copy link
Copy link
Open
Description
Summary
axios versions 1.14.1 and 0.30.4 were compromised in a supply chain attack on March 30, 2026. The attacker hijacked a maintainer's npm account and added a malicious dependency (plain-crypto-js) that acts as a cross-platform RAT dropper.
This repo's package.json declares "axios": "^1.8.2" — the caret range could resolve to 1.14.1 on a fresh npm install if lockfiles aren't committed or are regenerated. The current lockfile resolves to 1.13.4 (safe), but this should be pinned to prevent accidental upgrade.
Recommended action
Pin axios to a known-safe version in package.json:
"axios": "1.14.0"Or add a resolutions/overrides field to block the compromised version.
References
- The Hacker News: Axios Supply Chain Attack
- Socket.dev analysis
- Snyk advisory
- Vercel remediation steps
The malicious versions have been removed from npm, but lockfile audits are recommended.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels