Skip to main content
MalwarePublished

streak-key-lib (npm) · Malicious Code

Affects streak-key-libSource GCVE Database

0

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

Data as of 19 Aug 2026, 14:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14223

What to do

Remove streak-key-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-key-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-key-lib npm package version 1.0.0 contains malicious code disguised as a dependency-free, browser-safe day-math helper. Despite claiming no network or filesystem interaction, it includes a large obfuscated block that executes on import, using an RC4/XOR decoder and self-defense techniques to evade analysis. The package is designed as a supply-chain stager, executing hidden code at import time and misleading consumers by promoting companion packages instead of direct installation. This behavior poses a risk of unauthorized code execution in Node.js environments that import this package.

References

Community reviews

Loading reviews…