dwsai-dwsai-core (npm) · Malicious Code
Affects dwsai-dwsai-coreSource GCVE Database
Malicious package : remove dwsai-dwsai-core and rotate any secrets on hosts that installed it.
Data as of 5 Aug 2026, 19:13 UTC
Malicious package
Published to npm · OSV MAL-2026-13204
What to do
Remove dwsai-dwsai-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 |
|---|---|---|
| npmdwsai-dwsai-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 dwsai-dwsai-core version 35.8.4 contains malicious code that downloads and executes a platform-specific binary from author-controlled Cloudflare Workers mirrors. The binary masquerades as a Microsoft dotnet diagnostic tool and is executed in a detached manner without verification. The package uses obfuscated runtime assembly of mirror hostnames and a DNS-TXT record covert channel to bypass HTTPS egress filtering. Execution is conditionally gated behind environment variables framed as telemetry opt-out, but the behavior is inconsistent with legitimate telemetry.