Skip to main content
MalwarePublished Updated

whs4_eud (npm) · Malicious Code

Affects whs4_eudSource GCVE Database

0

Malicious package : remove whs4_eud and rotate any secrets on hosts that installed it.

Data as of 11 Aug 2026, 18:55 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-11071

What to do

Remove whs4_eud 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

ProductAffectedFixed in
npmwhs4_eudAffected
  • =1.0.1
  • =1.0.0
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_eud' versions 1.0.0 and 1.0.1 contain malicious code that executes a postinstall script unconditionally upon installation. This script collects host information including the absolute install path (which reveals the user's home directory), Node.js version, and platform/architecture, then exfiltrates this data to a hardcoded Discord webhook URL. The webhook URL is lightly obfuscated by concatenating string literals at runtime. The package appears to function as a dependency-confusion or typosquatting beacon, notifying the author when an install occurs and disclosing the installation environment.

References

Community reviews

Loading reviews…