wiwusen (npm) · Malicious Code
Affects wiwusenSource GCVE Database
Malicious package : remove wiwusen and rotate any secrets on hosts that installed it.
Data as of 24 Nov 2026, 08:26 UTC
Malicious package
Published to npm · OSV MAL-2026-20423
What to do
Remove wiwusen 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 |
|---|---|---|
| npmwiwusen | 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 wiwusen version 2.0.0 contains malicious code that executes arbitrary commands during installation. It runs a prepare lifecycle script that captures the installer's user and group IDs and writes them to hidden files in the installer's home directory. Additionally, it declares a missing bundled dependency, causing npm to fetch and execute additional code from the registry, expanding the attack surface.