Malicious code in btree-leaderboard (npm)
Description
The npm package 'btree-leaderboard' version 2.3.1 contains malicious code or depends on a malicious package. Installation or execution of this package can lead to full compromise of the affected system. Secrets and keys stored on the compromised system should be rotated immediately from a secure environment. Removal of the package alone may not fully eliminate 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-leaderboard' npm package version 2.3.1 has been identified as containing malicious code or consuming a dependency with malicious code. According to the source data from Amazon Inspector and GitHub Security Advisories, any system with this package installed or running should be considered fully compromised. The advisory emphasizes the need for immediate rotation of all secrets and keys from a different, uncompromised system. Due to the potential for persistent malicious control, simply removing the package does not guarantee complete remediation.
Potential Impact
Systems with 'btree-leaderboard' version 2.3.1 installed or running are considered fully compromised. Attackers may have gained full control, risking exposure of all stored secrets and keys. This can lead to unauthorized access, data theft, and further malicious activities on the compromised system.
Mitigation Recommendations
Remove the 'btree-leaderboard' package version 2.3.1 immediately. Rotate all secrets and keys from a secure, uncompromised system. Because full control may have been given to attackers, additional system integrity checks and remediation steps should be performed beyond package removal. No official patch or fix is indicated; therefore, avoidance of this package version is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15874
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-jj56-73wg-7pff"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e9acd9273b49b676d4
Added to database: 09/04/2026, 14:25:45 UTC
Last enriched: 09/07/2026, 17:54:43 UTC
Last updated: 10/01/2026, 23:03:11 UTC
Views: 24
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.
External Links
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.