Seven booby-trapped npm packages hit Vite developers with blockchain-controlled malware

Researchers at Checkmarx say the ViteVenom campaign hides its command server across cryptocurrency networks, making it unusually hard to shut down.

ThreatVectr NewsdeskAI-assistedPublished Updated · Editor: Lee Brown· 3 min read
Illustration: a dimly lit developer workstation at night
Illustration made with AI. Not a photograph of the events described.
Share

Key points

  • Checkmarx researchers found seven malicious npm packages, small bundles of open source code developers download to build websites, disguised as tools for the popular Vite frontend framework.
  • The campaign, named ViteVenom, delivers a remote access trojan: software that lets attackers control an infected machine from afar.
  • ViteVenom expands an earlier campaign called ChainVeil, which spread its control infrastructure across blockchain networks including Tron.
  • Developers who install the fake packages unknowingly ship the malware into every app they build, a supply chain attack.
  • The blockchain-based control setup means defenders can't simply seize a server to cut off the malware.

Security researchers have pulled seven poisoned packages off npm, the giant public library where web developers grab ready-made code, after finding they were built to infect anyone using Vite.

Vite is a widely used tool for building modern websites and web apps. That popularity is exactly why criminals hide near it.

Checkmarx, a firm that watches open source repositories for tampering, flagged the campaign and named it ViteVenom.

What is actually going on here?

The attackers uploaded seven packages to npm with names designed to look like legitimate Vite add-ons. A developer in a hurry, or one who mistypes a package name, installs the fake instead of the real thing.

Once installed, the package quietly downloads and runs a remote access trojan: malware that hands the attacker a live connection into the victim's machine. From there, they can steal files or plant more malware.

The damage doesn't stop at one laptop. When a developer's machine is infected, anything they publish can carry the infection forward to their employer and their customers. That's what the industry means by a supply chain attack. We covered a near-identical pattern on 15 July, when four AsyncAPI packages were tampered with to deliver a multi-stage loader, and it's now the third blockchain-adjacent npm poisoning we've reported in 90 days.

Why the blockchain twist matters

Most malware phones home to a server the attackers rent somewhere. Police and hosting companies can seize that server, and the malware goes dark.

ViteVenom is more stubborn. It expands an earlier operation called ChainVeil, which, as first reported by The Hacker News, built its command setup across cryptocurrency networks including Tron. The instructions the malware needs are stored inside blockchain transactions. Blockchains are public ledgers no single company controls, so there's no server to seize and no host to call. To silence the malware, someone would have to take down entire cryptocurrency networks. That isn't happening.

For defenders, blocking a bad domain or reporting an abusive host does very little here. That's the part worth watching: if this model spreads, the standard incident-response playbook loses one of its most reliable tools.

Should ordinary people worry?

Not directly, but the indirect risk is real. Regular internet users aren't going to install a Vite npm package. Developers are.

The risk to everyone else is downstream. If a coder at your bank or your favourite shopping site pulled in one of these fakes, malicious code could ride into software you use every week. That's how earlier supply chain incidents, like the SolarWinds breach in 2020, reached thousands of organisations from a single tainted update.

Npm has removed the seven packages Checkmarx identified. Developers who installed any of them should treat the machine as compromised, rotate any credentials stored on it, and rebuild from a clean system.

The operators behind ViteVenom have shown patience and technical capability. Expect more packages, under new names, to appear on npm soon.

© 2026 Threat Vectr