Supply Chain Alert: Malicious Axios Versions Published to npm

Supply Chain Alert: Malicious Axios Versions Published to npm

March 31, 2026

Prophet Security is tracking a high-impact supply chain attack involving Axios, one of the most widely used packages in the JavaScript ecosystem.

Attackers compromised a legitimate Axios maintainer account (initial reports from StepSecurity and Socket) and used that trust to publish malicious versions of the real package:

  • axios@1.14.1
  • axios@0.30.4

Those versions introduced a malicious dependency, plain-crypto-js@4.2.1, which used a postinstall hook to deploy a cross-platform remote access trojan affecting Windows, macOS, and Linux.

What is the Axios Supply Chain Attack?

This is a software supply chain attack delivered through a trusted dependency with broad downstream reach.

Axios is deeply embedded across developer workstations, CI/CD pipelines, backend services, and production builds. When a trusted package is compromised, the blast radius extends far beyond a single application or team.

A few things make this incident especially concerning:

  • Axios has massive adoption across the JavaScript ecosystem
  • The attacker used a legitimate maintainer account
  • The malicious payload executed automatically during install
  • The malware was designed to clean up after itself, reducing obvious evidence on disk
  • Extensive reconnaissance and enumeration of systems, processes and files, suggesting intelligence gathering for future steps

Modern supply chain attacks move through trusted channels, execute quickly, and are easy to miss if teams are only watching for traditional exploit behavior.

{{ebook-cta}}

Why it matters

If your organization installed either malicious Axios version during the exposure window, treat this as a potential post-compromise event.

The impact can reach across:

  • CI/CD systems
  • engineering laptops
  • backend infrastructure
  • production servers and containers
  • production workloads built during the exposure window

Patching alone is not enough. Security teams need to determine whether malicious code executed, what systems it touched, and whether secrets, build artifacts, or downstream environments should now be treated as exposed.

Axios also shows up in threat actor infrastructure, including phishing kits and phishing sites. That creates a broader downstream concern. If the attacker-operated phishing infrastructure was updating dependencies and not pinning to a known safe version of Axios, those environments may also have pulled the compromised package. Trusted packages with broad adoption can propagate risk across any infrastructure that pulls them, including both legitimate and malicious environments. Malicious infrastructure hijacking may lead to sudden changes from less disruptive threat activity, such as phishing and crypto currency mining, to more aggressive ransomware and other disruptive classes of attacks.

What to do now

Organizations should immediately:

  • check for axios@1.14.1, axios@0.30.4, and plain-crypto-js in lockfiles and installed dependencies
  • downgrade to known good Axios versions
    • npm install axios@1.14.0   # for 1.x users
    • npm install axios@0.30.3   # for 0.x users
  • remove the malicious dependency from affected systems
  • block known attacker infrastructure at the network layer (IOCs included below)
  • review affected endpoints, build agents, servers, containers, and CI/CD systems for evidence of execution

If these versions were installed, assume compromise until proven otherwise and respond accordingly:

  • rotate npm tokens, cloud credentials, SSH keys, and CI/CD secrets
  • audit pipeline runs during the exposure window
  • rebuild images and artifacts produced from impacted environments
  • investigate engineering laptops, production servers, QA environments, and container workloads for follow-on activity

Indicators of Compromise (IOCs)

Malicious packages

Package SHA256 Notes
axios@1.14.1 5bb67e88846096f1f8d42a0f0350c9c46260591567612ff9af46f98d1b7571cd Malicious package
axios@0.30.4 59336a964f110c25c112bcc5adca7090296b54ab33fa95c0744b94f8a0d80c0f Malicious package
setup.js e10b1fa84f1d6481625f741b69892780140d4e0e7769e7491e5f4d894c2e0e09 Dropper

Network IOCs

Type Indicator Context
C2 domain sfrclak[.]com All platforms
C2 IP 142.11.206.73 Resolved C2, connection to TCP port 8000
Additional IP 146.112.61.110 Related infrastructure or observed network indicator

Endpoint and host IOCs

Platform Artifact or Command Type
Windows C:\ProgramData\wt.exe RAT binary
Windows f4a86c92d6e35b719487621c8f1e5672d6e35b719487621c8f1e5672d6e35b7 SHA256 for C:\ProgramData\wt.exe sample
Windows C:\ProgramData\system.bat Batch script / Persistence Cradle
Windows e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA256 for C:\ProgramData\system.bat sample
Windows HKCU\...\Run\MicrosoftUpdate Persistence
macOS /Library/Caches/com.apple.act.mond RAT binary
macOS 92ff08773995ebc8d55ec4b8e1a225d0d1e51efa4ef88b8849d0071230c9645a SHA256 for com.apple.act.mond sample
macOS 6f3d1794218e87513b8602737a46876a445d8b8712e3456a81c3f2010834567e SHA256 for com.apple.act.mond sample (variant)
macOS chmod 770 /Library/Caches/com.apple.act.mond Execution or permission-setting command
Linux /tmp/ld.py RAT script
Linux e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA256 for /tmp/ld.py sample
Linux fcb81618bb15edfdedfb638b4c08a2af9cac9ecfa551af135a8402bf980375cf SHA256 for /tmp/ld.py sample (variant)

