Skip to content
supplychainattack.orgSupply chain attack incident catalog
resolvedcritical

Malware in nodemon-sudo

The npm package nodemon-sudo contained malware that could fully compromise any system where it was installed or executed. The advisory recommends treating affected systems as fully compromised and rotating all secrets and keys from a different computer.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • nodemon-sudonpm package containing malware

The npm package nodemon-sudo was found to contain malware. According to the GitHub advisory (GHSA-8228-4gjp-c339), any computer with this package installed or running should be considered fully compromised.\n\nThe malware grants full control of the affected system to an outside entity. All secrets, keys, and credentials stored on compromised systems should be rotated immediately from a different, unaffected computer.\n\nWhile 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 initial compromise. Systems should be treated as potentially containing persistent backdoors or other malware.\n\nThe advisory was published on 2026-07-09 via GitHub's security advisory system.

Indicators of compromise

Packages
  • nodemon-sudo

Remediation

  • Remove the nodemon-sudo package immediately
  • Treat any system that had this package installed or running as fully compromised
  • Rotate all secrets, keys, and credentials from a different, unaffected computer
  • Perform a full security audit and malware scan of affected systems
  • Consider rebuilding or replacing affected systems if possible
  • Review system logs and access logs for signs of unauthorized activity during the period the package was installed

Sources

  1. GitHub Advisory GHSA-8228-4gjp-c339 · GitHub Advisory Database

Cite this entry

"Malware in nodemon-sudo." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 9, 2026; last updated July 9, 2026. https://supplychainattack.org/incident/malware-in-nodemon-sudo-ecyg6c

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malware in myclaude-code

    Malware was discovered in the npm package myclaude-code. 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
  2. resolvedcritical

    Malware in clavue

    The npm package clavue contained malware that provided full system compromise to attackers. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  3. containedcritical

    Malware in airkey-mfa-react

    Malware was discovered in the npm package airkey-mfa-react. Systems with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different computer.

    npmCompromised package
  4. resolvedcritical

    Malware in fusion-client

    The npm package fusion-client contained malware that provided full system compromise to attackers. Any computer with the package installed should be considered fully compromised and all secrets and keys rotated from a different machine.

    npmCompromised package