Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in chai-spycore

Malware was discovered in the npm package chai-spycore, affecting any computer with the package installed or running. The compromise is considered critical as it grants full system control to an outside entity.

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

The npm package chai-spycore was found to contain malware. According to the GitHub advisory (GHSA-w3fq-7xj5-8gmv), any computer that has this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. 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 initial compromise, given the level of system access the malware appears to have obtained.\n\nAffected users should treat any system that installed or ran chai-spycore as potentially fully compromised and take appropriate incident response measures.

Indicators of compromise

Packages
  • chai-spycore

Remediation

  • Immediately isolate any computer that has chai-spycore installed or running from the network
  • Rotate all secrets, API keys, credentials, and cryptographic keys from a different, uncompromised computer
  • Remove the chai-spycore package from all affected systems
  • Conduct a full forensic investigation of affected systems to identify any additional malicious software or persistence mechanisms
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system reimaging if the compromise is confirmed

Sources

  1. GitHub Advisory GHSA-w3fq-7xj5-8gmv · GitHub Advisory Database

Cite this entry

"Malware in chai-spycore." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 7, 2026; last updated July 7, 2026. https://supplychainattack.org/incident/malware-in-chai-spycore-1bylbs

Suggest a correction

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

  1. activecritical

    Malware in express-firegate

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

    npmCompromised package
  2. activecritical

    Malware in express-deflect

    Malware discovered in the npm package express-deflect. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in pino-utils

    The npm package pino-utils was compromised and distributed with malware. Any system with the package installed should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different computer.

    npmCompromised package
  4. activecritical

    Malware in color-cli-log

    The npm package color-cli-log contains malware that grants full control of affected systems. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package