Skip to main content

Malicious code in streak-metric-core (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:34:06 UTC)
Source: GCVE Database
Product: streak-metric-core

Description

The streak-metric-core npm package version 1.0.0 contains malicious code that executes arbitrary binaries on the host system upon import. The package reconstructs a URL at runtime to download an opaque binary from an anonymous Backblaze B2 bucket, saves it to the user's cache directory, makes it executable, and runs it detached without any integrity verification. This behavior occurs unconditionally during module load, enabling the package author to execute arbitrary code on the installer's machine.

Affected software

npmghsa
streak-metric-core
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 16:50:44 UTC

Technical Analysis

The streak-metric-core package (npm ecosystem) version 1.0.0 includes malicious functionality where its main entry point reconstructs a URL from obfuscated character codes to download a binary from an anonymous Backblaze B2 storage. This binary is saved to ~/.cache/streak-metric/service, its permissions are set to executable, and it is spawned detached with a randomized delay. There is no hash or signature verification of the downloaded binary, and the URL is obfuscated to avoid detection. This results in arbitrary code execution on any host that imports the package, effectively compromising the system at import time.

Potential Impact

Arbitrary code execution on the host system occurs immediately upon importing the package, allowing the attacker to run any code with the privileges of the importing user. This can lead to full system compromise, data theft, persistence, or further malicious activities. The lack of integrity checks and use of an anonymous storage location increases the risk and difficulty of detection.

Mitigation Recommendations

No official patch or remediation is currently available. Users should avoid installing or importing streak-metric-core version 1.0.0. Remove the package if already installed and scan affected systems for the presence of the downloaded binary at ~/.cache/streak-metric/service. Monitor for suspicious processes spawned from this location. Check vendor advisories or trusted security sources for updates or fixes before considering reinstallation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12808
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a73573dbf8831d5391534d6

Added to database: 08/05/2026, 15:31:09 UTC

Last enriched: 08/05/2026, 16:50:44 UTC

Last updated: 09/07/2026, 22:08:49 UTC

Views: 20

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses