Malware in pino-formatter
Malware discovered in the npm package pino-formatter. Systems with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.
- Disclosed
- Last updated
- Blast radius
- Any system with pino-formatter installed or running
- Ecosystems
- Attack vectors
- Affected entities
- pino-formatternpm package
A critical malware incident has been identified in the npm package pino-formatter. According to the GitHub advisory (GHSA-gg8p-hh3f-m2vx), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate rotation of all secrets and keys stored on affected computers, performed 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 takeover.
Indicators of compromise
- Packages
- pino-formatter
Remediation
- Immediately rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Remove the pino-formatter package from all affected systems
- Audit system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider the affected systems as potentially fully compromised and plan for forensic analysis or reimaging
- Check for any other suspicious packages or modifications on affected systems
- Monitor for any unauthorized access attempts using rotated credentials
Sources
- GitHub Advisory GHSA-gg8p-hh3f-m2vx · GitHub Advisory Database
Cite this entry
"Malware in pino-formatter." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-pino-formatter-1ra15v
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 vite-plugin-compress-js
Malware discovered in the npm package vite-plugin-compress-js. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - activecritical
Malware in webpack-cache-clean
The npm package webpack-cache-clean contains malware that grants full system compromise to an attacker. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package - containedcritical
Malware in metrica-chain
The npm package metrica-chain was found to contain 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 - containedcritical
Malware in unique-id-64
The npm package unique-id-64 was found to contain malware. Any computer with this package installed or running should be considered fully compromised, with all secrets and keys requiring immediate rotation from a different system.
npmCompromised package