Skip to main content
MalwarePublished

path-match-js (npm) · Malicious Code

Affects path-match-jsSource GCVE Database

0

Malicious package : remove path-match-js and rotate any secrets on hosts that installed it.

Data as of 14 Aug 2026, 16:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14005

What to do

Remove path-match-js 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

ProductAffectedFixed in
npmpath-match-jsAffected
  • =1.0.7
  • =1.0.8
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 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.

References

Community reviews

Loading reviews…