MAL-2026-20305
Malicious code in vreqtx-b5w3n-testmetest (npm)
Texto original en inglés · Ver en español
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | MAL-2026-20305 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
On require(), index.js loads a platform-specific native N-API addon (native.napi.node / native_win.node). The addon reads a 1.19 MB sibling file `.napi_cache` at the package root — a file with no printable strings consistent with encrypted/packed executable content — writes derived bytes to a hidden temp path, and spawns them as a detached process: on Linux via fork/setsid/execlp staging to `/tmp/.<uid>` with chmod and an `__IS_DAEMON` marker, and on Windows via CreateProcessA invoking `node "%TEMP%\...nc<pid>.js"` using GetTempPathA. The dropper is gated by extensive anti-analysis evasion: enumeration of CI env vars (GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NETLIFY, VERCEL, CF_BUILD_ID, SCREWDRIVER, SANDBOX), container markers (`/proc/1/cgroup` for docker/containerd/kubepod/podman, `/proc/1/cmdline` dockerinit), ptrace detection (`/proc/self/status` TracerPid, `/proc/self/maps`), and Windows debugger/analysis tool checks (IsDebuggerPresent, CheckRemoteDebuggerPresent, Process32First, wireshark, x64dbg, procmon). Package metadata is disposable (name `vreqtx-b5w3n-testmetest`, description `"test"`, no repository/author/homepage), consistent with a staging artifact. The `.napi_cache` naming disguises the primary executable payload as a build cache; the entire JS-visible surface is a thin loader for the opaque blob.
Versiones afectadas
1.0.1Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmvreqtx-b5w3n-testmetest |
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/vreqtx-b5w3n-testmetest/v/1.0.1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
