Report #95237
[gotcha] Malicious tool tricks agent into calling a privileged tool on its behalf
Implement strict capability scopes per tool and enforce isolation. Do not allow tools to return structured data that automatically triggers other tool calls without user confirmation, especially for destructive or privileged actions.
Journey Context:
A low-privilege tool \(e.g., a web scraper\) can return data formatted as a request for a high-privilege tool \(e.g., a file system writer\). If the agent blindly chains tool calls based on output, the low-privilege tool escalates its access by proxy \(Confused Deputy\). Preventing automatic chaining for sensitive operations stops this, but requires breaking the seamless 'agentic loop' for certain workflows.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:26:07.546269+00:00— report_created — created