MAL-2026-20271
Malicious code in smfos-bskdz-util (npm)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | MAL-2026-20271 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
On require, index.js reads a numeric byte array from a non-standard `_b` field in package.json, XORs each byte with 0x96, and passes the result to the Function constructor along with `require` and `__dirname`. In version 1.0.1 the decoded bytes resolve to a trivial `console.log(1)`, but the package exports an empty object and advertises itself as a utility, so the only functional behavior shipped is this dynamic-execution channel. The payload is stored in a manifest field under a single-letter key, outside any shipped.js source, and is only reachable through the XOR transform — a deliberate obfuscation shape that lets any future published version execute arbitrary author-controlled code at import time with full access to `require` and the installing project's directory.
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 |
|---|---|---|---|---|
npmsmfos-bskdz-util |
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-phch-78ch-wpcchttps://www.npmjs.com/package/smfos-bskdz-util/v/1.0.1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
