{"id":"MAL-2026-12002","revision":"27ab644748144a6e85c8322b5d008b9b","records":[{"revision":"27ab644748144a6e85c8322b5d008b9b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12002","aliases":[],"title":"Malicious code in streak-metricsazb (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bc4ea1b382140e833e01605ec5278b7a9a877aaaddd96ea9057efef2560b66b2)\nOn import of the package's main entry, a top-level async IIFE in index.mjs (labelled 'ENGINE INITIALIZATION & CALIBRATION') copies the shipped file dist/cache.bin to os.tmpdir()/sm-engine-runtime/math-core.bin and spawns it via child_process.spawn. The dropped ELF is a full Linux implant containing a hardcoded C2 at 217.60.77.63, a SECURE_BEACON|...|REDSHELL beacon protocol, a remote-shell dispatcher invoking /bin/sh and /bin/bash on C2-supplied input, SOCKS5 proxy and TCP port-forwarding, staged payload execution via curl plus memfd/mktemp, and systemd --user persistence via svc-update.service. The implant exposes beacon commands /ssh_keys, /creds, /dbfind, /download, /upload, /dataextract, and /clipboard, and exfiltrates collected data through POST /api/extract-receive on the C2. The package advertises calendar and streak math primitives; the calibration/JIT wording in the surrounding comments is a cover story contradicted by the binary's contents.\n","state":0,"publishedAt":"2026-08-05T00:03:32+00:00","modifiedAt":"2026-08-05T00:38:06.58846+00:00","affected":[{"ecosystem":"npm","name":"streak-metricsazb","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/streak-metricsazb/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12002","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12002","identifiers":["MAL-2026-12002"]},"retained":false,"historicalAffected":[]}],"coverage":[]}