Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in chai-web3-testkit

Malware was discovered in the npm package chai-web3-testkit. Systems with this package installed are considered fully compromised and require immediate remediation.

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

The npm package chai-web3-testkit was found to contain malware. According to the GitHub advisory, any computer with 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 compromise.\n\nThis represents a critical supply chain attack through a compromised package in the npm ecosystem.

Indicators of compromise

Packages
  • chai-web3-testkit

Remediation

  • Immediately isolate any system with chai-web3-testkit installed from the network
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the chai-web3-testkit package from all affected systems
  • Perform a full security audit and malware scan on all affected systems
  • Review system logs and network traffic for signs of unauthorized access or data exfiltration
  • Consider full system reimaging if compromise is suspected to be complete

Sources

  1. GitHub Advisory GHSA-j8qr-4p5h-mwqj · GitHub Advisory Database

Cite this entry

"Malware in chai-web3-testkit." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 12, 2026; last updated June 12, 2026. https://supplychainattack.org/incident/malware-in-chai-web3-testkit-cufwru

Suggest a correction

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

  1. activecritical

    Malware in transportator

    The npm package transportator 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 rotated immediately from a different machine.

    npmCompromised package
  2. containedcritical

    Malware in vite-react-toolkit

    The npm package vite-react-toolkit contained malware that provided full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different machine.

    npmCompromised package
  3. resolvedcritical

    Malware in @malwguy/ecto-corsair-whisper-3d2a7c

    The npm package @malwguy/ecto-corsair-whisper-3d2a7c contains malware that grants full system compromise to an outside entity. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  4. containedcritical

    Malware in coral-wraith

    Malware was discovered in the npm package coral-wraith. Systems with the package installed or running should be considered fully compromised and require immediate remediation.

    npmCompromised package