Skip to main content

Malicious code in btree-core (npm)

0
Critical
Published: 09/03/2026 (09/03/2026, 10:14:06 UTC)
Source: GCVE Database
Product: btree-core

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

npmghsa
btree-core
Affected versions
=3.2.2=3.2.1=3.2.3=3.2.4

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

AILast updated: 09/07/2026, 17:54:36 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses