Malware in @mastra/react
Malware was discovered in the npm package @mastra/react. Systems with this package installed or running are considered fully compromised and require immediate remediation.
- Disclosed
- Last updated
- Blast radius
- Any system with the package installed or running
- Ecosystems
- Attack vectors
- Affected entities
- @mastra/react
A critical malware incident was identified in the npm package @mastra/react, published via GitHub Advisory GHSA-v5vm-xv73-6x64 on June 17, 2026.\n\nAny computer with this package installed or running should be considered fully compromised. The malware may have granted outside entities full control of affected systems.\n\nImmediate remediation requires rotating all secrets and keys from a different, uncompromised computer. 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 compromise.\n\nUsers should assume complete system compromise and take appropriate defensive measures.
Indicators of compromise
- Packages
- @mastra/react
Remediation
- Immediately rotate all secrets, keys, and credentials from a different, uncompromised computer
- Remove the @mastra/react package from all affected systems
- Conduct a full security audit of any system that had this package installed
- Monitor affected systems for signs of persistent malware or unauthorized access
- Consider full system reimaging if complete compromise is suspected
- Review and revoke any API keys, tokens, or credentials that may have been exposed
Sources
- GitHub Advisory GHSA-v5vm-xv73-6x64 · GitHub Advisory Database
Cite this entry
"Malware in @mastra/react." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 17, 2026; last updated June 20, 2026. https://supplychainattack.org/incident/malware-in-mastra-react-6mhhoj
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