@mastra/code-sdk@1.14.0
Mastra Code SDK: the agent core behind Mastra Code (everything except the TUI) — build your own UIs and surfaces on top of it
AI Security Review
scanned 20d ago · by lpm-firewall-aiStatic flags correspond to provider authentication, enabled-plugin loading, and explicit storage maintenance in the inspected source. The manifest has no install lifecycle scripts, and no concrete attack behavior was found.
Decision evidence
public snapshot- package.json exposes dist/index.js and lists no install lifecycle scripts.
- Claude credentials are read from Anthropic auth storage and sent through the Anthropic provider fetch path.
- Kimi credentials are sent through the Kimi Coding provider, whose base URL is api.kimi.com.
- The GitHub refresh token is sent to api.github.com to retrieve the account label; enterprise credentials skip that lookup.
- Codex device authorization uses OpenAI auth endpoints and is reached through the provider’s login flow.
- Plugin modules load only for enabled records; VM execution calls garbage collection behind the explicit vacuum path, and dist/index.js exports SDK APIs.
Source & flagged code
3 flaggedPackage source references dynamic require/import behavior.
dist/plugins/loader.jsView on unpkg · L117Package source executes code through a VM context API.
dist/utils/storage-maintenance.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @mastra/code-sdk@1.14.0.
See all versions of @mastra/code-sdk for other recorded verdicts.
- Review the evidence and your use of @mastra/code-sdk@1.14.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.