Report #4798
[gotcha] MCP servers granted overly broad permissions explode the blast radius of a compromised agent
Apply principle of least privilege by configuring MCP servers with strict resource URI templates and sandboxed environments. Never expose root directories or global scopes.
Journey Context:
It is tempting to give a file-reading tool broad access so it 'just works' across the repo. However, if the agent is hijacked via indirect prompt injection, the attacker inherits those permissions. MCP supports resource templates specifically to restrict scope; use them rigidly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:05:43.573197+00:00— report_created — created