whs4_ued (npm) · Malicious Code
Affects whs4_uedSource GCVE Database
Malicious package : remove whs4_ued 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-13743
What to do
Remove whs4_ued 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_ued | 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_ued version 1.0.0 contains malicious code that executes during installation. Its postinstall script runs a Node.js script that sends sensitive host information, including the absolute path of the package file (revealing OS username and home directory structure), Node.js version, platform, and architecture, to an attacker-controlled Discord webhook without user consent.