MAL-2026-12808
Malicious code in streak-metric-core (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (d85f4f43ac36e53cc3254c7e5050d63105543deb781c8884046b7f5443fc3e21) On any `require`/`import` of streak-metric-core, top-level code in the main entry reconstructs a URL from `String.fromCharCode` integer arrays, resolving to https://f004.backblazeb2.com/file/dp8hbvocjd2fpza/service. The package downloads that opaque binary, writes it to `~/.cache/streak-metric/service`, chmods it to 0755, and spawns it detached with a randomized delay via `spawn(p, [], { detached: true }).unref()`. There is no hash or signature verification, the destination is an anonymous Backblaze B2 bucket unrelated to any declared publisher infrastructure, and the URL is reconstructed at runtime specifically to avoid appearing as a plain string. A comment frames the behavior as an 'optional runtime accelerator', but the code executes unconditionally at module load. This grants the package author arbitrary code execution on the installer's host at import time.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for streak-metric-core (npm). Pin to a known-safe version or switch to an alternative.