{"id":"MAL-2026-12470","revision":"6e08df430fdb482dab69759b29376152","records":[{"revision":"6e08df430fdb482dab69759b29376152","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12470","aliases":[],"title":"Malicious code in streak-metricsa (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a707525e88d0f5d3004f833b17a7544655da43715d9d7af3e6d635ff3a6801a9)\nstreak-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.\n","state":0,"publishedAt":"2026-08-05T12:30:45+00:00","modifiedAt":"2026-08-05T13:36:11.9489819+00:00","affected":[{"ecosystem":"npm","name":"streak-metricsa","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-metricsa/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12470","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12470","identifiers":["MAL-2026-12470"]},"retained":false,"historicalAffected":[]}],"coverage":[]}