Ongoing NPM Malware Campaign Distributes Over 2M Weekly Downloads via ‘Indexed-Btree’ Package Relying on Obfuscated Runtime Behavior, Not Install Scripts
An ongoing attack on the JavaScript package repository NPM is leveraging the popularity of a legitimate ‘sorted-btree’ library to distribute malware, masquerading as the ‘indexed-btree’ package, which has been downloaded over 2 million times per week, Checkmarx researchers said. The campaign may have generated substantial revenue for the perpetrators, as the attackers are using a wallet which contains 109 ETH, the report said, although it did not indicate that the funds came from crypto heists.
In June 2026, GitHub introduced a series of npm security measures aimed at preventing the supply chain attacks that have been rocking open source ecosystems since late 2025.
A crucial change to the security features of the service involves blocking any dependency lifecycle scripts – ‘preinstall,’ ‘install ’ and similar scripts – unless they are explicitly permitted read more about Malicious npm packages evade install-script defenses at runtime.
Get up to date on the latest cybersecurity news and enhance your knowledge of cybersecurity with our thorough coverage of the dangers, breaches, and solutions.
