Skip to main content
Mallory
Malware1 associated actor

plain-crypto-js

Tracked since Mar 31, 2026 · Updated 15 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
Vulns0Associated
Actors1Associated
ATT&CK45Techniques
IOCs34Tracked
Type
Dropper
Capabilities
Credential theftExfiltrationPersistencePost exploitationDefense evasionReconnaissance
Delivery
Fake update
Platforms
WindowsmacOSLinux

plain-crypto-js is a malicious npm package used as a cross-platform remote access trojan dropper in the March 2026 Axios software supply-chain compromise. Attackers hijacked an Axios maintainer’s npm account and published malicious Axios versions 1.14.1 and 0.30.4 containing plain-crypto-js 4.2.1 as an added runtime dependency. The dependency was never imported by Axios; its npm postinstall hook automatically executed the dropper during installation. A preceding benign release and copied crypto-js metadata helped disguise the package as legitimate.

The obfuscated Node.js dropper detects the operating system, contacts attacker-controlled infrastructure, and downloads and launches platform-specific RAT payloads: PowerShell on Windows, a native Mach-O binary on macOS, and Python on Linux. The payloads provide remote command and script execution, filesystem access, additional payload deployment, and reconnaissance of host information, directories, and running processes. They communicate through HTTP POST requests carrying Base64-encoded JSON. The campaign also supported theft of credentials and development-environment secrets, including npm tokens, cloud keys, SSH keys, and CI/CD secrets. The Windows payload establishes persistence through a registry autorun mechanism.

Defense-evasion measures include layered string obfuscation, abuse of legitimate system utilities, hidden or detached execution, and anti-forensic cleanup. After payload launch, the dropper deletes its installation script and replaces the malicious package manifest with a clean decoy. Exposure affected developer workstations and automated build environments across numerous industries. Microsoft attributed the Axios campaign to Sapphire Sleet, while Google attributed it to UNC1069, both North Korea-linked threat actors.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
APT38

The threat actor compromised the lead maintainer of axios, injecting a backdoored dependency (plain-crypto-js) into the package manifest.

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
MITRE ATT&CK

Techniques & procedures

45 distinct techniques documented for this family, organized by ATT&CK tactic.

Reconnaissance

1 technique
T1598Phishing for InformationEvidence1

A clean v4.2.0 of plain-crypto-js was published 18 hours before the malicious v4.2.1. This staged the package name in the registry so it would not trigger new-package alerts when the malicious version shipped.

Initial Access

5 techniques
T1078Valid AccountsEvidence2

threat actors believed to be linked to North Korea hijacked the npm account of an Axios library maintainer and pushed malicious updates

T1195Supply Chain CompromiseEvidence41

two malicious versions of Axios were published to npm after an attacker hijacked the lead maintainer's account... Both versions introduce a hidden dependency ( plain-crypto-js )

T1195.001Compromise Software Dependencies and Development ToolsEvidence16

Attackers published malicious Axios versions 1.14.1 and 0.30.4 after compromising a maintainer's npm account; rather than modifying Axios directly, they added a malicious dependency, plain-crypto-js.

T1195.002Compromise Software Supply ChainEvidence2

MITRE ATT&CK TTPs ID Technique Description T1195.002 Compromise Software Supply Chain Hijacked npm maintainer account published poisoned Axios versions bypassing OIDC Trusted Publisher

T1199Trusted RelationshipEvidence1

any environment that ran npm install and resolved to axios@1.14.1 or axios@0.30.4 during the approximately three-hour exposure window may have executed the malicious payload automatically with no user interaction required.

Execution

15 techniques
T1053Scheduled Task/JobEvidence1

On Linux and macOS, the malware waited 60 seconds and then contacted a remote server to retrieve commands for execution.

T1059Command and Scripting InterpreterEvidence24

macOS: The dropper uses AppleScript... launches it silently via /bin/zsh. Windows: ... uses VBScript to fetch and execute a secondary PowerShell RAT script... Linux: The dropper uses the Node.js execSync command to download a Python RAT script...

T1059.001PowerShellEvidence8

Windows: The dropper searches for and copies the legitimate Windows PowerShell binary to %PROGRAMDATA%\wt.exe. It then uses VBScript to fetch and execute a secondary PowerShell RAT script, which is subsequently executed by wt.exe.

T1059.002AppleScriptEvidence5

macOS: The dropper uses AppleScript to download a C++ compiled Mach-O binary, saves it to /Library/Caches/com.apple.act.mond, makes it executable and launches it silently via /bin/zsh.

