whs4_deu (npm) · Malicious Code
Affects whs4_deuSource GCVE Database
Malicious package : remove whs4_deu and rotate any secrets on hosts that installed it.
Data as of 11 Aug 2026, 18:56 UTC
Malicious package
Published to npm · OSV MAL-2026-11070
What to do
Remove whs4_deu 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 |
|---|---|---|
| npmwhs4_deu | 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 'whs4_deu' versions 1.0.0 and 1.0.1 contains malicious code that executes during installation. Specifically, a postinstall script runs a JavaScript file that sends the installer's absolute file path, Node.js version, and platform details to a hardcoded Discord webhook. This behavior is undocumented and the webhook URL is obfuscated to evade detection. The package provides no legitimate functionality and is flagged as malicious due to its communication with a domain linked to malicious activity.