Execute a shell command and return the output
AI agents invoke run_command to trigger actions in MCP Start App. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
This tool executes arbitrary shell commands with unrestricted scope. An AI agent could misuse it to run destructive commands (rm -rf), exfiltrate sensitive data, establish reverse shells, modify system configurations, or pivot to other systems. While the server claims 'security safeguards', the tool description provides no evidence of input validation, sandboxing, or allowlisting.
From the tool's definition Tool name 'run_command' with description 'Execute a shell command and return the output' directly indicates arbitrary shell command execution.
Attacks that exploit this kind of access
Execute a shell command and return the output. It is categorised as a Execute tool in the MCP Start App MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the MCP Start App MCP server in PolicyLayer and add a rule for run_command: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MCP Start App. Nothing to install.
run_command is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the run_command rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for run_command. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
run_command is provided by the MCP Start App MCP server (nexus-aissam/mcp-local). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
run_command is one line of MCP Start App's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →