Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

Malware in @doaction/sudo-prompt

Malware was discovered in the npm package @doaction/sudo-prompt. Systems with this package installed or running are considered fully compromised and require immediate remediation.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with the package installed or running
Ecosystems
Attack vectors
Affected entities
  • @doaction/sudo-prompt

The npm package @doaction/sudo-prompt contains malware. According to the GitHub Advisory (GHSA-f9qh-hqgp-pgvc), any computer that has this package installed or running should be considered fully compromised.\n\nThe advisory recommends that all secrets and keys stored on affected computers be rotated immediately from a different, uncompromised system. While 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 package's execution, given that the attacker may have gained full control of the system.\n\nThis is a critical supply chain incident affecting the npm ecosystem.

Indicators of compromise

Packages
  • @doaction/sudo-prompt

Remediation

  • Immediately isolate any computer with @doaction/sudo-prompt installed from the network
  • Rotate all secrets, API keys, credentials, and cryptographic keys from a different, uncompromised computer
  • Remove the @doaction/sudo-prompt package from all affected systems
  • Perform a full security audit and malware scan of affected systems
  • Review system logs and access logs for signs of unauthorized activity during the period the package was installed
  • Consider full system reimaging if the package was installed on systems with elevated privileges or access to sensitive data

Sources

  1. GitHub Advisory GHSA-f9qh-hqgp-pgvc · GitHub Advisory Database

Cite this entry

"Malware in @doaction/sudo-prompt." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 9, 2026; last updated June 9, 2026. https://supplychainattack.org/incident/malware-in-doaction-sudo-prompt-1by6ag

Suggest a correction

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

  1. activecritical

    Malware in @doaction/auth

    Malware discovered in the npm package @doaction/auth. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in @doaction/shared

    Malware was discovered in the npm package @doaction/shared. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in transacts

    The npm package transacts was found to contain malware, resulting in full system compromise of any computer with the package installed or running. All secrets and keys should be rotated immediately from a different computer, and the package should be removed.

    npmCompromised package
  4. containedcritical

    Malware in buffer-utilities

    Malware was discovered in the npm package buffer-utilities, resulting in full system compromise for any installation. The package should be removed immediately and all secrets and keys rotated from a clean system.

    npmCompromised package