vite-plugin-chunk-chop (npm) · Malicious Code
Affects vite-plugin-chunk-chopSource GCVE Database
Malicious package : remove vite-plugin-chunk-chop and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:31 UTC
Malicious package
Published to npm · OSV MAL-2025-47933
What to do
Remove vite-plugin-chunk-chop 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-chunk-chop | 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-chunk-chop versions 2.0.5 and 2.0.6 contain malicious code that can fully compromise any computer where it is installed or running. This compromise includes potential unauthorized access to all secrets and keys stored on the affected system. Immediate removal of the package and rotation of all secrets from a different, uncompromised machine is strongly advised.
References
- github.com/advisories/GHSA-wx53-5xf7-vrcj (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-VITEPLUGINCHUNKCHOP-13350879 (opens in a new tab)
- npmjs.com/package/vite-plugin-chunk-chop (opens in a new tab)
- socket.dev/blog/north-korea-contagious-interview-campaign-338-malicious-npm-packages (opens in a new tab)