Malware in @rmlibrary/formatting
Malware was discovered in the npm package @rmlibrary/formatting. Systems with this package installed or running are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- @rmlibrary/formatting
A malware incident was identified in the npm package @rmlibrary/formatting, published as GitHub Advisory GHSA-4j9v-f5j4-xjvx on June 29, 2026.\n\nAccording to the advisory, any computer with this package installed or running should be considered fully compromised. The malware grants outside entities full control of affected systems.\n\nImmediate remediation is required, including rotation of all secrets and keys from a separate, uncompromised computer. While the package should be removed, complete removal of all malicious software cannot be guaranteed due to the level of system compromise achieved.\n\nThe package has been identified and removed from distribution, but users who previously installed it face significant security risks.
Indicators of compromise
- Packages
- @rmlibrary/formatting
Remediation
- Immediately rotate all secrets, keys, and credentials from a different, uncompromised computer
- Remove the @rmlibrary/formatting package from all affected systems
- Conduct a full security audit of any system that had this package installed
- Monitor affected systems for signs of unauthorized access or persistence mechanisms
- Consider the affected systems as potentially fully compromised and plan for complete rebuild if critical infrastructure
- Review access logs and audit trails for any suspicious activity during the period the package was installed
Sources
- GitHub Advisory GHSA-4j9v-f5j4-xjvx · GitHub Advisory Database
Cite this entry
"Malware in @rmlibrary/formatting." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 29, 2026; last updated June 29, 2026. https://supplychainattack.org/incident/malware-in-rmlibrary-formatting-rj908l
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 @contentprod-authoring/block-manager
Malware was discovered in the npm package @contentprod-authoring/block-manager. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in @webda-infra/search
Malware was discovered in the npm package @webda-infra/search. Systems with this package installed or running should be considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in @citi-icg-171632/citicms-repo-component
The npm package @citi-icg-171632/citicms-repo-component 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.
npmCompromised package - activecritical
Malware in @bscom/styling
The npm package @bscom/styling contains malware that grants full control of affected systems. Any computer with this package installed or running should be considered fully compromised.
npmCompromised package