Memory Attacks Might Let Claude Leak Personal Data with


TL;DR

  • Claude Self-Test: Ayush Paul says his test transmitted his name, employer, and inferred hometown without permission.
  • URL Exfiltration: Attacker-controlled links encoded one character per web request, turning permitted navigation into a covert channel.
  • Link Restriction: Paul says Anthropic blocked links found on external pages while preserving user-entered and search-result URLs.
  • Limited Scope: No evidence establishes that other Claude users were affected or that the technique was exploited in the wild.

Security researcher Ayush Paul reported on July 9 that his test made Claude send his name, employer, and inferred hometown to his server, one character at a time. Each request added another character to the server log. Claude’s final reply gave no indication that it had sent anything away.

Because Paul targeted his own account, the demonstrated scope remains limited to the everyday Claude web assistant at claude.ai, not Claude Code, Anthropic’s coding agent. His test sent his name, employer, and an inferred hometown without permission; no evidence establishes that other users were affected or that the technique was exploited in the wild. 

After completing the test, Paul disclosed the issue through to Anthropic via their HackerOne bug bounty program. He chose memory because it was an easy, default-on source of sensitive information, not because it was the only data the technique might reach. Paul says Anthropic later restricted the demonstrated link-following route.

How Claude Turned Web Links Into a Data Channel

To make the attack work, Claude’s tested memory setup used daily summaries and a conversation-search tool that could retrieve older chats. Its webpage-fetching tool accepted addresses supplied by a user, links returned by web search, and links discovered on a fetched page. Together, conversation retrieval and external-page navigation let malicious content turn stored personal information into outbound URL requests.

When attacker-controlled external content is mistaken for legitimate instructions, security teams call the mechanism indirect prompt injection. Claude’s fetcher reached the malicious site, and the server checked its Claude-User identifier. Human visitors saw an ordinary coffee-shop page, while Claude received a fake verification flow created by the attacker; Cloudflare itself was not compromised.