distributorblock (npm) · Malicious Code
Affects distributorblockSource GCVE Database
Malicious package : remove distributorblock and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 15:48 UTC
Malicious package
Published to npm · OSV MAL-2026-13503
What to do
Remove distributorblock from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmdistributorblock | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'distributorblock' version 35.8.1 contains malicious code that downloads and executes a native binary from hardcoded Cloudflare Workers hosts. It uses a decoy telemetry module and employs a covert DNS TXT record fallback channel to retrieve payloads, bypassing HTTP egress controls. The binary is saved to temporary directories and executed detached to evade detection. The package's declared purpose is inconsistent with this behavior, and author metadata is missing, indicating a trojan dropper designed to evade sandboxing and network defenses.