Skip to content

Back to the catalog

Claude.ai Prompt Injection Vulnerability | Oasis Security
oasis.securitywriteup

Claude.ai Prompt Injection Vulnerability | Oasis Security

Oasis Security researchers chained three Claude.ai/claude.com vulnerabilities, dubbed "Claudy Day", into an end-to-end attack: hidden HTML tags in the claude.ai/new?q= URL parameter injected invisible instructions into a pre-filled prompt, which then directed Claude to search the victim's conversation history and exfiltrate sensitive data by writing it to a file and uploading it via the Anthropic Files API to an attacker-controlled account (abusing that api.anthropic.com is allowed through the sandbox's network restrictions). A separate open redirect at claude.com/redirect/<target> let attackers weaponize a trusted-looking Google Ads link to silently deliver victims to the injection URL, requiring no MCP servers or integrations. The prompt injection issue has been fixed by Anthropic; remaining issues are being addressed.

TL;DR Chained prompt injection + Files API abuse + open redirect let attackers silently exfiltrate Claude.ai conversation history via a fake claude.com link, now partly fixed.
Document

What it is

"Claudy Day" — a chain of three flaws in Claude.ai / claude.com disclosed by Oasis Security. The existing summary covers the mechanism; what it doesn't carry is the delivery sophistication and the exposure even in a stock session.

Delivery — why this isn't ordinary phishing

The open redirect (claude.com/redirect/<target>) matters because Google Ads validates ad URLs by hostname only. An attacker buys a search ad that displays a genuine claude.com URL, which silently redirects the clicker to the claude.ai/new?q=... injection URL. The victim never sees a suspicious link — the entry point is a Google search result indistinguishable from the real one, not an email.

Google Ads targeting turns this from spray-and-pray into a precision strike: location, industry, demographics, and — via Customer Match — specific email addresses. A known individual can be served the malicious ad.

What's actually at risk

Even a bare Claude.ai session with no integrations exposes conversation history and memory. Injected instructions can summarize past chats to profile the user, extract chats on a targeted topic (the page names an upcoming merger or a medical concern), or let the agent decide what counts as sensitive and dump it. With MCP servers, tools, or enterprise integrations enabled, the blast radius expands to reading files, sending messages, and hitting any connected API — silently.

What to do

The page's guidance is governance-level, not a patch (the exfil and redirect issues were still being addressed at publication):

  • Inventory AI agents/assistants in use, what data they touch, what integrations are enabled — treat shadow AI as a blind spot.
  • Audit integrations and permissions. Disable MCP servers, tools, and APIs that aren't actively needed; every reachable service widens the blast radius of one compromised prompt.
  • Educate users that pre-filled prompts, shared links, and pasted content can carry hidden instructions — the AI chat box is an attack surface.
  • Govern agent identities like human/service accounts: intent analysis, deterministic policy enforcement, just-in-time scoped access, and a full human→agent→action audit trail.

Caveats

Only the prompt-injection flaw was fixed at publication; the exfiltration path and open redirect were still "being addressed," so the delivery and data-egress legs of the chain may not be closed. This is Oasis's second such demonstration (after "OpenClaw"), and the "what to do" section is vendor-framed toward their Agentic Access Management product rather than a concrete detection or config change you can apply directly.

Organisations named here

  • OpenClaw

Technologies named here

  • Google Ads
  • Claude.ai
  • claude.com platform
  • Anthropic Files API
  • Claude
  • Anthropic
  • Model Context Protocol
  • Oasis Security

Techniques named here

  • Invisible prompt injection via URL parameters
  • Data exfiltration via Files API
  • Open redirect abuse
  • Open redirect

Threat actors named here

  • Claudy Day