Malware in @mastra/playground-ui
Malware was discovered in the npm package @mastra/playground-ui. 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/playground-ui
A critical malware incident was identified in the npm package @mastra/playground-ui. According to the GitHub Security Advisory (GHSA-25cg-799c-2gpr), any computer with this package installed or running should be considered fully compromised.\n\nThe advisory recommends immediate action: all secrets and keys stored on affected computers should be rotated from a different, uncompromised system. While the malicious 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 compromise, as the attacker may have gained full control of the system.\n\nAffected users should treat their systems as potentially fully compromised and take comprehensive remediation steps accordingly.
Indicators of compromise
- Packages
- @mastra/playground-ui
Remediation
- Immediately remove the @mastra/playground-ui package from all systems
- Rotate all secrets, API keys, and credentials from a different, uncompromised computer
- Perform a comprehensive security audit and malware scan of affected systems
- Review system logs and access logs for signs of unauthorized activity
- Consider full system reimaging if the system contained sensitive data or had privileged access
- Monitor for any suspicious activity on accounts that may have been compromised
Sources
- GitHub Advisory GHSA-25cg-799c-2gpr · GitHub Advisory Database
Cite this entry
"Malware in @mastra/playground-ui." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 17, 2026; last updated June 20, 2026. https://supplychainattack.org/incident/malware-in-mastra-playground-ui-qdspuh
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- activecritical
Malware in internallib_v688
Malware discovered in the npm package internallib_v688. Systems with this package installed are considered fully compromised and require immediate remediation.
npmCompromised package - containedcritical
Malicious code in @zzzgenesis00/bip39-generator (npm)
The npm package @zzzgenesis00/bip39-generator version 3.1.2 was identified as malicious by the OpenSSF Package Analysis project. The package communicates with a domain associated with malicious activity.
npmCompromised package - containedcritical
Malware in accounts-final-form
The npm package accounts-final-form contained malware, potentially giving outside entities full control of affected systems. All systems with this package installed should be considered fully compromised.
npmCompromised package - containedcritical
Malicious code in simple-date-formatter-new-1 (npm)
The npm package simple-date-formatter-new-1 version 1.0.0 was identified as malicious by the OpenSSF Package Analysis project. The package communicates with domains associated with malicious activity and executes commands associated with malicious behavior.
npmCompromised package