Executive Summary
In late March 2026, attackers compromised the npm account of a lead maintainer of the widely-used JavaScript library Axios, publishing malicious versions 1.14.1 and 0.30.4. These versions included a trojanized dependency, 'plain-crypto-js', which executed a cross-platform Remote Access Trojan (RAT) upon installation, affecting Windows, macOS, and Linux systems. The malicious packages were live for approximately three hours before removal, during which time they were potentially downloaded by numerous developers, given Axios's extensive use in the JavaScript ecosystem. (securitylabs.datadoghq.com)
This incident underscores the escalating threat of supply chain attacks targeting open-source software repositories. The rapid deployment and widespread adoption of compromised packages highlight the need for enhanced security measures in package management and distribution processes to prevent similar future breaches.
Why This Matters Now
The Axios npm package compromise highlights the urgent need for robust security practices in open-source software development, as such supply chain attacks can rapidly propagate malware to a vast number of systems, posing significant risks to organizations and individuals alike.
Attack Path Analysis
The attacker compromised the npm account of the Axios package maintainer, publishing malicious versions that included a hidden dependency executing a cross-platform remote access trojan (RAT). Upon installation, the RAT established command and control channels, allowing the attacker to execute commands and maintain persistence on infected systems. The malware could exfiltrate sensitive data and potentially disrupt system operations.
Kill Chain Progression
Initial Compromise
Description
The attacker gained access to the npm account of the Axios package maintainer and published malicious versions of the package containing a hidden dependency that executed a cross-platform remote access trojan (RAT).
MITRE ATT&CK® Techniques
Compromise Software Dependencies and Development Tools
Command and Scripting Interpreter: PowerShell
Command and Scripting Interpreter: AppleScript
Command and Scripting Interpreter: Python
Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Application Layer Protocol: Web Protocols
Obfuscated Files or Information
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
PCI DSS 4.0 – Ensure all system components and software are protected from known vulnerabilities
Control ID: 6.2
NYDFS 23 NYCRR 500 – Cybersecurity Policy
Control ID: 500.03
DORA – ICT Risk Management Framework
Control ID: Article 5
CISA ZTMM 2.0 – Data Security
Control ID: Pillar 3: Data
NIS2 Directive – Cybersecurity Risk Management Measures
Control ID: Article 21
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Computer Software/Engineering
Critical exposure through npm dependency chains affecting JavaScript applications. Supply chain attacks targeting developer tools enable widespread malware distribution across software products.
Financial Services
High-value target for North Korean BlueNoroff group specializing in financial institution attacks. Remote access trojans compromise sensitive financial data and trading systems.
Information Technology/IT
Massive infrastructure risk from compromised Axios package with 100M+ weekly downloads. Cross-platform malware deployment threatens enterprise development environments and CI/CD pipelines.
Investment Banking/Venture
Targeted by UNC1069 threat actors specifically pursuing venture capital funds and cryptocurrency exchanges. Stolen credentials enable secondary attacks on portfolio companies.
Sources
- Hackers compromise Axios npm package to drop cross-platform malwarehttps://www.bleepingcomputer.com/news/security/hackers-compromise-axios-npm-package-to-drop-cross-platform-malware/Verified
- Axios compromised: hijacked maintainer account pushes malicious npm versionshttps://www.endorlabs.com/learn/npm-axios-compromiseVerified
- Supply Chain Attack on Axios Pulls Malicious Dependency from npmhttps://socket.dev/blog/axios-npm-package-compromisedVerified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Aviatrix Zero Trust CNSF is pertinent to this incident as it could have limited the attacker's ability to move laterally and exfiltrate data by enforcing strict segmentation and controlled egress policies.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: While Aviatrix Zero Trust CNSF may not have prevented the initial compromise of the npm account, it could have limited the subsequent impact by restricting unauthorized communications from the infected systems.
Control: Zero Trust Segmentation
Mitigation: Aviatrix Zero Trust Segmentation could have constrained the attacker's ability to escalate privileges by enforcing strict access controls, thereby limiting unauthorized access to sensitive resources.
Control: East-West Traffic Security
Mitigation: Aviatrix East-West Traffic Security could have limited the RAT's ability to move laterally by enforcing strict segmentation policies, thereby reducing the attacker's reach within the network.
Control: Multicloud Visibility & Control
Mitigation: Aviatrix Multicloud Visibility & Control could have detected and constrained unauthorized command and control communications, thereby limiting the attacker's ability to maintain persistence.
Control: Egress Security & Policy Enforcement
Mitigation: Aviatrix Egress Security & Policy Enforcement could have limited the malware's ability to exfiltrate data by enforcing strict egress policies, thereby reducing the risk of data loss.
While Aviatrix Zero Trust CNSF may not have entirely prevented the initial compromise, it could have significantly reduced the attacker's ability to disrupt system operations or deploy additional malware by limiting unauthorized communications and lateral movement.
Impact at a Glance
Affected Business Functions
- Software Development
- Application Security
- IT Operations
Estimated downtime: 3 days
Estimated loss: $500,000
Potential exposure of sensitive data due to remote access trojan deployment, including access to source code repositories, cloud credentials, and production infrastructure.
Recommended Actions
Key Takeaways & Next Steps
- • Implement Zero Trust Segmentation to limit the spread of malware and restrict unauthorized lateral movement within the network.
- • Enhance East-West Traffic Security to monitor and control internal traffic, detecting and preventing unauthorized communications between systems.
- • Deploy Egress Security & Policy Enforcement to control outbound traffic, preventing unauthorized data exfiltration and communication with malicious command and control servers.
- • Utilize Multicloud Visibility & Control to gain comprehensive insights into network traffic across cloud environments, enabling the detection of anomalous activities.
- • Establish Threat Detection & Anomaly Response mechanisms to identify and respond to suspicious behaviors and potential security incidents promptly.



