Report #6860
[gotcha] Agent-triggered SSRF through 'read-only' web search or URL fetching tools
Block internal IP ranges \(e.g., 127.0.0.1, 10.0.0.0/8, 169.254.169.254\) in any tool that makes HTTP requests. Do not allow tools to follow redirects blindly.
Journey Context:
An attacker injects a prompt telling the agent to 'search for http://169.254.169.254/latest/meta-data/'. The agent uses a web fetching tool, which executes the request from the server's internal network, leaking AWS IAM credentials. Developers mistakenly assume 'read-only' tools \(like GET requests\) are safe and don't need SSRF protections, but they can exfiltrate internal data just as effectively as POST requests.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:14:04.661254+00:00— report_created — created