Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

Malware in ts-sudo

The npm package ts-sudo 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.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Any system with ts-sudo installed or running; full system compromise possible
Ecosystems
Attack vectors
Affected entities
  • ts-sudonpm package containing malware

The npm package ts-sudo was identified as containing malware. According to the GitHub Advisory (GHSA-9rpr-8v3f-2g5q), any computer with 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 initial compromise, given the potential for full system access by the attacker.\n\nAffected users should treat their systems as potentially fully compromised and take appropriate incident response measures.

Indicators of compromise

Packages
  • ts-sudo

Remediation

  • Immediately rotate all secrets and keys from a different, uncompromised computer
  • Remove the ts-sudo package from all affected systems
  • Conduct a full security audit and forensic analysis of any system that had ts-sudo installed
  • Monitor affected systems for signs of persistent malware or unauthorized access
  • Consider rebuilding affected systems from clean media if full compromise is suspected

Sources

  1. GitHub Advisory GHSA-9rpr-8v3f-2g5q · GitHub Advisory Database

Cite this entry

"Malware in ts-sudo." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 23, 2026; last updated June 23, 2026. https://supplychainattack.org/incident/malware-in-ts-sudo-jxujc2

Suggest a correction

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

  1. activecritical

    Malware in carousel-controller-mixin

    Malware discovered in the npm package carousel-controller-mixin. The package grants full control of affected systems to an outside entity, requiring immediate removal and credential rotation from a clean machine.

    npmCompromised package
  2. containedcritical

    Malware in local-ip-helper

    The npm package local-ip-helper was found to contain malware, resulting in full system compromise of any computer with the package installed or running. All affected systems should be considered fully compromised and all secrets and keys rotated from a different computer.

    npmCompromised package
  3. activecritical

    Malware in new-ecro-1

    The npm package new-ecro-1 contains malware that grants full control of affected systems. Any computer with this package installed or running should be considered fully compromised.

    npmCompromised package
  4. containedcritical

    Malware in mjs-eslint-helper

    The npm package mjs-eslint-helper contained malware that provided full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately.

    npmCompromised package