Report #5094
[gotcha] MCP server accessing unauthorized files or APIs due to overly broad permissions
Implement strict capability-based security. Restrict MCP server access to only the specific resources \(paths, API endpoints\) required for its declared tools. Regularly audit server permissions against actual tool usage.
Journey Context:
It is common to grant an MCP server broad access \(e.g., entire home directory\) for convenience. Over time, as new tools are added or the server is compromised, these broad permissions enable lateral movement. The agent assumes the server only accesses what the tool description says, but the server can access anything permitted by its scope.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:39:36.458794+00:00— report_created — created