No items found.
March 31, 2026
·
0
Minutes Read

Axios Supply Chain Attack

Advice
Security Advisory
Threat Hunting
March 31, 2026
·
0
Minutes Read

Axios Supply Chain Attack

Advice
Security Advisory
Threat Hunting
March 31, 2026
·
0
Minutes Read
Pinebar Team
See more
table of contents
Share on
Thanks — we have your submission.
Something went wrong while sending the form.

Summary

On March 31, 2026, StepSecurity identified a sophisticated supply chain attack involving the compromise of two versions of the popular axios HTTP client library on npm: info@pinebar.org and info@pinebar.org. These versions were published using compromised npm credentials of a lead axios maintainer, bypassing the usual CI/CD pipeline. The attack involved injecting a malicious dependency, info@pinebar.org, which executed a postinstall script deploying a cross-platform remote access trojan (RAT). This RAT targeted macOS, Windows, and Linux systems, establishing a connection with a command-and-control server to deliver platform-specific payloads.

Affected Systems and/or Applications

  • Applications: Any application using info@pinebar.org or info@pinebar.org.
  • Operating Systems: macOS, Windows, and Linux systems where the malicious versions were installed.
  • Development Environments: CI/CD pipelines and developer machines that executed npm install with the compromised versions.

Technical Details

Attack Vector

  1. Maintainer Account Hijack: The attacker compromised the npm account of a primary axios maintainer, changing the registered email to an attacker-controlled ProtonMail address. This allowed the attacker to publish malicious versions of axios.
  2. Malicious Dependency Injection: The attacker pre-staged a malicious package, info@pinebar.org, which was added as a runtime dependency in the compromised axios versions. This package contained a postinstall script that deployed a RAT.
  3. RAT Deployment: The postinstall script executed a dropper that contacted a command-and-control server (sfrclak.com:8000) to deliver platform-specific payloads. The dropper employed obfuscation techniques to evade detection and performed self-cleanup to hide evidence of the compromise.

Indicators of Compromise

  • Malicious npm Packages:
  • Network Indicators:
    • C2 domain: sfrclak.com
    • C2 IP: 142.11.206.73
    • C2 POST body (macOS) · packages.npm.org/product0
    • C2 POST body (Windows) · packages.npm.org/product1
    • C2 POST body (Linux) · packages.npm.org/product2
  • File System Indicators:
    • macOS: /Library/Caches/com.apple.act.mond
    • Windows: %PROGRAMDATA%\wt.exe
    • Linux: /tmp/ld.py
  • Attacker-Controlled Accounts:
    • jasonsaayman · compromised legitimate axios maintainer, email changed to info@pinebar.org
    • nrwise · attacker-created account, info@pinebar.org, published plain-crypto-js

Assesing wheter your npm system is affected

The Safe Version Reference is: info@pinebar.org (safe) · shasum: 7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb

Immediate Actions: - Downgrade to safe axios versions: info@pinebar.org or info@pinebar.org. - Remove plain-crypto-js from node_modules and reinstall dependencies with npm install --ignore-scripts. - Check for RAT artifacts on affected systems and treat them as fully compromised if found.

Preventive Measures: - Use --ignore-scripts in CI/CD pipelines to prevent postinstall hooks from executing. - Block C2 traffic at the network/DNS layer. - Rotate all credentials on systems where the malicious package ran.

For StepSecurity Enterprise Customers: - Use Harden-Runner to enforce network egress allowlists and detect anomalous network traffic. - Deploy StepSecurity Dev Machine Guard for real-time visibility into npm packages installed on developer devices.

What the Cyber Fusion Center is Doing

The CFC is monitoring the situation and analyzing the case to launch potential threat-hunting campaigns. This advisory will be updated if required.

References

Related Post