Malware in ts-ecro
Malware was discovered in the npm package ts-ecro, resulting in full system compromise for any installation. The package should be removed immediately and all secrets and keys rotated from a different computer.
- Disclosed
- Last updated
- Blast radius
- Any system with ts-ecro installed or running
- Ecosystems
- Attack vectors
- Affected entities
- ts-ecro
A critical malware incident was identified in the npm package ts-ecro. According to the GitHub Advisory (GHSA-cwjv-7gg4-fp86), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory indicates that the malicious package grants outside entities full control of affected systems. All secrets and keys stored on compromised computers must be rotated immediately from a different, unaffected system.\n\nWhile the package should be removed, the advisory notes that full system compromise may mean removing the package alone will not eliminate all malicious software that may have been installed as a result of the initial compromise.
Indicators of compromise
- Packages
- ts-ecro
Remediation
- Immediately remove the ts-ecro package from all systems
- Rotate all secrets, API keys, and credentials from a different, unaffected computer
- Perform a full security audit and malware scan of any system that had ts-ecro installed
- Review system logs and access logs for any unauthorized activity during the period the package was installed
- Consider full system reimaging if full compromise is suspected
Sources
- GitHub Advisory GHSA-cwjv-7gg4-fp86 · GitHub Advisory Database
Cite this entry
"Malware in ts-ecro." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 19, 2026; last updated June 20, 2026. https://supplychainattack.org/incident/malware-in-ts-ecro-1r2ewb
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 ethereum-gas-reporter
Malware was discovered in the ethereum-gas-reporter npm package. Any computer with this package installed or running should be considered fully compromised, requiring immediate rotation of all secrets and keys from a different system.
npmCompromised package - containedcritical
Malware in eth-util
Malware was discovered in the eth-util npm package. 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 - containedcritical
Malware in ts-big-ecro
The npm package ts-big-ecro contained malware that fully compromised any system where it was installed. All secrets and keys on affected systems should be rotated immediately, and the package should be removed.
npmCompromised package - containedcritical
Malware in ts-esys
Malware was discovered in the npm package ts-esys. Systems with this package installed or running are considered fully compromised and require immediate remediation.
npmCompromised package