Malware in router-kit
Malware was discovered in the npm package router-kit, resulting in full system compromise for any computer with the package installed or running. The advisory recommends immediate removal and rotation of all secrets and keys from a separate, uncompromised system.
- Disclosed
- Last updated
- Blast radius
- Any system with router-kit installed; full system compromise possible
- Ecosystems
- Attack vectors
- Affected entities
- router-kitMultiple versions affected; exact version range not specified in advisory
A critical malware incident was identified in the npm package router-kit. According to the GitHub Security Advisory (GHSA-fgc2-8wjr-56hg), any computer with this package installed or running should be considered fully compromised.
The advisory indicates that all secrets and keys stored on affected computers should be rotated immediately from a different, uncompromised system. While the package should be removed, the advisory notes that full control of the computer may have been given to an outside entity, meaning removal of the package alone may not eliminate all malicious software introduced by the installation.
The incident was published on 2026-07-06 via GitHub's advisory system. Specific affected versions are not detailed in the provided text, though the advisory lists the package multiple times, suggesting multiple versions were compromised.
Indicators of compromise
- Packages
- router-kit
Remediation
- Immediately remove the router-kit package from all affected systems
- Rotate all secrets, API keys, credentials, and cryptographic material from a separate, uncompromised computer
- Perform a full security audit and malware scan of any system that had router-kit installed
- Review system logs and network traffic for signs of unauthorized access or data exfiltration
- Consider full system reimaging if the system had administrative access or contained sensitive data
- Monitor for any signs of persistence mechanisms or backdoors that may remain after package removal
Sources
- GitHub Advisory GHSA-fgc2-8wjr-56hg · GitHub Advisory Database
Cite this entry
"Malware in router-kit." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 6, 2026; last updated July 6, 2026. https://supplychainattack.org/incident/malware-in-router-kit-1x1orw
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in junofficial-userbot
The npm package junofficial-userbot contained malware that provided full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets rotated from a different machine.
npmCompromised package - activecritical
Malware in bucket-protocol-sdk-v2
Malware discovered in the npm package bucket-protocol-sdk-v2. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malware in autoai
The npm package autoai was found to contain malware, resulting in full system compromise of any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately, and the package should be removed.
npmCompromised package - containedcritical
Malware in a.poltoradnev-package-c
Malware was discovered in the npm package a.poltoradnev-package-c. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package