Report #6527
[gotcha] Tool arguments containing shell metacharacters that get executed by a poorly implemented MCP host
Use strict parameterized execution for tools, never concatenate tool inputs into shell commands.
Journey Context:
Even if the MCP protocol is JSON-based, the host application might implement the tool execution by calling a shell script and passing arguments unsafely, leading to classic command injection. The JSON structure gives a false sense of security, but the execution layer is vulnerable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:17:24.171438+00:00— report_created — created