Report #91575
[gotcha] LLM agents performing blind SSRF via tool calls
Enforce strict URL allowlisting for any HTTP request tools the LLM can invoke. Block requests to internal IP ranges \(e.g., 127.0.0.1, 10.0.0.0/8, 169.254.169.254\) at the network level, not in the prompt.
Journey Context:
When an LLM has a 'fetch URL' tool, an attacker can use indirect prompt injection to instruct the LLM to fetch internal cloud metadata endpoints \(like AWS 169.254.169.254\). The LLM executes the tool, leading to Server-Side Request Forgery and cloud credential leakage. Prompt-based defenses \('do not fetch internal IPs'\) are easily ignored.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T12:18:05.435150+00:00— report_created — created