Malware in metrica-node
The npm package metrica-node was found to contain malware, 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.
- Disclosed
- Last updated
- Blast radius
- Any system with metrica-node installed or running
- Ecosystems
- Attack vectors
- Affected entities
- metrica-nodenpm package containing malware
The npm package metrica-node was identified as containing malware. According to the GitHub Advisory (GHSA-9qp6-pr3p-mm88), any computer that has this package installed or running should be considered fully compromised.\n\nAffected users are advised to rotate all secrets and keys stored on compromised computers immediately from a different, unaffected 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\nThis is a critical supply chain incident affecting the npm ecosystem, with the potential to compromise any developer or system that installed or ran the affected package.
Indicators of compromise
- Packages
- metrica-node
Remediation
- Immediately rotate all secrets, API keys, and credentials stored on any computer that had metrica-node installed or running, using a different unaffected computer
- Remove the metrica-node package from all affected systems
- Conduct a full security audit and malware scan of any system that had metrica-node installed
- Review system logs and access patterns for any suspicious activity during the period the package was installed
- Consider the affected system(s) as potentially fully compromised and plan for complete rebuild if critical infrastructure
Sources
- GitHub Advisory GHSA-9qp6-pr3p-mm88 · GitHub Advisory Database
Cite this entry
"Malware in metrica-node." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-metrica-node-nesbae
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