viteplugiin (npm) · Malicious Code
Affects viteplugiinSource GCVE Database
Malicious package : remove viteplugiin and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:32 UTC
Malicious package
Published to npm · OSV MAL-2026-10546
What to do
Remove viteplugiin from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmviteplugiin | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'viteplugiin' is a malicious package impersonating the legitimate '@base44/viteplugin' by inserting an extra 'i' in its name. It contains obfuscated code that executes attacker-controlled JavaScript during module load, triggered when used in Vite configuration files. This causes the malicious payload to run on developer and CI machines whenever any Vite command is executed. The package exhibits typical signs of a supply chain attack, including an empty author field, no repository or homepage, and misleading package metadata. Only version 1.0.28 of 'viteplugiin' is known to be affected.