Skip to main content
MalwarePublished Updated

streak-math-lib (npm) · Malicious Code

Affects streak-math-libSource GCVE Database

0

Malicious package : remove streak-math-lib and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12469

What to do

Remove streak-math-lib from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmstreak-math-libAffected
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The streak-math-lib npm package version 1.0.0 contains malicious code that activates when imported under Windows Subsystem for Linux (WSL) environments with NODE_ENV not set to 'production'. It downloads and extracts a Windows executable from a Backblaze B2 cloud bucket, installs it into the user's AppData directory, and sets up persistence by placing a loader script in the Windows Startup folder to execute the binary on next login. The malicious payload and persistence mechanism are obfuscated using hex-encoded strings and conditional execution checks.

References

Community reviews

Loading reviews…