Hunt and detection guidance

Hunt for evidence of execution and persistence.

Look for:

  • Outbound connections to sfrclak[.]com
  • Connections to packages[.]npm[.]org/product0, product1, or product2
  • Suspicious child processes spawned by npm or node
  • Unexpected binaries or scripts written to system paths
  • Persistence tied to the MicrosoftUpdate user run key on Windows
  • Suspicious launchd-backed execution on macOS
  • Execution of /tmp/ld.py on Linux, especially as root
  • Use of nohup in connection with /tmp/ld.py or similar staged payload execution

This attack delivered attacker-controlled code through a trusted dependency and created the potential for remote access across engineering and production environments.

How Prophet AI helps

Supply chain attacks like this often present as a series of small but high-risk behaviors tied to trusted software and normal developer workflows. They can begin on an engineering laptop, show up in a CI/CD pipeline, and then land on a production server or container. Defenders need fast, contextual investigation that can connect the dots early.

Prophet AI helps customers investigate that activity in real time, reason through the surrounding context, and escalate clear malicious behavior before teams are left reconstructing the story after the fact.

In this case, Prophet AI has been identifying attacker-linked execution across the systems that matter most, engineering endpoints and production infrastructure. It's been able to connect the behavior to suspicious infrastructure and malware staging paths, delivering high-confidence determinations early enough for defenders to act.

That combination of speed, context, and judgment is helping customers respond to these supply chain events before they turn into broader security incidents. Request a demo of Prophet AI to see it in action.

What is a software supply chain attack and why is Axios a high-value target?

A software supply chain attack compromises trusted dependencies to deliver malicious code through normal development workflows. Axios is a high-value target because of its massive adoption across the JavaScript ecosystem — it is embedded in developer workstations, CI/CD pipelines, backend services, and production builds. When an attacker gains access to a legitimate maintainer account and publishes a malicious version, the blast radius extends far beyond any single application. Security teams need investigation capabilities that can trace execution across all of those environments quickly.

How do I check if my organization installed the malicious Axios versions?

Search your lockfiles and installed dependencies for axios@1.14.1, axios@0.30.4, and plain-crypto-js@4.2.1. These are the confirmed malicious packages. If found, downgrade immediately to known safe versions — axios@1.14.0 for 1.x users or axios@0.30.3 for 0.x users — and remove plain-crypto-js entirely. Organizations should treat any environment that pulled these versions as potentially compromised until investigation confirms otherwise.

Why isn't patching enough to remediate a compromised npm package?

Patching removes the malicious code but does not undo what already executed. The Axios compromise deployed a remote access trojan across Windows, macOS, and Linux through an automatic postinstall hook, and the malware was designed to clean up after itself. Security teams need to determine whether malicious code ran, what systems it touched, and whether secrets, build artifacts, or downstream environments are now exposed. Credential rotation, image rebuilds, and investigation of affected endpoints are all necessary steps beyond the patch itself.

What indicators of compromise should SOC teams hunt for after the Axios supply chain attack?

Key IOCs include outbound connections to sfrclak.com resolved to 142.11.206.73 on TCP 8000, unexpected binaries like wt.exe on Windows or com.apple.act.mond on macOS, and execution of /tmp/ld.py on Linux. Hunt for suspicious child processes spawned by npm or node, persistence via the MicrosoftUpdate run key on Windows, and connections to packages.npm.org/product0 through product2. These artifacts indicate the trojan payload executed in your environment.

How do supply chain attacks affect CI/CD pipeline security?

Compromised dependencies like Axios can execute attacker-controlled code inside CI/CD build agents automatically during install. That means pipeline runs during the exposure window may have produced tainted artifacts, leaked secrets, or given the attacker access to production deployment infrastructure. Organizations should audit pipeline runs, rebuild images and artifacts from impacted environments, and rotate CI/CD secrets, npm tokens, cloud credentials, and SSH keys to contain downstream risk.

What is the risk of supply chain attacks propagating through attacker infrastructure?

Axios appears in threat actor infrastructure, including phishing kits and phishing sites. If those environments pulled dependencies without pinning to a known safe version, they may have also installed the compromised package. This creates an unusual cascading effect: a supply chain attack against legitimate software can also compromise malicious infrastructure, potentially shifting threat activity from lower-severity operations like phishing to more aggressive attacks such as ransomware.

Table of contents
Add as Google Preferred Sources

Insights

Prophet Security Quarterly Threat Report

The attack patterns seen most across customer environments, and why some of those attacks succeeded where others were blocked.

Download Report
Jon Hencinski

Jon Hencinski

Jon is the Head of Security Operations at Prophet Security where he is focused on building the next wave of SOC innovation by leveraging AI to automate the manual, repetitive tasks of alert triage and investigation. Previously, he was the VP of Security Operations at Rapid7 and Expel.