Back to Feed
Supply ChainSep 20, 2026

Malicious npm packages evade install-script defenses at runtime

Malicious npm package 'indexed-btree' evades defenses by hiding malware in runtime behavior.

A new npm malware campaign uses the 'indexed-btree' package to bypass security measures by embedding malicious code within the package's runtime functions, rather than installation scripts. This technique allows it to evade detection by npm's latest security features. The malware collects system information, exfiltrates it via Slack and Telegram, and uses an Ethereum smart contract for C2 communication, with the attackers potentially amassing significant profits.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run indexed-btree?

Get an email when a new story names indexed-btree, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

Attackers published a malicious npm package ('indexed-btree') that embeds harmful code inside runtime functions rather than installation scripts, deliberately circumventing npm's newer install-time security controls. This technique is significant because most security tooling and developer workflows focus on flagging suspicious install scripts, leaving runtime-embedded malware largely invisible during the intake process. The malware exfiltrates system data through Slack and Telegram APIs and uses an Ethereum smart contract for command-and-control, demonstrating increasingly sophisticated evasion and resilience. This attack highlights how supply chain threats continue to evolve faster than platform-level defenses, putting any organization or developer consuming open-source packages at risk.

What helps against this

How we list vendors

Indicators of Compromise

Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works

  • malware: neighbor-key-map
  • malware: btree-leaderboard
  • malware: indexed-btree
  • malware: priority-slot-queue
  • malware: sliding-score-window
  • malware: ordered-kv-index
  • malware: btree-lru-cache
  • malware: btree-time-index
  • malware: btree-range-store
  • malware: btree-core

Entities

indexed-btree (product)sorted-btree (product)npm (technology)BTree.prototype.set (technology)X25519 (technology)AES (technology)