vite-plugin-model (npm) · Malicious Code
Affects vite-plugin-modelSource GCVE Database
Malicious package : remove vite-plugin-model and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10545
What to do
Remove vite-plugin-model 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 |
|---|---|---|
| npmvite-plugin-model | 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 vite-plugin-model version 1.0.0 contains malicious code embedded in its CommonJS entrypoint. This code loads a V8 bytecode blob that executes attacker-controlled code by fetching and compiling a remote payload from a Pipedream webhook URL. The malicious behavior triggers immediately when the package is imported, enabling remote code execution on the installer's machine. The package's ESM module is clean, indicating targeted tampering of the CJS version. The package also uses undeclared dependencies consistent with attacker techniques to complete the execution chain.