# Malicious B-tree NPM Package Accumulates Millions of Downloads

DevFeed: [Malicious B-tree NPM Package Accumulates Millions of Downloads](<https://devfeed.tech/articles/malicious-b-tree-npm-package-accumulates-millions-of-downloads-57903.md>)

Original publisher: [Read original article](<https://www.securityweek.com/malicious-b-tree-npm-package-accumulates-millions-of-downloads/>)

Author: Ionut Arghire

Published: 2026-09-22T11:33:59Z

Content type: news

Language: en

Sources: [SecurityWeek](<https://devfeed.tech/sources/securityweek.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Security](<https://devfeed.tech/topics/security.md>), [C2](<https://devfeed.tech/topics/c2.md>), [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [smart contract](<https://devfeed.tech/topics/smart-contract.md>)

Tags: [application-security](<https://devfeed.tech/tags/application-security.md>), [b-tree](<https://devfeed.tech/tags/b-tree.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [command-and-control](<https://devfeed.tech/tags/command-and-control.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [malware](<https://devfeed.tech/tags/malware.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-package](<https://devfeed.tech/tags/npm-package.md>), [security](<https://devfeed.tech/tags/security.md>), [smart-contract](<https://devfeed.tech/tags/smart-contract.md>), [supply-chain-attack](<https://devfeed.tech/tags/supply-chain-attack.md>), [supply-chain-security](<https://devfeed.tech/tags/supply-chain-security.md>)

## AI overview

SecurityWeek reports an ongoing npm supply-chain campaign in which the malicious indexed-btree package impersonated sorted-btree and reached 2 million weekly downloads. Hidden JavaScript code collected system information and used a blockchain contract for command and control.

## Source excerpt

Posing as the legitimate sorted-btree package, indexed-btree hides a malware trigger in its prototype method. The post Malicious B-tree NPM Package Accumulates Millions of Downloads appeared first on SecurityWeek.