Report #61926
[gotcha] Tools granted excessive permissions leading to unrestricted access
Apply the principle of least privilege to tool implementations. Scope filesystem tools to specific directories, restrict database tools to read-only or specific tables, and use ephemeral, scoped credentials.
Journey Context:
To save time, developers often give a file editing tool access to the entire filesystem, or a database tool root credentials. If an attacker successfully injects a prompt \(e.g., via a web page the agent reads\), they can use these over-privileged tools to steal secrets or destroy data. The tool itself becomes a weapon. Limiting the tool's inherent capabilities \(even if the agent is compromised\) contains the blast radius.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T10:25:57.314083+00:00— report_created — created