The popular Axios HTTP library for Node.js was recently compromised after attackers gained access to its NPM repository, potentially exposing millions of developers to malicious remote access tools.
Key Points
- Attackers used a phishing collaboration request to compromise the Axios lead developer's credentials.
- Malware was injected via a new dependency, plain-crypto-js, which executes platform-specific payloads on Windows, macOS, and Linux.
- The malicious package functioned as a remote access tool (RAT) capable of stealing credentials and downloading arbitrary binaries.
- Although the compromised packages were available for only a few hours, the library's 100 million weekly downloads suggest a significant potential impact.
- GitHub is responding to this and other supply chain attacks by accelerating security features like immutable releases and OIDC authentication.