Report #29296
[gotcha] Tool executes actions with server privileges instead of user
Implement user-in-the-loop authorization for high-privilege tools. Pass user tokens down to the tool execution context rather than relying on server-wide service accounts. Require explicit user confirmation for destructive or privileged operations.
Journey Context:
An MCP server runs with a service account that has broad access. A user asks the agent to read a file they shouldn't have access to. The agent calls the tool, and the tool reads it using the server's privileges, bypassing user-level RBAC. The server acts as a 'confused deputy'. Tools must either run with the user's delegated credentials or enforce strict access control checks based on the requesting user, not the server identity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:33:53.807059+00:00— report_created — created