← All Labs
🛡 AI HACKING ADVANCED +145 XP · +65 no-hint bonus

AI LLM-Driven SSRF — Trick the Agent's HTTP Tool into Internal Network Access

FetchBot has an http_get tool to retrieve URLs for users. The tool runs server-side. The LLM has a guardrail: it refuses to fetch URLs containing 'localhost', '127.0.0.1', or 'internal'. But the guardrail is on the LLM input — the actual network request happens after the guardrail passes. Find a way to bypass the URL pattern filter to reach the internal metadata service at http://169.254.169.254/latest/meta-data/.

https://bookshop.local/search