Skip to main content
MalwarePublished

btree-lru-cache (npm) · Malicious Code

Affects btree-lru-cacheSource GCVE Database

0

Malicious package : remove btree-lru-cache and rotate any secrets on hosts that installed it.

Data as of 7 Sep 2026, 17:54 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15875

What to do

Remove btree-lru-cache 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
npmbtree-lru-cacheAffected
  • =2.1.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 npm package 'btree-lru-cache' version 2.1.0 contains malicious code or depends on a package with malicious code. Any system with this package installed should be considered fully compromised. Secrets and keys stored on such systems must be rotated immediately from a different, trusted machine. Removing the package alone may not fully eliminate the malicious presence, as the attacker may have established persistent control.

References

Community reviews

Loading reviews…