Malicious code in foldmap (npm)
Description
The npm package 'foldmap' version 2.0.3 contains malicious code or depends on a package with malicious code. Installing or running this package can lead to a fully compromised system, with potential unauthorized access to all secrets and keys stored on the affected computer. Removal of the package does not guarantee complete eradication of the malicious software introduced. Immediate rotation of all secrets and keys from a separate, secure system 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 'foldmap' npm package version 2.0.3 has been identified as containing malicious code or relying on a malicious dependency. According to sources including Amazon Inspector and GitHub Security Advisories, any system with this package installed should be considered fully compromised. The malicious code may grant an attacker full control over the affected system, compromising all stored secrets and keys. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious components.
Potential Impact
Systems with 'foldmap' version 2.0.3 installed are at risk of full compromise. Attackers may gain complete control over the system and access to all stored secrets and keys. This can lead to unauthorized data access, credential theft, and further malicious activity. The compromise is severe enough that removal of the package alone is insufficient to ensure system integrity.
Defensive Guidance
Remove the 'foldmap' package version 2.0.3 immediately from all affected systems. Rotate all secrets, keys, and credentials from a different, secure computer to prevent further unauthorized access. Due to the potential for persistent malicious software beyond the package itself, consider a full system audit and remediation. No official patch or fix is available; mitigation relies on removal and credential rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14507
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q4hh-v9hg-92w7"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e8acd9273b49b67698
Added to database: 09/04/2026, 14:25:44 UTC
Last enriched: 09/07/2026, 18:08:46 UTC
Last updated: 10/04/2026, 02:54:04 UTC
Views: 23
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.