vite-plugin-bug-tracker (npm) · Malicious Code
Affects vite-plugin-bug-trackerSource GCVE Database
Malicious package : remove vite-plugin-bug-tracker and rotate any secrets on hosts that installed it.
Data as of 10 Sep 2026, 18:48 UTC
Malicious package
Published to npm · OSV MAL-2026-14479
What to do
Remove vite-plugin-bug-tracker 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-bug-tracker | 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-bug-tracker (versions 1.0.0 and 1.1.0) contains malicious code that injects an inline script into every built HTML page. This script harvests personally identifiable information (PII) such as account usernames, phone numbers, and real names from sessionStorage in the end user's browser. The stolen data is exfiltrated to a concealed remote endpoint using obfuscated URLs decoded and decoded at runtime. The plugin also intercepts sessionStorage writes to trigger immediate data exfiltration, resulting in production applications unknowingly shipping a PII harvester.