T1059.004Unix ShellEvidence4

macOS: ... launches it silently via /bin/zsh.

T1059.005Visual BasicEvidence6

Windows: ... It then uses VBScript to fetch and execute a secondary PowerShell RAT script...

T1059.006PythonEvidence7

Linux: The dropper uses the Node.js execSync command to download a Python RAT script to /tmp/ld.py, running it in the background using the nohup command.

T1059.007JavaScriptEvidence16

They added a phantom dependency called plain-crypto-js that ran a postinstall hook deploying cross-platform malware.

T1204User ExecutionEvidence3

Once installed, npm automatically ran post-install scripts tied to the dependency.

T1204.002Malicious FileEvidence4

A developer or CI job runs npm install axios (or a dependency install/update that resolves to the affected versions). The package manager resolves and installs the injected dependency.

T1574Hijack Execution FlowEvidence9

The only change in both malicious Axios versions was a single new dependency: "plain-crypto-js": "^4.2.1" . This package is never imported in the Axios source - it exists solely to run a postinstall hook

T1574.001DLLEvidence5

This triggers npm's postinstall lifecycle hook, executing a heavily obfuscated Node.js dropper script named setup.js in the background.

T1574.006Dynamic Linker HijackingEvidence1

the axios source code wasn’t even altered; instead a malicious dependency, plain-crypto-js, was injected

T1574.007Path Interception by PATH Environment VariableEvidence1

Its sole purpose is to execute a postinstall script that acts as a cross-platform remote access trojan (RAT) dropper

T1574.013KernelCallbackTableEvidence2

This triggers npm's postinstall lifecycle hook, executing a heavily obfuscated Node.js dropper script named setup.js in the background.

Persistence

5 techniques
T1053Scheduled Task/JobEvidence1

On Linux and macOS, the malware waited 60 seconds and then contacted a remote server to retrieve commands for execution.

T1078Valid AccountsEvidence2

threat actors believed to be linked to North Korea hijacked the npm account of an Axios library maintainer and pushed malicious updates

T1543Create or Modify System ProcessEvidence1

Tämä hyökkääjän hallinnoima paketti lisäsi asentuessaan järjestelmään takaoven, joka ryhtyi välittömästi ottamaan yhteyttä hyökkääjän hallintapalvelimeen.

T1546Event Triggered ExecutionEvidence3

This package was never imported or referenced anywhere in the Axios source code — across all 86 files — and existed purely to trigger npm’s automatic postinstall hook during installation.

T1547.001Registry Run Keys / Startup FolderEvidence2

Windows: ... It also establishes persistence via a registry Run key.

Privilege Escalation

6 techniques
T1053Scheduled Task/JobEvidence1

On Linux and macOS, the malware waited 60 seconds and then contacted a remote server to retrieve commands for execution.

T1055Process InjectionEvidence1

The C2 server accepts the same four commands from the attacker: kill (self-terminate) runscript (execute shell/script commands) peinject (drop and execute binary payloads) rundir (enumerate directories)

T1078Valid AccountsEvidence2

threat actors believed to be linked to North Korea hijacked the npm account of an Axios library maintainer and pushed malicious updates

T1543Create or Modify System ProcessEvidence1

Tämä hyökkääjän hallinnoima paketti lisäsi asentuessaan järjestelmään takaoven, joka ryhtyi välittömästi ottamaan yhteyttä hyökkääjän hallintapalvelimeen.

T1546Event Triggered ExecutionEvidence3

This package was never imported or referenced anywhere in the Axios source code — across all 86 files — and existed purely to trigger npm’s automatic postinstall hook during installation.

T1547.001Registry Run Keys / Startup FolderEvidence2

Windows: ... It also establishes persistence via a registry Run key.

Stealth

15 techniques
T1027Obfuscated Files or InformationEvidence15

a malicious dependency named "plain-crypto-js", an obfuscated dropper that deploys the WAVESHAPER.V2 backdoor

T1036MasqueradingEvidence21

To make this outbound traffic look like benign npm registry requests, it appends platform-specific paths: packages.npm[.]org/product0 for macOS ... All the RAT variants use a hard-coded... user-agent string spoofing Internet Explorer 8 on Windows XP

T1055Process InjectionEvidence1

The C2 server accepts the same four commands from the attacker: kill (self-terminate) runscript (execute shell/script commands) peinject (drop and execute binary payloads) rundir (enumerate directories)

T1070Indicator RemovalEvidence13

