Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in cspotcode

The npm package cspotcode was compromised and distributed with malware. Any system with the package installed should be considered fully compromised and all secrets rotated from a different machine.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the malicious cspotcode package installed
Ecosystems
Attack vectors
Affected entities
  • cspotcodenpm package containing malware

The npm package cspotcode was found to contain malware. According to the GitHub advisory (GHSA-5gjv-f2cp-9rmp), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate rotation of all secrets and keys stored on affected computers from a different, uncompromised machine. While the package should be removed, there is no guarantee that removal will eliminate all malicious software that may have been installed as a result of the compromise.\n\nThe attack vector was a compromised package distributed through the npm ecosystem."

Indicators of compromise

Packages
  • cspotcode

Remediation

  • Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the cspotcode package from all affected systems
  • Audit system logs and network activity for signs of unauthorized access or data exfiltration
  • Consider the affected system(s) potentially fully compromised and plan for complete rebuild if critical systems are involved
  • Check for any other suspicious packages or modifications on affected systems

Sources

  1. GitHub Advisory GHSA-5gjv-f2cp-9rmp · GitHub Advisory Database

Cite this entry

"Malware in cspotcode." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 14, 2026; last updated August 14, 2026. https://supplychainattack.org/incident/malware-in-cspotcode-1cj4t2

Suggest a correction

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

  1. 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
  2. containedcritical

    Malware in chai-as-deployer

    Malware was discovered in the npm package chai-as-deployer, 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. containedcritical

    Malware in checkout-common-tokens

    Malware was discovered in the npm package checkout-common-tokens. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  4. activecritical

    Malware in checkout-create-pos-order-am

    Malware discovered in the npm package checkout-create-pos-order-am. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package