Malicious npm package vite-plugin-bar-plus — full host compromise on install; no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-02
GitHub published advisory GHSA-vmmc-x74g-99g3 on 2026-12-02 flagging the npm package vite-plugin-bar-plus as malware (CWE-506, Embedded Malicious Code). Every published version (= 0) is affected and there are no patched versions, meaning the package cannot be safely used at all. The advisory states any computer with the package installed or running should be considered fully compromised, implying the code hands control to an outside entity; all secrets and keys on affected machines must be rotated from a clean computer. The package sees roughly 1,188 downloads per month, so some developers or CI environments are likely affected. Removal of the package alone is not guaranteed to remove all malicious software it installed. No CVE is assigned; remediation is removal, host forensics/rebuild, and credential rotation.
What to do
- Stop using vite-plugin-bar-plus and remove it from all projects and lockfiles
- Rotate all secrets, keys, and tokens stored on or accessible from affected machines, using a clean computer
- Rebuild or forensically clean affected hosts; assume persistence beyond the npm package
- Audit npm dependencies and CI caches for the package and block it in dependency firewalls/allowlists
- Review logs and network traffic for signs of exfiltration or attacker access
Sources
All live incidents on Threat Watch