Report #74361
[gotcha] Silently swallowing tool execution errors and prompting the LLM to retry
Log tool execution failures, timeouts, and exceptions explicitly. Alert on high retry rates or specific error patterns \(e.g., permission denied\) which might indicate an attacker probing tool boundaries.
Journey Context:
To make agents resilient, developers often wrap tool calls in retry loops and return generic 'Tool failed' messages to the LLM. This hides security-relevant failures \(like an intrusion detection system blocking an exfiltration attempt\) from the human operator, allowing an attacker to silently brute-force or probe the agent's capabilities.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T07:24:47.542047+00:00— report_created — created