Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in path-match-js

Malware was discovered in the npm package path-match-js. Systems with this package installed are considered fully compromised and require immediate remediation including secret rotation and package removal.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with path-match-js installed or running
Ecosystems
Attack vectors
Affected entities
  • path-match-js

The npm package path-match-js was found to contain malware. According to the GitHub Advisory (GHSA-cgj7-7fj2-6r74), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory indicates that all secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software that resulted from the installation.\n\nThis represents a critical supply chain compromise affecting the npm ecosystem.

Indicators of compromise

Packages
  • path-match-js

Remediation

  • Immediately rotate all secrets and keys stored on affected computers from a different, uncompromised system
  • Remove the path-match-js package from all affected systems
  • Conduct a full security audit of any system that had path-match-js installed
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system reimaging if compromise is suspected
  • Audit any code or data that may have been processed by path-match-js

Sources

  1. GitHub Advisory GHSA-cgj7-7fj2-6r74 · GitHub Advisory Database

Cite this entry

"Malware in path-match-js." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 13, 2026; last updated August 13, 2026. https://supplychainattack.org/incident/malware-in-path-match-js-12bx5f

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. activecritical

    Malware in eslint-generate-prerelease

    Malware was discovered in the npm package eslint-generate-prerelease. Systems with this package installed or running should be considered fully compromised.

    npmCompromised package
  2. activecritical

    Malware in celonix-otp-react

    Malware discovered in the npm package celonix-otp-react. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in resolve-audit

    The npm package resolve-audit was compromised and distributed with malware. Any system with the package installed or running should be considered fully compromised and all secrets/keys rotated immediately from a different machine.

    npmCompromised package
  4. resolvedcritical

    Malware in alphazone

    The npm package alphazone contained malware that provided full system compromise to attackers. Any computer with the package installed or running should be considered fully compromised.

    npmCompromised package