Report #39654
[gotcha] Sharing a single OAuth token across all tools on an MCP server
Use scoped, per-tool tokens and ensure the MCP server isolates credentials rather than sharing a global auth context across all available tools.
Journey Context:
For simplicity, developers often implement MCP servers to authenticate once and share that OAuth token across all tool executions. This violates the principle of least privilege: a low-privilege tool \(e.g., a read-only search tool\) can inherit the credentials of a high-privilege tool \(e.g., a file deletion tool\), allowing an attacker to pivot through the low-privilege tool to perform destructive actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:01:48.972486+00:00— report_created — created