Skip to main content
MalwarePublished

vite-plugin-bar-plus (npm) · Malicious Code

Affects vite-plugin-bar-plusSource GCVE Database

0

Malicious package : remove vite-plugin-bar-plus and rotate any secrets on hosts that installed it.

Data as of 20 Nov 2026, 06:22 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20289

What to do

Remove vite-plugin-bar-plus 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

ProductAffectedFixed in
npmvite-plugin-bar-plusAffected
  • =1.0.47
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-bar-plus (version 1.0.47) contains malicious code that exfiltrates sensitive environment and system information during a Vite build. It sends the machine hardware UUID, environment variables including USERNAME, USERDOMAIN, INIT_CWD, the package name/version, and a specific environment variable (VITE_APP_EMAIL_USER_NAME) to a remote server over unencrypted HTTP. Additionally, the package implements a remote kill switch that can abort the build process with attacker-controlled messages. This behavior is hidden and not disclosed in the package's README.

References

Community reviews

Loading reviews…