Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in path-extend

The npm package path-extend contains malware that grants full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised and all secrets and keys should be rotated immediately from a different computer.

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

The npm package path-extend has been identified as containing malware. According to the GitHub Advisory (GHSA-qvmc-2hcj-8h4f), any computer that has 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 computer. While the package should be removed, there is no guarantee that removing it will eliminate all malicious software that may have been installed as a result of the initial compromise, given that the attacker may have gained full control of the system.\n\nThis is a critical supply chain attack affecting the npm ecosystem.

Indicators of compromise

Packages
  • path-extend

Remediation

  • Immediately isolate any computer that has path-extend installed or running from the network
  • Rotate all secrets, API keys, credentials, and passwords from a different, uncompromised computer
  • Remove the path-extend package from all systems
  • Conduct a full forensic investigation of affected systems to identify any additional malware or persistence mechanisms
  • Review all access logs and audit trails for suspicious activity on affected systems
  • Consider the affected systems as potentially fully compromised and plan for complete rebuild if critical systems are involved

Sources

  1. GitHub Advisory GHSA-qvmc-2hcj-8h4f · GitHub Advisory Database

Cite this entry

"Malware in path-extend." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 9, 2026; last updated June 9, 2026. https://supplychainattack.org/incident/malware-in-path-extend-rr7j7r

Suggest a correction

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

  1. resolvedcritical

    Malicious code in test2221 (npm)

    The npm package test2221 version 2.2.4 was identified as malicious by the OpenSSF Package Analysis project. The package executes commands associated with malicious behavior.

    npmCompromised package
  2. containedcritical

    Malware in n8n-nodes-trust-me-im-totally-safe

    Malware was discovered in the npm package n8n-nodes-trust-me-im-totally-safe, resulting in full system compromise for any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.

    npmCompromised package
  3. activecritical

    Malware in litespeed-cache

    Malware discovered in the npm package litespeed-cache. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.

    npmCompromised package
  4. containedcritical

    Malware in open-worker-cli

    Malware was discovered in the npm package open-worker-cli. Systems with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.

    npmCompromised package