Malicious Axios npm Releases Delivered Cross-Platform RATs in Supply-Chain Attack

· Original article ↗

Summary

A compromised axios maintainer account published two malicious npm versions that installed a dropper and platform-specific RATs. The releases were removed within hours; teams are urged to check for execution and rotate exposed credentials.

Key points

  • On March 31, 2026, an attacker published axios versions 1.14.1 and 0.30.4 through a compromised maintainer account; both added the trojanized plain-crypto-js dependency.
  • The dropper downloaded second-stage payloads from sfrclak[.]com:8000, then deleted itself and restored a clean package.json.
  • The macOS, Windows, and Linux payloads supported remote shell execution, binary injection, directory browsing, process listing, and system reconnaissance.
  • Windows malware established persistence using a registry Run key and a re-download batch file; the RATs beaconed to their C2 every 60 seconds.
  • The malicious releases were removed within hours, but execution was observed in 3% of affected environments.
  • Audit environments for downloads or execution of the affected versions; remove artifacts, investigate build systems and developer machines, and rotate credentials if execution is suspected.
  • Monitor for connections to sfrclak[.]com:8000, beaconing, anomalous HTTP POST requests, and unexpected processes related to package installation.

Article Details

Attack Vectors
  • A compromised axios maintainer npm account was used to publish malicious axios versions 1.14.1 and 0.30.4, which added the trojanized plain-crypto-js dependency.
  • During installation, setup.js downloads and executes operating-system-specific second-stage payloads from sfrclak.com:8000.
  • The payloads beacon to a C2 server every 60 seconds, transmit system inventory, and await commands; reported capabilities include remote shell execution, binary injection, directory browsing, process listing, and system reconnaissance.
  • The Windows payload establishes persistence using a registry Run key and a re-download batch file.
Defensive Notes
  • Audit environments for downloads or execution of axios versions 1.14.1 and 0.30.4, and remove malicious artifacts from endpoints, build systems, and production workloads.
  • If execution is suspected, scan affected systems for exposed secrets and rotate credentials, API keys, and tokens.
  • Review build pipelines and developer machines for unauthorized access or persistence.
  • Monitor for outbound connections to sfrclak.com:8000, beaconing, anomalous HTTP POST requests, and unexpected process execution related to package installation.

Indicators of compromise

TypeIndicatorContext
DOMAINcallnrwise[.]comDomain identified as a C2 pivot.
DOMAINsfrclak[.]comC2 domain serving second-stage payloads.
EMAILifstap@proton[.]meEmail identified in the IOC appendix as a threat-actor email.
EMAILnrwise@proton[.]meEmail identified in the IOC appendix as a threat-actor email.
IPV4142[.]11[.]206[.]73C2 IP address.
SHA107d889e2dadce6f3910dcbc253317d28ca61c766Hash of the trojanized [email protected] package.
SHA1d6f3f62fd3b9f5432f5782b62d8cfd5247d5ee71Hash of the malicious [email protected] package.
SHA256617b67a8e1210e4fc87c92d1d1da45a2f311c08d26e89b12307cf583c900d101Hash of the Windows second-stage PowerShell payload stage2.ps1.
SHA25692ff08773995ebc8d55ec4b8e1a225d0d1e51efa4ef88b8849d0071230c9645aHash of the macOS second-stage Mach-O payload com.apple.act.mond.
SHA256e10b1fa84f1d6481625f741b69892780140d4e0e7769e7491e5f4d894c2e0e09Hash of the malicious setup.js dropper.
SHA256e49c2732fb9861548208a78e72996b9c3c470b6b562576924bcc3a9fb75bf9ffHash of a system.bat Windows persistence-script variant.
SHA256ed8560c1ac7ceb6983ba995124d5917dc1a00288912387a6389296637d5f815cHash of the malicious PowerShell script 6202033.ps1.
SHA256f7d335205b8d7b20208fb3ef93ee6dc817905dc3ae0c10a0b164f4e7d07121cdHash of the Windows persistence script system.bat.
SHA256fcb81618bb15edfdedfb638b4c08a2af9cac9ecfa551af135a8402bf980375cfHash of the Linux second-stage Python payload ld.py.
URLhxxp[:]//sfrclak[.]com:8000/6202033C2 URL associated with the second-stage payload infrastructure.

MITRE ATT&CK

Products

Related Articles