btree-core (npm) · Malicious Code
Affects btree-coreSource GCVE Database
Malicious package : remove btree-core and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 17:54 UTC
Malicious package
Published to npm · OSV MAL-2026-15873
What to do
Remove btree-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 |
|---|---|---|
| npmbtree-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 npm package 'btree-core' versions 3.2.1, 3.2.2, 3.2.3, and 3.2.4 contain malicious code or depend on a package with malicious code. Installation or execution of this package can lead to full compromise of the affected system. Immediate removal of the package and rotation of all secrets and keys stored on the compromised system are strongly advised. However, removal alone may not fully eradicate the malicious presence due to potential persistent control by attackers.