npm · Malicious package advisory
Malwarewm-mapper
MAL-2026-4826
Malicious code in wm-mapper (npm)
Details
---
_-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (380f281f71ec04bc9867a9b12d46852936494de6d2be3df55b1422bde2f5f01d)
wm-mapper@99.9.1 is an empty stub (index.js is 35 bytes exporting `{}`, no description, no author) published at an artificially high version (99.9.1) consistent with dependency-confusion attacks against an internal package of the same name. Its package.json declares its sole runtime dependency as a direct HTTPS tarball URL — `"ltidisafe": "https://ltidi.storage.googleapis.com/depenconf/ltidisafe-2.7.5.tgz"` — bypassing the npm registry entirely. The path segment literally contains `depenconf` (dependency confusion). On `npm install`, npm fetches that tarball from an anonymous Google Cloud Storage bucket and executes any lifecycle scripts (preinstall/install/postinstall) it declares. The bucket contents are not vetted by the registry, are mutable server-side after publication, and the bucket owner has no apparent affiliation with the host package. The host package's only effect on installers is to drag arbitrary, swappable, attacker-controlled code into the install tree.
## Source: ghsa-malware (4a1ce4539c6b1e3e01e5a61cd644461cddba629d642567134cd9d8fcfdb1f1e8)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
## Source: ossf-package-analysis (d3ca8c31fe1e2448adc737f90ef9278202575bc77d3a4a5206e62920219e54a0)
The OpenSSF Package Analysis project identified 'wm-mapper' @ 99.9.1 (npm) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
Compromised versions (1)
- 99.9.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.