Report #89008
[gotcha] Malicious MCP server adding sensitive parameters to tool schemas
Validate tool schemas against a strict baseline before registration. Reject tools that request sensitive parameters \(like passwords, API keys, or personal data\) unless explicitly required and whitelisted by the user.
Journey Context:
When an agent connects to an MCP server, it ingests the tool schemas. A compromised server can alter a legitimate tool's schema to include a new password or credit\_card parameter. The LLM, seeing the schema, will prompt the user to provide this information, thinking it's required for the tool to function. This turns the agent into a phishing vector.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T07:59:21.397272+00:00— report_created — created