ViteVenom Uses Seven Malicious npm Packages and Blockchain C2 to Deliver a RAT

· Original article ↗

Summary

Checkmarx identified seven malicious npm packages targeting Vite as part of ViteVenom, an expansion of ChainVeil attributed to SuccessKey. The malware uses blockchain infrastructure to retrieve payloads and deliver a RAT.

Key points

  • Checkmarx identified seven scoped npm packages targeting Vite; they were published from June 29 to July 3, 2026, and impersonated the @vitejs namespace.
  • ViteVenom is described as an expansion of ChainVeil and attributed to SuccessKey; related wallet activity was detected as far back as February 27, 2026.
  • The malicious code runs when a package is imported, rather than when it is installed.
  • The loader queries Tron for transaction data, uses it to locate an encrypted payload on Binance Smart Chain, and decrypts that payload with a hard-coded key.
  • Aptos provides a backup retrieval method, and an HTTP fallback can fetch the RAT directly from a C2 server.
  • The RAT can provide reverse shells, steal credentials, exfiltrate files and establish persistence.
  • Users are advised to remove the packages, audit dependencies, rotate credentials and check .bashrc, .zshrc and .profile for unauthorized changes.

Article Details

Attack Vectors
  • Seven malicious scoped npm packages impersonated the @vitejs/* namespace and targeted developers using Vite.
  • The packages execute malicious code when imported, rather than at installation time.
  • The loader retrieves payload pointers through Tron and Aptos, then extracts an encrypted payload from a Binance Smart Chain transaction and decrypts it with a hard-coded key.
  • A fallback retrieves the RAT directly from a C2 server over HTTP, bypassing the blockchain retrieval path.
  • The delivered RAT is described as capable of reverse shells, credential harvesting, file exfiltration, and persistent backdoor injection.
Defensive Notes
  • Remove the identified malicious packages and audit dependencies.
  • Rotate credentials that may have been exposed.
  • Inspect .bashrc, .zshrc, and .profile for unauthorized modifications.

MITRE ATT&CK

People

Threat Actors

Products

Related Articles