Threat reportSupply ChainTL-2026-0311
Axios npm Supply Chain Compromise by Sapphire Sleet (DPRK) — Cross-Platform RAT via Phantom Dependency
On March 31, 2026, North Korean state actor Sapphire Sleet (UNC1069/BlueNoroff) compromised the npm account of Axios maintainer jasonsaayman and published backdoored versions 1.14.1 and 0.30.4 of the Axios HTTP client library (~100M weekly downloads). The malicious versions injected a phantom dependency plain-crypto-js@4.2.1 whose postinstall hook contacted C2 infrastructure at sfrclak.com:8000 to deploy platform-specific RATs targeting Windows, macOS, and Linux systems.
Key facts
| Identifiers | TL-2026-0311 |
|---|---|
| Also known as | Axios npm Hijack, WAVESHAPER.V2 Campaign |
| Severity | CRITICAL |
| Affected products | axios axios; npm plain-crypto-js; npm @shadanai/openclaw; npm @qqbrowser/openclaw-qbot |
| Weaknesses (CWE) | CWE-506, CWE-829, CWE-1357 |
| Attribution | APT38, UNC1069 (high confidence) |
| Nation-state nexus | North Korea |
| Malware | WAVESHAPER, macWebT |
| MITRE ATT&CK techniques | T1027 Obfuscated Files or Information, T1036 Masquerading, T1036.003 Masquerading, T1041 Exfiltration Over C2 Channel, T1055 Process Injection, T1057 Process Discovery, T1059 Command and Scripting Interpreter, T1059.001 Command and Scripting Interpreter, T1059.002 Command and Scripting Interpreter, T1059.005 Command and Scripting Interpreter, T1059.006 Command and Scripting Interpreter, T1059.007 Command and Scripting Interpreter and 25 more in the attack flow |
| Motivation | FINANCIAL |
| Target sectors | technology, financial, cryptocurrency, software-development, cloud-infrastructure, devops |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 12 cited sources |
Detection coverage
As of 2026-10-16, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0311 across Splunk SPL, Microsoft KQL and Sigma, covering 46 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: WAVESHAPER.V2 npm Postinstall Hook Shell Spawning — Exploitation
Detects Node.js (npm) spawning shell interpreter processes via postinstall hooks, a key indicator of the WAVESHAPER.V2 supply chain attack where the malicious plain-crypto-js package triggers setup.js dropper execution. Covers cmd.exe, powershell.exe, wscript.exe, and bash spawned by node.exe during npm install.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1195.001, T1059.007
- Data sources: sysmon, windows_security, edr_process_creation
- Severity: critical
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1
ParentImage="*\\node.exe" ParentCommandLine="*npm*"
(Image="*\\cmd.exe" OR Image="*\\powershell.exe" OR Image="*\\pwsh.exe" OR Image="*\\wscript.exe")
| eval risk_score=case(
match(CommandLine, "(?i)setup\.js"), 95,
match(CommandLine, "(?i)plain-crypto"), 95,
match(CommandLine, "(?i)postinstall"), 85,
1=1, 70)
| where risk_score >= 70
| eval detection_name="WAVESHAPER.V2 npm Postinstall Hook Shell Spawning"
| table _time host user ParentImage ParentCommandLine Image CommandLine risk_score detection_nameMicrosoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName =~ "node.exe"
| where InitiatingProcessCommandLine has "npm"
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe", "wscript.exe")
| extend RiskScore = case(
ProcessCommandLine has "setup.js", 95,
ProcessCommandLine has "plain-crypto", 95,
ProcessCommandLine has "postinstall", 85,
70)
| where RiskScore >= 70
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, InitiatingProcessCommandLine, FileName, ProcessCommandLine, RiskScoreSigma
title: WAVESHAPER.V2 npm Postinstall Hook Shell Spawning
id: d4e5f6a7-0311-4b8c-9d01-a1b2c3d40001
status: experimental
description: Detects Node.js spawning shell processes via npm postinstall hooks indicative of WAVESHAPER.V2 supply chain compromise through malicious plain-crypto-js dependency
references:
- https://unit42.paloaltonetworks.com/axios-supply-chain-attack/
- https://github.com/advisories/GHSA-fw8c-xr5c-95f9
author: Threadlinqs Team
date: 2026/04/01
tags:
- attack.initial_access
- attack.t1195.001
- attack.execution
- attack.t1059.007
logsource:
product: windows
category: process_creation
detection:
selection_parent:
ParentImage|endswith: '\\node.exe'
ParentCommandLine|contains: 'npm'
selection_child:
Image|endswith:
- '\\cmd.exe'
- '\\powershell.exe'
- '\\pwsh.exe'
- '\\wscript.exe'
condition: selection_parent and selection_child
falsepositives:
- Legitimate npm postinstall scripts that invoke shell processes for build tasks
- Custom CI/CD build tools using Node.js to orchestrate shell commands
level: highKnown false positives:
- Legitimate npm postinstall scripts that invoke shell processes for build tasks
- CI/CD build tools using Node.js to orchestrate compilation or deployment commands
Tuning notes: Whitelist known legitimate npm packages with postinstall hooks in your environment (e.g., node-gyp, esbuild). Add ParentCommandLine exclusions for trusted build scripts. Reduce risk_score threshold for high-noise dev environments.
- WAVESHAPER.V2 Malicious npm Dropper File Creation — Exploitation · unlock with TL Creds
- WAVESHAPER.V2 Registry Persistence and Script Execution — Post-Exploitation · unlock with TL Creds
- WAVESHAPER.V2 Anomalous IE8 User-Agent C2 Beaconing — C2/Lateral Movement · unlock with TL Creds
- WAVESHAPER.V2 Cross-Platform Payload Staging via npm — Exploitation · unlock with TL Creds
- WAVESHAPER.V2 Anti-Forensic Cleanup of Dropper Artifacts — Post-Exploitation · unlock with TL Creds
- WAVESHAPER.V2 HTTP POST C2 Beaconing with Base64-Encoded JSON — C2/Lateral Movement · unlock with TL Creds
- WAVESHAPER.V2 PowerShell Masquerading as wt.exe — Post-Exploitation · unlock with TL Creds
- WAVESHAPER.V2 C2 Beaconing to Known Infrastructure — C2/Lateral Movement · unlock with TL Creds
Indicators of compromise
As of 2026-10-16, Threadlinqs Intelligence tracks 46 indicators of compromise for TL-2026-0311.
Sample indicators (3 of 46)
- IP address:
142.11.206[.]73 - Domain:
sfrclak[.]com - File hash:
e10b1fa84f1d6481625f741b69892780140d4e0e7769e7491e5f4d894c2e0e09
Defanged, TLP:CLEAR. Full set of 46 indicators: unlock with TL Creds.
Technical analysis
On March 31, 2026, a sophisticated supply chain attack was executed against the Axios npm package, one of the most widely used JavaScript HTTP client libraries with approximately 100 million weekly downloads and presence in roughly 80% of cloud and code environments. The attack was attributed to the North Korean state-sponsored threat actor Sapphire Sleet (also tracked as UNC1069, BlueNoroff, STARDUST CHOLLIMA, Alluring Pisces, CageyChameleon, and CryptoCore) by both Microsoft Threat Intelligence and Google Threat Intelligence Group.
The attack began with the compromise of the npm credentials belonging to jasonsaayman, the lead Axios maintainer. Evidence suggests a long-lived npm access token was stolen rather than credentials being phished, as the maintainer had MFA/2FA enabled. The npm platform prioritized the token over OIDC when both were present, allowing the attacker to bypass multi-factor authentication. The compromised account email was changed to ifstap@proton.me.
Prior to the main attack, the threat actor pre-staged infrastructure by creating the npm account nrwise (nrwise@proton.me) which published plain-crypto-js@4.2.0 as a clean decoy version approximately 18 hours before the attack, followed by the malicious 4.2.1 at 23:59 UTC on March 30. Two trojanized Axios versions were then published: v1.14.1 (tagged latest) at 00:21 UTC and v0.30.4 (tagged legacy) at 01:00 UTC on March 31, 2026.
The malicious Axios versions added plain-crypto-js@^4.2.1 as a dependency — a package never imported anywhere in the Axios source code. Its sole purpose was to execute a postinstall script (setup.js) that acted as a cross-platform RAT dropper. The dropper employed a custom two-layer obfuscation scheme: Layer 1 reversed an encoded string, replaced underscores with base64 padding characters, then decoded the result. Layer 2 applied XOR encryption using the key OrDeR_7077, selecting digits via the formula 7*i*i % 10 and XORing against constant 333. This dual approach obscured 18 critical strings including module names, C2 infrastructure, and shell commands from signature-based detection tools.
Upon execution, setup.js detected the host operating system and delivered platform-specific payloads:
macOS: Downloaded a Mach-O universal binary to /Library/Caches/com.apple.act.mond, masquerading as an Apple system daemon. The binary was launched via nohup osascript and identified itself to C2 with POST body packages.npm.org/product0. The RAT (internally named macWebT, linking to BlueNoroff webT module from RustBucket campaigns) generated a 16-character unique victim ID and fingerprinted the system (hostname, username, macOS version, timezone, CPU type, install date, boot time, running processes, application directories). It supported commands including peinject (binary injection with ad-hoc code signing via codesign --force --deep --sign -), runscript (shell/AppleScript execution), rundir (directory enumeration), and kill (process termination). It beaconed to C2 every 60 seconds using a deceptive User-Agent string mozilla/4.0 (compatible; msie 8.0; windows nt 5.1; trident/4.0).
Windows: Copied PowerShell to %PROGRAMDATA%\wt.exe to impersonate Windows Terminal, then deployed a VBScript launcher (%TEMP%\6202033.vbs) with hidden window style (window style 0) that executed the PowerShell RAT (%TEMP%\6202033.ps1). Persistence was established via the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftUpdate. A resilience mechanism via system.bat at %PROGRAMDATA%\system.bat enabled re-download capability. The Windows RAT provided remote shell execution, binary injection, directory browsing, process listing, and system reconnaissance, beaconing C2 every 60 seconds. POST body identifier: packages.npm.org/product1.
Linux: Deployed a Python script to /tmp/ld.py, launched detached via nohup python3. The RAT provided remote shell execution, process management, directory traversal, and system reconnaissance. It also attempted shell profile injection (.bashrc, .zshrc) for persistence. POST body identifier: packages.npm.org/product2.
Post-execution, the dropper performed anti-forensics by deleting setup.js, removing the malicious package.json containing the postinstall hook, and restoring a clean package.json from a package.md backup, making the infected node_modules directory appear benign to inspection.
The malicious versions were live for approximately 2-3 hours (00:21 to ~03:15 UTC on March 31) before detection and removal. Despite this brief window, the first infection was observed just 89 seconds after publication (00:23:27 UTC), and Huntress observed 135+ endpoints contacting C2 across their partner base. Wiz reported a 3% execution rate across affected environments — a significant footprint given the package massive download volume.
Related malicious packages published by the same infrastructure include @shadanai/openclaw (versions 2026.3.28-2, 2026.3.28-3, 2026.3.31-1, 2026.3.31-2) and @qqbrowser/openclaw-qbot (version 0.0.130). Google Threat Intelligence Group identified the second-stage malware as WAVESHAPER.V2, an updated backdoor linked to UNC1069 earlier activity. The C2 domain calltan.com was also linked to prior DPRK binary usage per Volexity researchers.
MITRE ATT&CK techniques by tactic:
defense-evasion
T1027 Obfuscated Files or Information; T1036 Masquerading; T1070 Indicator Removal
Defense Evasion
T1036.003 Masquerading; T1070.004 Indicator Removal; T1140 Deobfuscate/Decode Files or Information; T1564.001 Hide Artifacts; T1620 Reflective Code Loading
exfiltration
T1041 Exfiltration Over C2 Channel
Privilege Escalation
discovery
T1057 Process Discovery; T1082 System Information Discovery; T1083 File and Directory Discovery
execution
T1059 Command and Scripting Interpreter
Execution
T1059.001 Command and Scripting Interpreter; T1059.002 Command and Scripting Interpreter; T1059.005 Command and Scripting Interpreter; T1059.006 Command and Scripting Interpreter; T1059.007 Command and Scripting Interpreter; T1204.005 User Execution
command-and-control
T1071 Application Layer Protocol; T1105 Ingress Tool Transfer; T1571 Non-Standard Port
Command and Control
T1071.001 Application Layer Protocol; T1132.001 Data Encoding
Initial Access
T1078 Valid Accounts; T1195.002 Supply Chain Compromise; T1566.002 Phishing
initial-access
credential-access
T1528 Steal Application Access Token; T1555 Credentials from Password Stores
privilege-escalation
T1546 Event Triggered Execution
persistence
T1547 Boot or Logon Autostart Execution
Persistence
T1547.001 Boot or Logon Autostart Execution
defense-impairment
resource-development
Remediation
Patches
- Upgrade to axios@1.14.2 or later (clean release)
- Pin axios version in package.json with exact version (no ^ or ~ prefix)
- Add overrides in package.json to prevent transitive resolution of plain-crypto-js
Immediate actions
- Audit all lockfiles for axios versions 1.14.1 or 0.30.4 and plain-crypto-js references
- Downgrade to safe versions: axios@1.14.0 (latest) or axios@0.30.3 (legacy)
- Delete node_modules/plain-crypto-js from all environments
- Block C2 domain sfrclak.com, callnrwise.com, calltan.com and IP 142.11.206.73 at network perimeter
- Hunt for RAT artifacts: /Library/Caches/com.apple.act.mond (macOS), %PROGRAMDATA%\wt.exe (Windows), /tmp/ld.py (Linux)
- Monitor outbound connections to port 8000 and callback URLs
- Assume credential compromise if malicious versions executed — rotate ALL secrets, API keys, npm tokens, SSH keys, cloud credentials immediately
Workarounds
- Run npm ci --ignore-scripts to prevent postinstall hook execution
- Use npm overrides to force safe axios version across all transitive dependencies
- Rebuild affected systems from known-good state if RAT artifacts detected
Longer-term hardening
- Implement npm package pinning and integrity verification in all CI/CD pipelines
- Deploy EDR with behavioral detection for postinstall hook execution monitoring
- Enforce npm install --ignore-scripts in CI/CD and review postinstall hooks manually
- Implement software composition analysis (SCA) tools to detect phantom dependencies
- Add npm audit and lockfile integrity checks to CI/CD gates
- Monitor for shell profile modifications (.bashrc, .zshrc) in developer environments
- Review and rotate all long-lived npm access tokens; prefer short-lived OIDC tokens
Affected and fixed versions
- axios — axios
Vulnerable versions: 1.14.1; 0.30.4
Fixed in: 1.14.2; 0.30.3 - npm — plain-crypto-js
Vulnerable versions: 4.2.1 - npm — @shadanai/openclaw
Vulnerable versions: 2026.3.28-2; 2026.3.28-3; 2026.3.31-1; 2026.3.31-2 - npm — @qqbrowser/openclaw-qbot
Vulnerable versions: 0.0.130
Timeline
Last updated · 2 updates · revalidated 2× · latest source
Showing the 20 most recent tracked events.
- Legitimate axios 1.14.0 released from GitHub Actions with SLSA provenance; last clean 1.x release before the compromise. The malicious 1.14.1 and 0.30.4 were instead published directly via npm CLI, bypassing CI/CD and provenance.
- Related malicious packages @shadanai/openclaw versions 2026.3.28-2 and 2026.3.28-3 published to npm, indicating pre-staging of infrastructure
- Malicious plain-crypto-js@4.2.1 published at 23:59:12 UTC containing postinstall hook dropper (setup.js) with dual-layer XOR obfuscation
- Clean decoy version plain-crypto-js@4.2.0 published by locked-ioc-23 account approximately 18 hours before the malicious payload, establishing package legitimacy
- Axios maintainer jasonsaayman npm account compromised via stolen long-lived access token; account email changed to locked-ioc-24
- Mirror package @depup/axios replicates the malicious release about 17 minutes after publication.
- Sophos telemetry observes first malicious activity at 00:45 UTC.
- plain-crypto-js was removed from npm at 03:29 UTC, roughly 14 minutes after the backdoored axios versions themselves were pulled.
- An axios collaborator opened a deprecation PR and contacted npm directly at 01:38 UTC to force removal of the malicious releases, ahead of the eventual takedown.
- Bitdefender Advanced Threat Control (ATC) recorded its first detection of the backdoored axios@1.14.1 at 00:27 UTC, roughly 6 minutes after publication.
- Malicious Axios versions removed from npm registry at approximately 03:15 UTC after ~3 hour exposure window; 135+ endpoints observed contacting C2 per Huntress
- Socket detects trojanized package within 6 minutes of publication; StepSecurity identifies both malicious versions; community disclosure begins
- Backdoored axios@0.30.4 published at 01:00 UTC tagged as legacy, targeting the older Axios branch to maximize coverage
- First infection observed at 00:23:27 UTC — just 89 seconds after malicious version publication; first Windows wt.exe execution at 00:58:05 UTC
- Backdoored axios@1.14.1 published at 00:21:58 UTC tagged as latest, injecting phantom dependency plain-crypto-js@^4.2.1
- Singapore CSA issues advisory AD-2026-002 on the axios supply chain attack.
- Comprehensive technical analyses published by Wiz, Huntress, SANS, Snyk, Socket, and Aikido; Wiz reports 3% execution rate across affected environments
- Microsoft Threat Intelligence attributes attack to Sapphire Sleet (DPRK); Google TIG independently attributes to UNC1069 with WAVESHAPER.V2 backdoor identification
- Reporting updated with Microsoft (Sapphire Sleet) and CrowdStrike (Stardust Chollima, moderate confidence) attributions, all linked to BlueNoroff, alongside Google GTIG's UNC1069.
- As of 2026-05-29, the specific incident is contained: malicious axios 1.14.1/0.30.4 and plain-crypto-js@4.2.1 were pulled from npm within ~3 hours on Mar 31 and clean releases shipped. But attributed actor Sapphire Sleet/UNC1069 stays highly active (164 domains blocked Feb-Apr, 1,700+ malicious packages), so the supply-chain threat persists.
Update history
- 2026-10-16 — Axios npm Supply Chain Attack - WAVESHAPER.V2 Cross-Platform RAT Deployed via Compromised Maintainer Account (UNC1069): What changed No severity, exploitability, or status change. Existing CRITICAL/ACTIVE exploitability stands. The report's status of ACTIVE is not adopted, because it cites no new activity and the existing MONITORING status is retained.
- 2026-08-23 — Axios npm Supply Chain Attack: Compromised Maintainer Account Deploys Cross-Platform RAT (Sapphire Sleet/BlueNoroff): What changed Initial-access root cause corrected/clarified: axios's own post-mortem shows the compromise began with a ~2-week social-engineering campaign that delivered RAT malware to maintainer jasonsaayman's personal PC, which was then…
Sources cited
- Microsoft: Mitigating the Axios npm supply chain compromise Microsoft · Vendor report · 2026-04-01
- Google Cloud: North Korea-Nexus Threat Actor Targets Axios NPM Package Google Cloud · Research · 2026-04-01
- Wiz: Axios NPM Distribution Compromised in Supply Chain Attack Wiz · Research · 2026-03-31
- Huntress: Supply Chain Compromise of axios npm Package Huntress · Research · 2026-03-31
- Socket: Supply Chain Attack on Axios Pulls Malicious Dependency socket.dev · Research · 2026-03-31
- SANS: Axios NPM Supply Chain Compromise — Malicious Packages Deliver RAT sans.org · Research · 2026-04-01
- Snyk: Axios npm Package Compromised — Supply Chain Attack Delivers Cross-Platform RAT snyk.io · Research · 2026-03-31
- SOCRadar: Axios npm Hijack 2026 — Everything You Need to Know socradar.io · Research · 2026-04-01
- Aikido: axios compromised on npm — maintainer account hijacked, RAT deployed aikido.dev · Blog · 2026-03-31
- StepSecurity: axios Compromised on npm — Malicious Versions Drop RAT stepsecurity.io · Blog · 2026-03-31
- The Hacker News: Axios Supply Chain Attack Pushes Cross-Platform RAT via Compromised npm Account The Hacker News · News · 2026-03-31
- CyberScoop: Attack on axios software developer tool threatens widespread compromises cyberscoop.com · News · 2026-03-31
More from APT38
- October 2026 Major APT Group Trends: State-Sponsored Targeting of Dev Environments, Cloud and Network Equipment (CVE-2022-21894, CVE-2026-20127)
- FaceStealer: North Korean (BlueNoroff) deepfake/ClickFix social engineering campaign behind $400M+ crypto theft disrupted by US
- FaceStealer: DPRK (APT38-attributed) deepfake meeting social-engineering campaign disrupted by FBI/DOJ; $1.2B of stolen Binance crypto seized (TraderTraitor)
- North Korean Lazarus (Operation DreamJob) and DeceptiveDevelopment Target Drone Technology and Software Supply Chains
- North Korea-aligned Lazarus Targets Drone Sector (ScoringMathTea via BinMergeLoader) and DeceptiveDevelopment Targets Software Repositories (ESET APT Activity Report Q2-Q3 2026)
- Top 10 Critical Threat Actors to Watch in 2026: Akira, DragonForce, Qilin, LockBit, Scattered Spider, Cl0p, Lazarus, Volt Typhoon, APT29, OilRig (CVE-2024-40766, CVE-2025-61882, CVE-2023-34362, CVE-2024-39717, CVE-2024-30088)
Previous and next in supply chain
Further reading
Drafted by the Threadlinqs research pipeline from 12 sources; published ; last updated .