streak-count-core (npm) · Malicious Code
Affects streak-count-coreSource GCVE Database
Malicious package : remove streak-count-core and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:15 UTC
Malicious package
Published to npm · OSV MAL-2026-12460
What to do
Remove streak-count-core 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
| Product | Affected | Fixed in |
|---|---|---|
| npmstreak-count-core | Affected
| 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-count-core npm package version 1.0.0 contains malicious code that executes a hex-obfuscated routine when imported outside of production environments. It detects if running in a Windows Subsystem for Linux (WSL) environment and then downloads and extracts a Windows executable to the user's profile directory. The package also sets up persistence by placing a script in the Windows Startup folder to auto-launch the malicious executable on every login. This behavior is unrelated to the package's declared purpose as a streak counter library.