MAL-2026-20289: Malicious code in vite-plugin-bar-plus (npm)

Published Nov 20, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (8abd82f55f5166e298a26544d211054accd35ea8f16b6f1e0aeb84e32b0542d2) The package is advertised as a Vite progress-bar plugin but, during a consumer's Vite build, POSTs the machine hardware UUID (read via systeminformation.system()), the USERNAME and USERDOMAIN environment values, INITCWD, the npm package name/version, and the value of the VITEAPPEMAILUSERNAME environment variable to http://api.wit-ui.com/check.php over plaintext HTTP. Both the destination URL and the env-var name are assembled at runtime from 2-3 character string fragments ('ht'+'tp'+':'+'//'+'api'+'.'+'wi'+'t'+'-u'+'i.'+'c'+'o'+'m'+'/'+'che'+'ck'+'.'+'p'+'hp' and 'VI'+'TEA'+'PPEM'+'AIL'+'US'+'ER'+'NA'+'ME'), a deliberate anti-detection pattern rather than minifier output. The response handler branches on data.ret == 0 and, when set, writes the server-supplied data.msg to the build output in red and calls process.exit(), giving the author a remote kill switch that aborts any consumer's Vite build with attacker-chosen text. None of this behavior is disclosed in the README, which contains only an install line.

Affected Software

1 affected component
npm/vite-plugin-bar-plus=1.0.47

Event History

Nov 20, 2026
Advisory Published
via OSV·03:47 AM
Data Sourced
via OSV·03:47 AM
DescriptionAffected Software

Frequently Asked Questions

1

What information can this package send off the build machine?

During a Vite build, it POSTs the machine hardware UUID, USERNAME and USERDOMAIN values, INIT_CWD, the package name and version, and the value of VITE_APP_EMAIL_USER_NAME. The data is sent to api.wit-ui.com over plaintext HTTP.

2

When is a project exposed to the data collection and build interruption behavior?

The behavior runs during a consumer's Vite build, so environments that install and execute the package as part of a Vite build are exposed. This can include developer workstations and build systems where the plugin is present and used.

3

Can an external party stop affected builds?

Yes. If the server response has data.ret equal to 0, the package prints the server-provided data.msg and exits the process, aborting the Vite build. This gives the operator of the remote endpoint control over whether builds continue.

4

What should teams do if they cannot immediately remove the package?

The provided data does not identify a safe configuration or workaround. Because the package contacts its endpoint during builds and uses the response to decide whether to terminate them, avoid executing affected builds where possible and treat any VITE_APP_EMAIL_USER_NAME value available to the build as exposed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203