@mastra/server@1.71.0
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe scanner’s credential-redirection claim is not supported by the inspected excerpts: the observed API key path uses a configurable AI Gateway client and its documented environment variable. Command execution and file editing appear in runtime helpers, but no automatic or unauthorized use was established; this review does not resolve every runtime path in the large bundle.
Decision evidence
public snapshot- The package exposes its runtime through subpath exports; importing the top-level entry throws an error.
- The bundle contains a configurable AI Gateway client whose default endpoint is ai-gateway.vercel.sh and whose API key comes from an option or AI_GATEWAY_API_KEY.
- The bundle contains agent-builder helpers that can spawn commands and edit project files when invoked.
- package.json has no install lifecycle scripts.
- The inspected credential path supplies a key to the AI Gateway client; no unrelated credential recipient or install-time transfer was established.
Source & flagged code
6 flagged · loading sourceThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/dist-D19QgTH4.jsView on unpkgPackage source references child process execution.
dist/dist-D19QgTH4.jsView on unpkg · L30Findings
Affected versions and remediation
This report applies to @mastra/server@1.71.0.
See all versions of @mastra/server for other recorded verdicts.
- Review the evidence and your use of @mastra/server@1.71.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.