Malware in leo-cache
The npm package leo-cache was found to contain malware, resulting in full system compromise for any computer with the package installed or running. All secrets and keys should be rotated immediately from a different computer, and the package should be removed.
- Disclosed
- Last updated
- Blast radius
- Any system with leo-cache installed or running
- Ecosystems
- Attack vectors
- Affected entities
- leo-cachenpm package containing malware
The npm package leo-cache was identified as containing malware. According to the GitHub Advisory (GHSA-r5pg-rp25-j3m3), 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 computer. 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.\n\nUsers who have installed or are running leo-cache should treat their systems as potentially fully compromised and take immediate remediation steps.
Indicators of compromise
- Packages
- leo-cache
Remediation
- Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the leo-cache package from all affected systems
- Perform a full security audit and malware scan of any system that had leo-cache installed
- Review system logs and network activity for signs of unauthorized access or data exfiltration
- Consider full system reimaging if the system contained highly sensitive data or credentials
Sources
- GitHub Advisory GHSA-r5pg-rp25-j3m3 · GitHub Advisory Database
Cite this entry
"Malware in leo-cache." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 25, 2026; last updated June 29, 2026. https://supplychainattack.org/incident/malware-in-leo-cache-1wjb5f
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- resolvedcritical
Malicious code in test2221 (npm)
The npm package test2221 version 2.2.4 was identified as malicious by the OpenSSF Package Analysis project. The package executes commands associated with malicious behavior.
npmCompromised package - containedcritical
Malware in n8n-nodes-trust-me-im-totally-safe
Malware was discovered in the npm package n8n-nodes-trust-me-im-totally-safe, 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 - activecritical
Malware in litespeed-cache
Malware discovered in the npm package litespeed-cache. The package grants full system compromise to attackers, requiring immediate removal and credential rotation from a clean system.
npmCompromised package - containedcritical
Malware in open-worker-cli
Malware was discovered in the npm package open-worker-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