Malicious code in path-match-js (npm)
The npm package path-match-js versions 1.0.7 and 1.0.8 were found to contain malicious code or depend on a malicious package. Any system with these versions installed should be considered fully compromised, requiring immediate secret and key rotation from a separate device. Removing the package alone may not fully eliminate the threat due to potential persistent malicious control.
AI Analysis
Technical Summary
The path-match-js package versions 1.0.7 and 1.0.8 include malicious code or consume dependencies with malicious code, leading to full compromise of affected systems. The advisory states that any computer running these versions is at risk of complete takeover by an external entity. Consequently, all secrets and keys stored on the compromised machine must be rotated immediately from a different, secure computer. The package removal is recommended but may not suffice to remove all malicious artifacts or backdoors introduced by the package.
Potential Impact
Systems with path-match-js versions 1.0.7 or 1.0.8 installed are considered fully compromised. Attackers may have gained full control, risking exposure and theft of secrets, keys, and sensitive data. The compromise may persist beyond removal of the package, indicating potential for ongoing unauthorized access or malicious activity.
Mitigation Recommendations
Remove the affected versions (1.0.7 and 1.0.8) of path-match-js immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure machine. Due to the likelihood of persistent compromise, consider rebuilding or thoroughly cleaning affected systems to ensure removal of all malicious components.
Malicious code in path-match-js (npm)
Description
The npm package path-match-js versions 1.0.7 and 1.0.8 were found to contain malicious code or depend on a malicious package. Any system with these versions installed should be considered fully compromised, requiring immediate secret and key rotation from a separate device. Removing the package alone may not fully eliminate the threat due to potential persistent malicious control.
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 path-match-js package versions 1.0.7 and 1.0.8 include malicious code or consume dependencies with malicious code, leading to full compromise of affected systems. The advisory states that any computer running these versions is at risk of complete takeover by an external entity. Consequently, all secrets and keys stored on the compromised machine must be rotated immediately from a different, secure computer. The package removal is recommended but may not suffice to remove all malicious artifacts or backdoors introduced by the package.
Potential Impact
Systems with path-match-js versions 1.0.7 or 1.0.8 installed are considered fully compromised. Attackers may have gained full control, risking exposure and theft of secrets, keys, and sensitive data. The compromise may persist beyond removal of the package, indicating potential for ongoing unauthorized access or malicious activity.
Mitigation Recommendations
Remove the affected versions (1.0.7 and 1.0.8) of path-match-js immediately. Rotate all secrets and keys stored on the compromised system from a separate, secure machine. Due to the likelihood of persistent compromise, consider rebuilding or thoroughly cleaning affected systems to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-14005
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-cgj7-7fj2-6r74"]
- Ecosystems
- ["npm"]
Threat ID: 6a7f43f1bf8831d5395d7639
Added to database: 08/14/2026, 16:36:01 UTC
Last enriched: 08/14/2026, 16:46:40 UTC
Last updated: 09/25/2026, 03:09:47 UTC
Views: 21
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.