scandoc-scandoc-core (npm) · Malicious Code
Affects scandoc-scandoc-coreSource GCVE Database
Malicious package : remove scandoc-scandoc-core and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 19:27 UTC
Malicious package
Published to npm · OSV MAL-2026-12191
What to do
Remove scandoc-scandoc-core 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 |
|---|---|---|
| npmscandoc-scandoc-core | 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 scandoc-scandoc-core version 20.8.5 contains malicious code that downloads and executes platform-specific binaries from dynamically constructed Cloudflare Workers hostnames. It uses covert DNS-TXT record channels to fetch payloads, writes them to temporary locations disguised as legitimate .NET diagnostic files, and executes them detached from the main process. The package includes a secondary dropper module masquerading as an analytics SDK with similar malicious behavior. Any system with this package installed or running should be considered fully compromised, and all secrets and keys on the system must be rotated immediately from a different machine.