MAL-2026-12470 Malicious code in streak-metricsa (npm)
Malicious package
Published
MAL-2026-12470 is a malicious package: streak-metricsa (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-12470/ (Markdown: https://insights.sbomify.com/MAL-2026-12470/index.md)
- Package
- streak-metricsa
- Registry
- npm
What is MAL-2026-12470?
MAL-2026-12470 is a malicious package in streak-metricsa, published on 5 Aug 2026.
Official description
[email protected] 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.What should I do about MAL-2026-12470?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.