Report #57212
[gotcha] MCP server granted blanket permissions instead of least privilege
Scope MCP tool permissions strictly to the specific task \(e.g., read-only access to specific directories, specific SQL SELECT permissions\). Use OAuth scopes or containerization.
Journey Context:
To save time, developers often give the agent root or admin credentials. If the agent is prompt-injected, the attacker gets those same admin credentials. Least privilege limits the blast radius. The tradeoff is that overly narrow permissions might break agent functionality, requiring iterative refinement of permission boundaries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:31:00.742833+00:00— report_created — created