docsmate-docsmate-core (npm) · Malicious Code
Affects docsmate-docsmate-coreSource GCVE Database
Malicious package : remove docsmate-docsmate-core and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 21:47 UTC
Malicious package
Published to npm · OSV MAL-2026-13281
What to do
Remove docsmate-docsmate-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 |
|---|---|---|
| npmdocsmate-docsmate-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 docsmate-docsmate-core version 35.9.3 contains malicious code that, upon import, downloads and executes an OS/architecture-specific binary from obfuscated Cloudflare Workers hostnames and fallback DNS-TXT resolver domains. The binary is saved under a disguised name mimicking a Microsoft.NET diagnostic tool and executed detached from the main process. This behavior is unexpected for a platform/core types library and indicates malicious intent to run unauthorized code on the host system.