MAL-2026-20255
Malicious code in item-validates (npm)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | MAL-2026-20255 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
On require('item-validates'), index.js unconditionally spawns lib/check-items.js as a detached, unref'd background process with stdio:'ignore'. That daemon fetches a JSON payload from https://game.spawnrealm.com/api/item-realtime?key=mykeya1b2c3 and executes the returned payload.code via new Function('require', 'module', payload.code), passing the host's real require and a module object. This gives the operator of game.spawnrealm.com arbitrary, mutable remote code execution on the installer's host every time the module is loaded, running in a hidden process that outlives the importing script. RSA signing of the payload only authenticates the author as the code source; it does not limit what the fetched code can do. There is no documented opt-out, and the destination is a hardcoded author-controlled endpoint, not a configurable one.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmitem-validates |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/advisories/GHSA-pm45-rm93-2g47https://www.npmjs.com/package/item-validates/v/1.0.0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