After launching the payload, the dropper erases all evidence - deleting itself, removing the malicious package.json , and swapping in a pre-staged clean manifest.

T1070.004File DeletionEvidence18

T1070.004 Indicator Removal: File Deletion setup.js self-deletes, removes package.json, swaps in clean package.md stub

T1078Valid AccountsEvidence2

threat actors believed to be linked to North Korea hijacked the npm account of an Axios library maintainer and pushed malicious updates

T1218System Binary Proxy ExecutionEvidence2

On macOS it disguises itself as a system daemon...

T1497.001System ChecksEvidence4

The embedded malware, for its part, is launched via an obfuscated Node.js dropper ("setup.js") and is designed to branch into one of three attack paths based on the operating system

T1564Hide ArtifactsEvidence3

After launching the second-stage payload, the installer logic removes its own loader ( setup.js ) and removes the manifest ( package.json ) that contained the install trigger. It then renames package.md to package.json , leaving behind a clean-looking manifest

T1574Hijack Execution FlowEvidence9

The only change in both malicious Axios versions was a single new dependency: "plain-crypto-js": "^4.2.1" . This package is never imported in the Axios source - it exists solely to run a postinstall hook

T1574.001DLLEvidence5

This triggers npm's postinstall lifecycle hook, executing a heavily obfuscated Node.js dropper script named setup.js in the background.

T1574.006Dynamic Linker HijackingEvidence1

the axios source code wasn’t even altered; instead a malicious dependency, plain-crypto-js, was injected

T1574.007Path Interception by PATH Environment VariableEvidence1

Its sole purpose is to execute a postinstall script that acts as a cross-platform remote access trojan (RAT) dropper

T1574.013KernelCallbackTableEvidence2

This triggers npm's postinstall lifecycle hook, executing a heavily obfuscated Node.js dropper script named setup.js in the background.

T1620Reflective Code LoadingEvidence2

MITRE ATT&CK TTPs ID Technique Description T1620 Reflective Code Loading PowerShell [scriptblock]::Create() from C&C response content executed in-process without disk write

Credential Access

2 techniques
T1003OS Credential DumpingEvidence1

MITRE ATT&CK Mapping Tactic Technique Description Credential Access Credential Dumping (T1003) Stealing tokens, SSH keys, env secrets

T1528Steal Application Access TokenEvidence1

The RAT allowed them to remotely execute commands, inject new binaries, or capture cloud API tokens.

Discovery

4 techniques
T1057Process DiscoveryEvidence2

On every compromised host, the RAT performed immediate system reconnaissance: enumerating user directories, filesystem drive roots, and running processes

T1082System Information DiscoveryEvidence10

The malware was designed to perform reconnaissance... WAVESHAPER also... collects the returned system information, which is sent to the C2 server in an HTTP POST request.

T1083File and Directory DiscoveryEvidence5

The C2 server accepts the same four commands from the attacker: kill (self-terminate) runscript (execute shell/script commands) peinject (drop and execute binary payloads) rundir (enumerate directories)

T1497.001System ChecksEvidence4

The embedded malware, for its part, is launched via an obfuscated Node.js dropper ("setup.js") and is designed to branch into one of three attack paths based on the operating system

Collection

1 technique
T1005Data from Local SystemEvidence1

File System Targets: Linux/macOS: ~/Documents, ~/Desktop, ~/.config, home directory Windows: Documents, Desktop, OneDrive, AppData\Roaming, all drive roots

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence21

During execution, the malware contacts command-and-control (C2) infrastructure at sfrclak[.]com to deliver platform-specific payloads, then deletes itself and replaces its package.json with a clean version to evade detection.

T1071.001Web ProtocolsEvidence3

The full C2 URL is: http://sfrclak.com:8000/6202033

T1105Ingress Tool TransferEvidence21

The dropper queries the operating system and sends an HTTP POST request to a command-and-control (C2) server at sfrclak[.]com:8000... The C2 server delivers a different payload depending on the victim's operating system.

T1219Remote Access ToolsEvidence6

The code was heavily obfuscated and built to stay unnoticed long enough to deploy a remote access trojan across Linux, macOS, and Windows systems.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

MITRE ATT&CK Mapping Tactic Technique Description Exfiltration Exfiltration Over Web (T1041) Data sent via curl POST requests

Impact

1 technique
T1489Service StopEvidence1

The malware was designed to perform reconnaissance and establish persistence, with an added feature to self-destruct for evasion.

Indicators of compromise

Observables

34 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+15 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching34Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping45Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.