Malicious code in streak-metric-core (npm)
--- _-= 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.
Malicious code in streak-metric-core (npm)
Description
--- _-= 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12808
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573dbf8831d5391534d6
Added to database: 08/05/2026, 15:31:09 UTC
Last updated: 08/05/2026, 15:31:09 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.