Malware in @mastra/deployer-vercel
Malware discovered in the npm package @mastra/deployer-vercel. Systems with this package installed 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/deployer-vercel
A malicious version of the npm package @mastra/deployer-vercel has been identified and published to the npm registry. The package contains malware that grants full control of affected systems to an outside entity.\n\nAny computer with this package installed or running should be considered fully compromised. The malware may have exfiltrated or accessed all secrets, keys, and sensitive data stored on the affected system.\n\nImmediate action is required: all secrets and keys should be rotated from a different, unaffected computer. While the package should be removed, complete removal of all malicious software cannot be guaranteed due to the level of system compromise.\n\nThis incident was disclosed via GitHub Advisory GHSA-phgx-m87g-gqmf on 2026-06-17.
Indicators of compromise
- Packages
- @mastra/deployer-vercel
Remediation
- Immediately remove @mastra/deployer-vercel from all systems
- Rotate all secrets, API keys, credentials, and authentication tokens from a different, unaffected computer
- Assume full system compromise and conduct forensic analysis
- Review system logs and access patterns for signs of unauthorized activity
- Consider full system rebuild or replacement if the package was installed on production or sensitive systems
- Notify all users and stakeholders who may have been affected by the compromise
Sources
- GitHub Advisory GHSA-phgx-m87g-gqmf · GitHub Advisory Database
Cite this entry
"Malware in @mastra/deployer-vercel." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed June 17, 2026; last updated June 20, 2026. https://supplychainattack.org/incident/malware-in-mastra-deployer-vercel-5p7hiw
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