A malicious npm package posing as a legitimate JavaScript library was downloaded millions of times before being flagged, putting developers and any systems that used it at risk. SecurityWeek reports that indexed-btree imitated sorted-btree and hid a trigger in BTree.prototype.set instead of using an install script, helping it evade newer npm protections. Checkmarx linked it to additional packages including sliding-score-window and said the malware sent host data to Slack and Telegram and fetched a second stage from a Sepolia blockchain smart contract used as command-and-control.
Why it matters: Developers and organizations that pulled these packages may have quietly run malware during normal application use, not just at install time. Teams should urgently inventory npm dependencies, remove the named packages, rotate exposed credentials and tokens, and check for suspicious outbound traffic to Slack, Telegram, and the identified blockchain-based infrastructure.
Ionut Arghire
2026.09.22
100% relevant
This article establishes a distinct npm supply-chain campaign centered on indexed-btree and related B-tree-themed packages, with specific malware behavior and infrastructure not matching an existing tracked story.
← Back to all stories