@mastra/server@1.72.0
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe agent-builder workflow can execute supplied shell commands with the server environment, which is a risky capability even though its route requires authentication. The flagged credential flow is for the Vercel AI Gateway, and no install-time attack was found.
Decision evidence
public snapshot- The agent-builder create-run route requires authentication and starts the selected workflow.
- The loaded agent-builder workflow exposes a shell tool that accepts a command and working directory.
- That tool runs the supplied command with the server process environment.
- The manifest has no install lifecycle hook; the flagged gateway provider sends its authentication token to the Vercel AI Gateway endpoint.
- The shell capability is part of an explicitly invoked, authenticated agent-builder workflow; no covert execution or malicious command was established.
- The gateway code uses the Vercel OIDC token or AI Gateway API key with the Vercel AI Gateway, which is consistent with that provider's purpose.
Source & flagged code
6 flagged · loading sourcePackage source references child process execution.
dist/dist-CRMvLG_8.cjsView on unpkg · L31Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/dist-CRMvLG_8.cjsView on unpkg · L31Findings
Affected versions and remediation
This report applies to @mastra/server@1.72.0.
See all versions of @mastra/server for other recorded verdicts.
- Review the evidence and your use of @mastra/server@1.72.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.