Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in valid-scope

The npm package valid-scope was found to contain malware, resulting in full system compromise for any computer with the package installed or running. GitHub Security Advisory GHSA-chfc-f2cm-2wf8 was published on 2026-07-14.

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

The npm package valid-scope was identified as containing malware. According to the GitHub Security Advisory, any computer that has this package installed or running should be considered fully compromised.\n\nImmediate action is required: all secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system. The package should be removed from all systems.\n\nDue to the severity of the compromise, there is no guarantee that simply removing the package will eliminate all malicious software that may have been installed as a result of the initial package installation. A full security audit and potential system rebuild may be necessary for affected systems.

Indicators of compromise

Packages
  • valid-scope

Remediation

  • Immediately rotate all secrets and keys stored on affected computers from a different, uncompromised system
  • Remove the valid-scope package from all systems
  • Conduct a full security audit of any system that had the package installed
  • Consider rebuilding affected systems from clean media
  • Monitor for any signs of unauthorized access or data exfiltration
  • Review system logs for any suspicious activity during the period the package was installed

Sources

  1. GitHub Advisory GHSA-chfc-f2cm-2wf8 · GitHub Advisory Database

Cite this entry

"Malware in valid-scope." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 14, 2026; last updated July 14, 2026. https://supplychainattack.org/incident/malware-in-valid-scope-0nwvqi

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