Skip to main content

Malicious code in path-match-js (npm)

0
Critical
Published: 08/13/2026 (08/13/2026, 21:21:47 UTC)
Source: GCVE Database
Product: path-match-js

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

npmghsa
path-match-js
Affected versions
=1.0.7=1.0.8

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

AILast updated: 08/14/2026, 16:46:40 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses