{"id":"MAL-2026-11999","revision":"c60fb273ec11409f8ce3ee7561f251e9","records":[{"revision":"c60fb273ec11409f8ce3ee7561f251e9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11999","aliases":[],"title":"Malicious code in streak-map-metrics (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (fb9123af3cafc613a53d0dc4ab34b30f955cab139b961dcd1c5f106e952332c3)\nThe package's main module dist/index.mjs, executed on any import or require of the package, concatenates an array of base64-encoded fragments into a Linux x86-64 ELF binary and passes it to helpers in dist/internal/daymath.mjs that create a directory, write the file to disk, chmod it 0755, and spawn it detached with stdio ignored after a randomized delay. The helpers are labeled with calendar/cache-style names and JSDoc ('Ensure directory exists', 'Save data to cache', 'Start a background task') while their bodies dynamically import node:fs and node:child_process to perform the drop-and-run. The decoded ELF64 targets /lib64/ld-linux-x86-64.so.2 and imports TLS_client_method, SSL_CTX_new, SSL_connect, SSL_read, SSL_write, socket, bind, listen, getaddrinfo, gethostbyname, fork, setsid, dup2, execl, execv, and pthread_create — the shape of a TLS-based remote-shell implant that grants a remote peer command execution on the installer's host. The ELF is split into ~260-character base64 slices to defeat single-string signatures, and the README's 'tiny startup self-check, no postinstall' framing masks the import-time drop-and-execute.\n","state":0,"publishedAt":"2026-08-05T00:03:48+00:00","modifiedAt":"2026-08-05T00:38:04.9710588+00:00","affected":[{"ecosystem":"npm","name":"streak-map-metrics","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-map-metrics/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11999","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11999","identifiers":["MAL-2026-11999"]},"retained":false,"historicalAffected":[]}],"coverage":[]}