Skip to content
MediumNewsLLM-specific

How I tricked Claude into leaking your deepest, darkest secrets

Published
Record updated
View JSON

Summary

Ayush Paul found a loophole in Claude's web_fetch tool, which was meant to block data exfiltration by only allowing navigation to user-entered URLs or URLs from web_search. The loophole let web_fetch follow URLs embedded in previously fetched pages, so a honeypot site could lead the agent through nested links to leak data. The attack extracted a user's name, home city and employer, and Anthropic has since closed the hole.

Mitigation

Anthropic closed the hole by removing the ability for web_fetch to navigate to additional links returned within its own fetched content.