AxiosRAT
- Type
- RAT
- Capabilities
- Credential theftExfiltrationPersistencePost exploitationDefense evasion
- Delivery
- Landing page
- Platforms
- macOSWindowsLinux
AxiosRAT is a cross-platform remote access trojan deployed in a March 2026 npm software supply-chain compromise involving malicious Axios package releases. The operation abused a phantom dependency that executed during npm post-installation, allowing the malware to run automatically when affected package versions were installed. The campaign targeted Windows, macOS, and Linux environments and was especially dangerous in developer workstations, build systems, and CI/CD pipelines because infection could occur transitively through a trusted dependency.
The malware used an obfuscated JavaScript dropper to identify the host operating system, contact attacker-controlled command-and-control infrastructure, and retrieve platform-specific payloads. On Windows, it launched a PowerShell-based RAT through a VBScript and renamed copy of PowerShell to reduce scrutiny. On macOS, it downloaded and executed a background binary payload. On Linux, it retrieved and launched a detached Python RAT. Observed behavior indicates persistent background execution independent of the original npm install process.
AxiosRAT supported post-compromise remote access and theft of sensitive material from infected environments, including developer and cloud-related secrets such as npm tokens, SSH material, environment variables, and CI/CD credentials. The malware also demonstrated defense-evasion and anti-forensics behavior by deleting or replacing installation artifacts after execution to conceal the malicious dependency and hinder incident response. Telemetry associated with the campaign indicated impact across multiple sectors, including government, finance, healthcare, technology, manufacturing, retail, consulting, entertainment, and utilities.
The intrusion was enabled by compromise of a maintainer account and manual publication of poisoned package versions outside the project’s normal trusted publishing workflow. Related malicious npm packages have been linked to the same infrastructure, indicating a broader pre-staged campaign rather than an isolated package tampering event.
Observables
7 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.