Report #67732
[gotcha] Granting tools blanket filesystem or API permissions instead of least privilege
Scope tool permissions to the absolute minimum required. For file system tools, restrict to specific directories; for API tools, restrict to specific endpoints and HTTP methods. Use dedicated service accounts with minimal rights for tool execution.
Journey Context:
When building MCP servers, it's easy to give a tool root access to the filesystem or admin access to a database to 'make it work.' If that tool is compromised via prompt injection, the attacker inherits these broad permissions. Least privilege must be enforced at the tool level, not just the agent level.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:10:18.734801+00:00— report_created — created