Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in cors-version

Malware was discovered in the npm package cors-version. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from unaffected systems.

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

A malicious version of the npm package cors-version was identified and published to the npm registry. The package contains malware that provides attackers with full control of any system on which it is installed or running.\n\nAny computer with this package installed should be considered fully compromised. All secrets, keys, and credentials stored on affected systems must be rotated immediately from a different, unaffected computer.\n\nWhile the package should be removed, complete removal of all malicious artifacts cannot be guaranteed due to the level of system access granted to the attacker. A full security audit and potential system rebuild may be necessary for affected systems.\n\nThe advisory was published on GitHub on 2026-08-04 under GHSA-2hwp-7m6r-hgjg.

Indicators of compromise

Packages
  • cors-version

Remediation

  • Immediately remove the cors-version package from all systems
  • Rotate all secrets, keys, and credentials from a clean, unaffected computer
  • Audit system logs for signs of unauthorized access or data exfiltration
  • Consider full system rebuild or forensic analysis for critical systems
  • Check npm audit logs and dependency trees to identify all affected systems
  • Monitor for any suspicious activity on systems that had the package installed

Sources

  1. GitHub Advisory GHSA-2hwp-7m6r-hgjg · GitHub Advisory Database

Cite this entry

"Malware in cors-version." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 4, 2026; last updated August 4, 2026. https://supplychainattack.org/incident/malware-in-cors-version-lljcgw

Suggest a correction

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

  1. activecritical

    Malware in @onereach/si-text-message

    Malware was discovered in the npm package @onereach/si-text-message. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in @servicetitan/assist-ui

    Malware was discovered in the npm package @servicetitan/assist-ui. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in @onereach/orest-cli

    Malware was discovered in the npm package @onereach/orest-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
  4. activecritical

    Malware in @servicetitan/install

    Malware was discovered in the npm package @servicetitan/install. Systems with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different computer.

    npmCompromised package