mastra-api-cli
Pass
Audited by Gen Agent Trust Hub on Jul 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
mastraCLI andcurlto interact with Mastra server instances. These commands are used for server discovery, data retrieval, and operational tasks. - [EXTERNAL_DOWNLOADS]: The skill makes network requests to user-specified Mastra server URLs (e.g., via
$MASTRA_URL) to fetch schemas, logs, and state information. It also references documentation and blog posts frommastra.ai. - [DATA_EXPOSURE_AND_EXFILTRATION]: While the skill handles sensitive information such as Authorization tokens, it implements security best practices by instructing the agent to never read
.envfiles and to only use variables provided by the user or already present in the shell environment. - [INDIRECT_PROMPT_INJECTION]: The skill processes data from external Mastra servers (such as log messages, agent descriptions, and workflow outputs). While this represents a potential surface for indirect prompt injection, the risk is mitigated by the use of structured JSON parsing via
jqand the skill's instruction to treat the CLI/server as the source of truth rather than free-form text.
Audit Metadata