Skip to content
supplychainattack.orgSupply chain attack incident catalog
activecritical

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.

ShareXLinkedInHacker News
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

  1. 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.

  1. activecritical

    Malware in @zahlen/checkout-angular

    Malware discovered in the npm package @zahlen/checkout-angular. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  2. containedcritical

    Malware in @nasdtickets/common

    Malware was discovered in the npm package @nasdtickets/common. Systems with this package installed are considered fully compromised and require immediate remediation.

    npmCompromised package
  3. containedcritical

    Malware in @hoteldev/common

    Malware was discovered in the npm package @hoteldev/common. Systems with this package installed or running are considered fully compromised and require immediate remediation.

    npmCompromised package
  4. resolvedcritical

    Malicious code in wallet-monitor-snap (npm)

    wallet-monitor-snap, an npm package implementing a MetaMask Snap, contained malicious code designed to trick users into entering their Secret Recovery Phrase via a fake security alert dialog. The captured mnemonic was returned to any invoking dapp, allowing full compromise of all derived HD wallet accounts.

    npmCompromised packageMalicious maintainer