Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
indexed-btree
npm package impersonating sorted-btree, hiding malware in BTree.prototype.set() runtime behavior
indexed-btree is a trojan distributed via npm that impersonates the legitimate sorted-btree package 1. The malware conceals its payload within the BTree.prototype.set() method, executing malicious code at runtime when the method is invoked.
Capabilities
The malware performs system reconnaissance, host fingerprinting, and data exfiltration 21. It is capable of executing arbitrary commands and can self-delete from the infected system 1.
Command & Control
indexed-btree communicates with an Ethereum smart contract deployed on the Sepolia test network 2. The contract integrates Slack and Telegram channels for command delivery and exfiltration coordination 1.
Detection
First observed in 2026 2, this package represents a supply chain attack targeting developers who may confuse it with the legitimate sorted-btree library. Installation occurs through standard npm package management, making it difficult to distinguish from legitimate dependencies without careful package name verification.
Facts 2
| Attribute | Value | Confidence | Sources | Cited |
|---|---|---|---|---|
| Type | trojan | high | 3 | 2 |
| First seen | 2026 | medium | 2 | 2 |
Platform 2
Capabilities 4
- system reconnaissance, data exfiltration, command execution
- Executes malicious code upon library import; uses blockchain for C2 and crypto key exchange
- fingerprinting, C2 beaconing, encrypted payload delivery, artifact cleanup
- host fingerprinting, data exfiltration, command execution, self-deletion
C2 2
- Ethereum smart contract on Sepolia test network
- Sepolia Ethereum smart contract with Slack/Telegram channels
Neighbourhood
Mitigated by 1
Targets 1
Used by 1
Uses 2
Frequently mentioned together 6
Sources 5
- New npm malware finds a way around install script defenses · CSO Online
- Malicious npm packages evade install-script defenses at runtime · BleepingComputer
- Attackers Use Malicious Terraform Providers to Deliver Go Malware via HashiCorp Registry · The Hacker News
- Malicious npm Package indexed-btree Hid Its Loader in Runtime Code Before Removal · The Hacker News
- podcast SANS Stormcast Tuesday, September 22nd, 2026: PNG Stego Analysis; NPM BTree Malware; Pi-Hole Advisory · SANS ISC: Daily Podcast