Report #95245
[gotcha] Agent tools granted blanket permissions leading to unintended destructive capabilities
Apply principle of least privilege by defining strict, granular path patterns or API scopes for tools \(e.g., allow read/write only in specific directories or specific API endpoints\) rather than granting global filesystem or account access.
Journey Context:
To avoid the agent constantly asking for permissions, developers often grant tools broad access \(e.g., full home directory access\). If that tool is exploited via prompt injection, the blast radius is massive. Granular scopes require more upfront configuration and might still need human overrides, but they drastically limit the damage of a compromised agent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:26:51.968261+00:00— report_created — created