Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

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.

ShareXLinkedInHacker News
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

  1. 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.

  1. 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
  2. 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
  3. 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
  4. 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