@mastra/code-sdk@1.8.3
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 1mo ago · by lpm-firewall-aiStatic inspection found no lifecycle hook, self-dependency chain, automatic payload execution, exfiltration sink, or malicious persistence behavior. The observed capabilities are consistent with a configurable agent SDK.
Decision evidence
public snapshot- The manifest exposes a JavaScript SDK entrypoint and contains build, check, test, and lint scripts only; no install lifecycle hook is declared.
- The main module constructs the agent controller only through an exported asynchronous factory invoked by consumers.
- Settings are saved through a supplied or default settings path using an atomic temporary-file rename.
- The SDK includes user-invoked agent-controller and settings capabilities, but no automatic execution, credential exfiltration, or foreign agent-control-surface mutation was established.
Source & flagged code
4 flaggedPackage source references dynamic require/import behavior.
dist/plugins/loader.jsView on unpkg · L118Package source references weak cryptographic algorithms.
dist/plugins/loader.jsView on unpkg · L1Findings
Affected versions and remediation
This report applies to @mastra/code-sdk@1.8.3.
See all versions of @mastra/code-sdk for other recorded verdicts.
- Review the evidence and your use of @mastra/code-sdk@1.8.3 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.