# Malicious npm packages evade install-script defenses at runtime

DevFeed: [Malicious npm packages evade install-script defenses at runtime](<https://devfeed.tech/articles/malicious-npm-packages-evade-install-script-defenses-at-runtime-55528.md>)

Original publisher: [Read original article](<https://www.bleepingcomputer.com/news/security/malicious-npm-packages-evade-install-script-defenses-at-runtime/>)

Author: Bill Toulas

Published: 2026-09-20T14:11:21Z

Content type: news

Language: en

Sources: [BleepingComputer](<https://devfeed.tech/sources/bleepingcomputer.md>)

Topics: [npm security](<https://devfeed.tech/topics/npm-security.md>), [Malware](<https://devfeed.tech/topics/malware.md>), [software supply-chain attack](<https://devfeed.tech/topics/software-supply-chain-attack.md>), [npm packages](<https://devfeed.tech/topics/npm-packages.md>), [Code](<https://devfeed.tech/topics/code.md>), [Ethereum](<https://devfeed.tech/topics/ethereum.md>), [smart contract](<https://devfeed.tech/topics/smart-contract.md>)

Tags: [aes](<https://devfeed.tech/tags/aes.md>), [c2](<https://devfeed.tech/tags/c2.md>), [command-and-control](<https://devfeed.tech/tags/command-and-control.md>), [computer-help](<https://devfeed.tech/tags/computer-help.md>), [computer-security](<https://devfeed.tech/tags/computer-security.md>), [computers](<https://devfeed.tech/tags/computers.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [ethereum](<https://devfeed.tech/tags/ethereum.md>), [github](<https://devfeed.tech/tags/github.md>), [infosec](<https://devfeed.tech/tags/infosec.md>), [infosec-computer-security](<https://devfeed.tech/tags/infosec-computer-security.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-removal](<https://devfeed.tech/tags/malware-removal.md>), [npm](<https://devfeed.tech/tags/npm.md>), [npm-malware](<https://devfeed.tech/tags/npm-malware.md>), [npm-packages](<https://devfeed.tech/tags/npm-packages.md>), [packages](<https://devfeed.tech/tags/packages.md>), [security](<https://devfeed.tech/tags/security.md>), [security-bypass](<https://devfeed.tech/tags/security-bypass.md>), [spyware](<https://devfeed.tech/tags/spyware.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [support](<https://devfeed.tech/tags/support.md>), [tech-support](<https://devfeed.tech/tags/tech-support.md>), [technical-support](<https://devfeed.tech/tags/technical-support.md>), [virus](<https://devfeed.tech/tags/virus.md>), [virus-removal](<https://devfeed.tech/tags/virus-removal.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A malicious npm package called indexed-btree evades installation-script defenses by hiding its malware loader in a runtime method. The package impersonates sorted-btree, collects system information, exfiltrates it through Slack and Telegram channels, and retrieves encrypted payloads and command-and-control data from an Ethereum smart contract.

## Source excerpt

An ongoing npm malware campaign involving the 'indexed-btree' package shows how threat actors bypass supply chain defenses by hiding malicious code in a package's normal runtime behavior rather than in installation scripts. [...]