consumerweb (npm) · Malicious Code
Affects consumerwebSource GCVE Database
Malicious package : remove consumerweb and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 19:01 UTC
Malicious package
Published to npm · OSV MAL-2026-10181
What to do
Remove consumerweb 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 |
|---|---|---|
| npmconsumerweb | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
A malicious npm package named 'consumerweb' version 2200.4.2 contains preinstall and postinstall scripts that execute code to collect host environment information and exfiltrate it to an attacker-controlled domain. The package appears to be part of a dependency confusion attack targeting internal package names, leaking sensitive environment details without user consent.