Supply Chain Compromise Impacts Axios Node Package Manager
The Cybersecurity and Infrastructure Security Agency (CISA) released an alert to provide guidance in response to the software supply chain compromise of the Axios node package manager (npm). Axios is an HTTP client for JavaScript that developers commonly use in Node.js and browser environments.
On March 31st 2026, two npm packages for versions [email protected] and [email protected] of Axios npm injected the malicious dependency [email protected] that downloads multi-stage payloads from cyber threat actor infrastructure, including a remote access trojan.
Implement the following recommendations to detect and remediate a potential compromise:
- Monitor and review code repositories, continuous integration/continuous delivery (CI/CD) pipelines, and developer machines that ran
npm installornpm updatewith the compromised Axios version.- Search for cached versions of affected dependencies in artifact repositories and dependency management tools. Pin npm package dependency versions to known safe releases.
If compromised dependencies are identified, revert the environment to a known safe state.
- Downgrade to
[email protected]or[email protected]and deletenode_modules/plain-crypto-js/.
- Rotate/revoke credentials that may have been exposed on affected systems or pipelines (e.g., version control system [VCS] tokens, CI/CD secrets, cloud keys, npm tokens, and Secure Shell [SSH] keys). For ephemeral CI jobs, rotate all secrets injected into the compromised run.
- Monitor for unexpected child processes and anomalous network behavior, specifically during
npm installornpm update.- Block and monitor outbound connections to
Sfrclak[.]comdomains. - Conduct continuous indicator searches and endpoint detection and response (EDR) hunts to confirm no indicators of compromise (IOCs) remain; ensure no further egress to the command and control (C2).
- Block and monitor outbound connections to
Organizations using Axios npm:
- Mandate phishing-resistant multifactor authentication (MFA) on all developer accounts, especially for critical platforms.
- Set
ignore-scripts=truein the.npmrcconfiguration file, which prevents potentially malicious scripts from executing during npm install packages.
- Set
min-release-age=7in the.npmrcconfiguration file to only install packages that have been published for at least seven days, which helps avoid installation of packages that may not be completely vetted or are potentially malicious.
- Establish and maintain a baseline of normal execution behavior for tools that use Axios.
- Alert when a dependency behaves differently (e.g., building containers, enabling shells, executing commands) and trace outbound network activity for anomalous connections.
Further details – https://www.cisa.gov/news-events/alerts/2026/04/20/supply-chain-compromise-impacts-axios-node-package-manager

Blogger at www.systemtek.co.uk
