Malicious code in btree-core (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'btree-core' npm package versions 3.2.1 through 3.2.4 have been identified as containing malicious code or relying on a malicious dependency. Systems with this package installed or running should be considered fully compromised, as the malicious code may grant attackers full control. The advisory emphasizes that all secrets and keys on the affected system must be rotated from a separate, uncompromised machine. Complete remediation may require more than just removing the package due to potential persistence mechanisms.
Potential Impact
Systems with the affected versions of 'btree-core' installed or running are considered fully compromised. Attackers may have gained full control over the system, risking exposure or theft of sensitive information including secrets and keys. The compromise could lead to unauthorized access, data loss, or further malicious activity within the environment.
Defensive Guidance
Remove the affected 'btree-core' package versions immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Due to the potential for persistent compromise, additional forensic analysis and remediation steps may be necessary to fully restore system integrity.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15873
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-wj64-2cmx-c3j4"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e9acd9273b49b676d6
Added to database: 09/04/2026, 14:25:45 UTC
Last enriched: 09/07/2026, 17:54:36 UTC
Last updated: 10/01/2026, 23:03:12 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.