Skip to main content

Malicious code in btree-time-index (npm)

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

Description

The npm package 'btree-time-index' version 1.2.1 contains malicious code or depends on a package with malicious code. Installation or use 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 different machine. Removal of the package does not guarantee complete eradication of the malicious software introduced.

Affected software

npmghsa
btree-time-index
Affected versions
=1.2.1

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:55:03 UTC

Technical Analysis

The 'btree-time-index' npm package version 1.2.1 has been identified as containing malicious code or relying on a dependency that contains malicious code. According to sources including Amazon Inspector and the GitHub Security Advisory for malware, any system with this package installed or running should be considered fully compromised. The malicious code can lead to unauthorized control over the system, necessitating immediate secret and key rotation from a secure environment. Complete removal of the package may not fully remediate the compromise due to potential persistence of malicious artifacts.

Potential Impact

Systems with 'btree-time-index' version 1.2.1 installed or running are at risk of full compromise. This includes potential unauthorized access and control by an attacker. All secrets and keys stored on the compromised system are considered exposed and must be rotated. The presence of this package indicates a severe security breach with potential long-term persistence of malicious software.

Mitigation Recommendations

Remove the 'btree-time-index' package version 1.2.1 immediately. Rotate all secrets and keys from a different, uncompromised system. Because full control of the system may have been granted to an attacker, consider rebuilding or thoroughly cleaning the affected system to ensure complete removal of malicious software. Monitor for any suspicious activity and avoid reinstalling the compromised package.

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-15877
Osv Schema Version
1.7.4
Aliases
["GHSA-7r97-jh52-2rx8"]
Ecosystems
["npm"]

Threat ID: 6a9ad4e9acd9273b49b676ce

Added to database: 09/04/2026, 14:25:45 UTC

Last enriched: 09/07/2026, 17:55:03 UTC

Last updated: 10/04/2026, 05:00:42 UTC

Views: 36

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