npm-wold (npm) · Malicious Code
Affects npm-woldSource GCVE Database
Malicious package : remove npm-wold and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:26 UTC
Malicious package
Published to npm · OSV MAL-2026-14252
What to do
Remove npm-wold 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 |
|---|---|---|
| npmnpm-wold | 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 'npm-wold' versions 1.1.1 and 1.1.2 contain malicious code that executes during installation. A postinstall script fetches JSON data from a remote attacker-controlled server and dynamically invokes a global function with attacker-supplied arguments, enabling arbitrary code execution on the installer's machine. This behavior is unexpected for the package's advertised functionality as an object-flatten utility.