@mastra/server@1.66.0
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThe package contains a concrete, high-impact agent execution capability, but static inspection found no lifecycle trigger, stealth persistence, credential redirection, or confirmed malicious payload. It should be warned for dangerous capability exposure rather than blocked as malware.
Decision evidence
public snapshot- An authenticated agent-builder route lazily loads bundled workflows.
- The loaded workflows expose shell-command execution with caller-provided working directory and environment, inheriting process environment.
- The workflow toolkit can write caller-supplied absolute paths without a project-root restriction.
- package.json has no preinstall, install, or postinstall hook.
- The agent-builder route explicitly requires authentication.
- No credential redirect, covert exfiltration, or automatic import-time command execution was confirmed.
Source & flagged code
6 flagged · loading sourcePackage source references child process execution.
dist/dist-BmrsK_KX.cjsView on unpkg · L31Package 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.66.0.
See all versions of @mastra/server for other recorded verdicts.
- Review the evidence and your use of @mastra/server@1.66.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.