Malicious code in neighbor-key-map (npm)
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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'neighbor-key-map' npm package version 2.1.4 has been identified as containing malicious code or relying on a dependency that contains malicious code. According to sources including Amazon Inspector and the GitHub Security Advisory for malware, any system with this package installed should be considered fully compromised. The malicious code may grant an attacker full control over the system, compromising all secrets and keys stored on it. Removal of the package alone may not fully eradicate the malicious presence due to potential persistence mechanisms.
Potential Impact
Systems with 'neighbor-key-map' version 2.1.4 installed are at risk of full compromise. Attackers may gain complete control over the affected computer, leading to exposure and potential theft of all stored secrets and keys. This level of compromise can have severe consequences for confidentiality and integrity of data on the system.
Defensive Guidance
Remove the 'neighbor-key-map' package version 2.1.4 immediately from all affected systems. Rotate all secrets and keys that were stored on the compromised machines from a separate, trusted computer. Due to the possibility of persistent malicious software, consider a full system reinstallation or forensic analysis to ensure complete eradication of the threat.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15889
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-c7w5-hg7j-94q4"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e8acd9273b49b6768c
Added to database: 09/04/2026, 14:25:44 UTC
Last enriched: 09/07/2026, 18:09:26 UTC
Last updated: 10/04/2026, 07:07:21 UTC
Views: 26
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.