Malware campaign
indexed-btree npm package hides its loader in runtime code to avoid install-script blocking
What was reported
Checkmarx reported on 17 September 2026 that indexed-btree, an npm package imitating sorted-btree with almost 2 million weekly downloads, hid its loader inside the BTree.prototype.set method instead of an install script. When triggered it spawned a hidden process, sent host details to a Slack channel and a Telegram chat, and read its command-and-control data from a smart contract on the Sepolia testnet. The malware could delete its own files and the trigger code. Checkmarx listed nine related packages that were subsequently removed.
What is not known
- Checkmarx's code shows the loader runs only for a specific key value, narrower than 'whenever the library is used'.
- Removal dates are not given by Checkmarx; a September 3 removal date comes from news coverage.
- Download counts are npm registry figures and may include automated installs.
- No ATT&CK technique is asserted until a separate sourced mapping review.
Sources (1)
Checkmarx Zero · Security research
Published 17 Sep 2026 · Reviewed 26 Nov 2026
Rights: Citation and short paraphrase only; check publisher terms before reuse.
Open source from Checkmarx Zero (external site) ↗
Classification
- MITRE ATT&CK
- Not evaluated
- Ecosystems
- npm
- Industry
- Not stated
- Secret type
- Not stated
- Where it was exposed
- Not stated
- Packages
- None linked
Secret type and location are only what the sources state; “Not stated” means the sources don’t say. Location is where the first exposed secret sat. Techniques are listed only after a sourced mapping review. “Not evaluated” means nobody has reviewed it yet, not that the technique was absent.
Related market categories
- Software supply chain
A lookalike npm package carried a hidden loader into projects that installed it.
Does not imply: That any software supply chain security product detected or would have prevented this incident.
Reviewed 28 Nov 2026