Executive Summary
In late March 2026, attackers compromised the npm account of a primary maintainer of Axios, a widely-used JavaScript HTTP client library with over 100 million weekly downloads. They published two malicious versions, axios@1.14.1 and axios@0.30.4, which included a hidden dependency named 'plain-crypto-js'. This dependency executed a post-install script that deployed a cross-platform Remote Access Trojan (RAT) targeting Windows, macOS, and Linux systems. The RAT connected to a command-and-control server to retrieve platform-specific payloads, performed reconnaissance, and established persistence, with self-deletion capabilities to evade detection. The malicious versions were available for approximately three hours before removal, but the widespread use of Axios means the impact could be significant. (sans.org)
This incident underscores the growing threat of supply chain attacks, where trusted software components are exploited to distribute malware. The sophistication of this attack, including the use of a legitimate maintainer's credentials and the deployment of a cross-platform RAT, highlights the need for enhanced security measures in software development and distribution processes. Organizations must remain vigilant and implement robust monitoring and response strategies to mitigate such risks. (sans.org)
Why This Matters Now
The Axios supply chain attack highlights the escalating risk of software supply chain compromises, emphasizing the urgent need for organizations to secure their development pipelines and implement stringent monitoring to detect unauthorized changes promptly.
Attack Path Analysis
The Axios supply chain attack began with the compromise of a maintainer's npm account, leading to the publication of malicious package versions. These versions included a hidden dependency that executed a post-installation script, deploying a cross-platform Remote Access Trojan (RAT) to the systems of developers who installed the compromised packages. The RAT established command and control channels, allowing attackers to execute commands and exfiltrate data. The malware also performed anti-forensic measures to evade detection, potentially leading to significant data breaches and system compromises.
Kill Chain Progression
Initial Compromise
Description
Attackers compromised the npm account of an Axios maintainer and published malicious versions of the package, introducing a hidden dependency that executed a post-installation script.
MITRE ATT&CK® Techniques
Compromise Software Dependencies and Development Tools
Compromise Software Supply Chain
User Execution: Malicious File
Command and Scripting Interpreter: JavaScript
Ingress Tool Transfer
Application Layer Protocol: Web Protocols
Indicator Removal: File Deletion
Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure the integrity of software and firmware
Control ID: 6.3.2
NYDFS 23 NYCRR 500 – Cybersecurity Policy
Control ID: 500.03
DORA – ICT Risk Management Framework
Control ID: Article 6
CISA ZTMM 2.0 – Applications and Workloads
Control ID: Pillar 3
NIS2 Directive – Supply Chain Security
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Critical exposure to Axios supply chain attack targeting JavaScript developers, compromising CI/CD pipelines and requiring immediate dependency audits and security rebuilds.
Financial Services
High-value targets for DPRK-linked attackers exploiting compromised JavaScript libraries to steal credentials, API keys, and sensitive financial data through RAT deployment.
Higher Education/Acadamia
Vulnerable development environments and research systems using Axios library face credential theft, lateral movement, and data exfiltration from cross-platform malware infections.
Health Care / Life Sciences
HIPAA-regulated environments compromised through malicious npm packages risk patient data exposure, requiring comprehensive credential rotation and compliance reporting under validated frameworks.
Sources
- Threat Brief: Widespread Impact of the Axios Supply Chain Attackhttps://unit42.paloaltonetworks.com/axios-supply-chain-attack/Verified
- North Korean hackers implicated in major supply chain attackhttps://www.axios.com/2026/03/31/north-korean-hackers-implicated-in-major-supply-chain-attackVerified
- Advisory on Axios Supply Chain Attack via Compromised npm Accounthttps://www.csa.gov.sg/alerts-and-advisories/advisories/ad-2026-002Verified
- Axios NPM Supply Chain Compromise: Malicious Packages Deliver Remote Access Trojanhttps://www.sans.org/blog/axios-npm-supply-chain-compromise-malicious-packages-remote-access-trojanVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is relevant to this incident as it could have limited the attacker's ability to move laterally, establish command and control channels, and exfiltrate data, thereby reducing the overall blast radius of the compromise.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: The initial compromise may have been detected and contained, limiting the attacker's ability to deploy malicious packages across the cloud environment.
Control: Zero Trust Segmentation
Mitigation: The execution of unauthorized scripts could have been restricted, limiting the attacker's ability to deploy malware within the environment.
Control: East-West Traffic Security
Mitigation: Lateral movement within the network could have been constrained, reducing the attacker's ability to access additional systems.
Control: Multicloud Visibility & Control
Mitigation: Command and control communications could have been detected and disrupted, limiting the attacker's ability to control compromised systems.
Control: Egress Security & Policy Enforcement
Mitigation: Data exfiltration attempts could have been identified and blocked, reducing the risk of sensitive information being transmitted to external servers.
The overall impact of the attack could have been limited, reducing the extent of data breaches and system compromises.
Impact at a Glance
Affected Business Functions
- Software Development
- Continuous Integration/Continuous Deployment (CI/CD) Pipelines
- Production Environments
Estimated downtime: 3 days
Estimated loss: $500,000
Potential exposure of sensitive credentials, including API tokens, database passwords, and SSH keys.
Recommended Actions
Key Takeaways & Next Steps
- • Implement Zero Trust Segmentation to enforce least privilege access and prevent unauthorized lateral movement within the network.
- • Deploy Egress Security & Policy Enforcement to monitor and control outbound traffic, blocking unauthorized data exfiltration attempts.
- • Utilize Threat Detection & Anomaly Response systems to identify and respond to unusual activities indicative of compromise.
- • Establish a robust supply chain management program to verify the integrity of software dependencies and prevent supply chain attacks.
- • Regularly update and patch systems to mitigate vulnerabilities that could be exploited by attackers.



