wm-mapper (npm) · Malicious Code
Affects wm-mapperSource GCVE Database
Malicious package : remove wm-mapper and rotate any secrets on hosts that installed it.
Data as of 29 Jun 2026, 22:16 UTC
Malicious package
Published to npm · OSV MAL-2026-4826
What to do
Remove wm-mapper 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 |
|---|---|---|
| npmwm-mapper | 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 'wm-mapper' version 99.9.1 is identified as malicious. It is an empty stub package that declares a runtime dependency on a tarball hosted on an anonymous Google Cloud Storage bucket, bypassing the npm registry. This setup is consistent with a dependency confusion attack, allowing attacker-controlled code to be fetched and executed during installation. The package communicates with domains associated with malicious activity. Any system with this package installed should be considered fully compromised.