@mastra/server@1.62.0
AI Security Review
scanned 6d ago · by lpm-firewall-aiThe flagged gateway and process-execution code resolve to package-aligned AI provider and project-agent functionality, with command availability gated by workspace configuration and an enabled tool flag. The manifest has no install lifecycle hook, and inspection found no confirmed malicious behavior.
Decision evidence
public snapshot- package.json lists build, generation, check, and test scripts without an install lifecycle hook; the top-level entrypoint throws and directs users to subpath imports.
- The flagged bundle’s gateway code uses a dedicated gateway token and targets the Vercel AI gateway; provider token-counting helpers send provider keys to their corresponding provider APIs.
- Command execution is part of the project agent tool and is exposed only when a workspace sandbox enables it and the corresponding tool flag is enabled.
- The other required bundle paths contain server route handlers, schemas, and runtime utilities consistent with the package’s declared server entrypoints; no independent malicious transfer or persistence behavior was established.
- The source includes outbound provider requests and shell execution, but they occur in provider-specific helpers and an enabled project agent tool.
Source & flagged code
6 flagged · loading sourcePackage source references child process execution.
dist/dist-Xj9TvH1A.cjsView on unpkg · L30Package source references a known benign dynamic code generation pattern.
dist/schema-Bv9OdW1f-CxTiW8RD.cjsView on unpkg · L3778Findings
Affected versions and remediation
This report applies to @mastra/server@1.62.0.
See all versions of @mastra/server for other recorded verdicts.
- Review the evidence and your use of @mastra/server@1.62.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.