neighbor-key-map (npm) · Malicious Code
Affects neighbor-key-mapSource GCVE Database
Malicious package : remove neighbor-key-map and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 18:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15889
What to do
Remove neighbor-key-map 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 |
|---|---|---|
| npmneighbor-key-map | 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 'neighbor-key-map' version 2.1.4 contains malicious code or depends on a package with malicious code. Installing or running this package can lead to a full compromise of the affected computer, potentially exposing all stored secrets and keys. Immediate removal of the package and rotation of all secrets from a different, trusted machine is strongly advised.