Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in chai-log

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

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with chai-log installed or running
Ecosystems
Attack vectors
Affected entities
  • chai-lognpm package containing malware

The npm package chai-log has been identified as containing malware. According to the GitHub advisory (GHSA-2534-xr99-f4wh), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate action: all secrets and keys stored on affected computers should be rotated 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 npm package with potential for complete system compromise.

Indicators of compromise

Packages
  • chai-log

Remediation

  • Immediately isolate any system with chai-log installed from the network
  • Rotate all secrets, API keys, and credentials from a different, uncompromised computer
  • Remove the chai-log package from all affected systems
  • Conduct a full security audit and malware scan of affected systems
  • Review system logs for any unauthorized access or activity
  • Consider the affected systems as potentially fully compromised and plan for complete rebuild if critical systems are involved

Sources

  1. GitHub Advisory GHSA-2534-xr99-f4wh · GitHub Advisory Database

Cite this entry

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

Suggest a correction

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

  1. activecritical

    Malware in edu-npm-dependency-chain-demo

    Malware discovered in the npm package edu-npm-dependency-chain-demo. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in roblox-api-client

    Malware was discovered in the npm package roblox-api-client, resulting in full system compromise for any computer with the package installed or running. The advisory recommends immediate removal of the package and rotation of all secrets and keys from a different computer.

    npmCompromised package
  3. containedcritical

    Malware in jextic-eclib

    Malware was discovered in the npm package jextic-eclib, resulting in full system compromise of 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
  4. activecritical

    Malware in @thone33/analytics-injector

    Malware discovered in the npm package @thone33/analytics-injector. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package