OpenSSF/OSV advisory MAL-2026-12470 confirms this npm version as malicious. streak-metricsa@1.0.0 presents itself as a calendar-day math helper but its main entry (dist/index.mjs, the default `exports` target) embeds a Linux x86-64 ELF binary as a base64-chunk array assigned to a variable named `_`. At module top level — reached on any `import`/`require` of the package — the chunks are joined via Buffer.concat and Buffer.from(b,'base64'), written to disk, chmod'd 0o755, and executed via...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in streak-metricsa (npm)
Details
streak-metricsa@1.0.0 presents itself as a calendar-day math helper but its main entry (dist/index.mjs, the default `exports` target) embeds a Linux x86-64 ELF binary as a base64-chunk array assigned to a variable named `_`. At module top level — reached on any `import`/`require` of the package — the chunks are joined via Buffer.concat and Buffer.from(b,'base64'), written to disk, chmod'd 0o755, and executed via node:child_process. The dropped ELF's dynamic symbols include SSL_connect / SSL_read / SSL_write / TLS_client_method, socket / getaddrinfo, dlopen / dlsym, popen, execl / execv, fork, pthread_create, kill, and mkdtemp — the shape of a TLS-based remote-command implant. The README describes the top-level behavior as a `tiny startup self-check`, which does not match a native binary drop-and-execute. Any consumer that imports streak-metricsa gains an executing native implant on the host with outbound TLS and shell-exec capability.
Decision reason
OpenSSF Malicious Packages via OSV confirms streak-metricsa@1.0.0 as malicious (MAL-2026-12470): Malicious code in streak-metricsa (npm)