Malware in logfmt-core
Malware was discovered in the npm package logfmt-core, potentially providing full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.
- Disclosed
- Last updated
- Blast radius
- Any system with logfmt-core installed or running
- Ecosystems
- Attack vectors
- Affected entities
- logfmt-corenpm package containing malware
The npm package logfmt-core was found to contain malware. According to the GitHub Advisory (GHSA-q37m-wc54-rhg8), 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 malicious 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 that the attacker may have gained full control of the system.\n\nUsers should treat any system that has run logfmt-core as potentially fully compromised and take appropriate incident response measures.
Indicators of compromise
- Packages
- logfmt-core
Remediation
- Remove the logfmt-core package immediately
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Perform a full security audit and malware scan of affected systems
- Review system logs for unauthorized access or activity
- Consider the affected system(s) as potentially fully compromised and plan for rebuild/replacement if critical infrastructure
- Monitor for any lateral movement or persistence mechanisms installed by the malware
Sources
- GitHub Advisory GHSA-q37m-wc54-rhg8 · GitHub Advisory Database
Cite this entry
"Malware in logfmt-core." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 30, 2026; last updated July 30, 2026. https://supplychainattack.org/incident/malware-in-logfmt-core-gbp88r
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in @peptide-packets/js-unimode
Malware discovered in the npm package @peptide-packets/js-unimode. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in @peptide-packets/peptide-modify
Malware discovered in the npm package @peptide-packets/peptide-modify. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in @sudoughnym/enviro-demo
Malware discovered in the npm package @sudoughnym/enviro-demo. Systems with this package installed are considered fully compromised and may have given outside entities full control of the computer.
npmCompromised package - resolvedcritical
Malware in scketio
The npm package scketio was found to contain malware, providing full system compromise to any computer with the package installed or running. All affected systems should be considered fully compromised and require immediate remediation.
npmCompromised package