GHSA-7PPQ-5QFR-6796
Malicious code in vite-plugin-bar-plus (npm)
Texto original en inglés · Ver en español
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-7PPQ-5QFR-6796 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
## 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, INIT_CWD, the npm package name/version, and the value of the VITE_APP_EMAIL_USER_NAME 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'+'TE_A'+'PP_EM'+'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.
---
Credit: OpenSSF https://github.com/ossf/malicious-packages (source https://github.com/ossf/malicious-packages/blob/374928f6258cf3beac8c6f24cee0a67100be4219/osv/malicious/npm/vite-plugin-bar-plus/MAL-2026-20289.json)
Versiones afectadas
1.0.47Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmvite-plugin-bar-plus |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/ossf/malicious-packages/blob/374928f6258cf3beac8c6f24cee0a67100be4219/osv/malicious/npm/vite-plugin-bar-plus/MAL-2026-20289.jsonhttps://www.npmjs.com/package/vite-plugin-bar-plus/v/1.0.47https://github.com/advisories/GHSA-7ppq-5qfr-6796Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
