Skip to navigation

Threat reportVulnerabilityTL-2026-0291

ShadowPrompt: Zero-Click Prompt Injection Chain via DOM XSS in Arkose Labs CAPTCHA and Claude Chrome Extension Origin Allowlist Bypass

highPATCHED

A chained vulnerability dubbed ShadowPrompt combines a DOM-based XSS flaw in an Arkose Labs CAPTCHA component hosted on a-cdn.claude.ai with an overly permissive origin allowlist (*.claude.ai) in the Anthropic Claude Chrome Extension. This enables zero-click prompt injection — visiting a malicious webpage silently hijacks the AI assistant, enabling Gmail token theft, Google Drive exfiltration, and chat history export.

By

Key facts

IdentifiersTL-2026-0291
Also known asShadowPrompt, Claude Extension Prompt Injection
SeverityHIGH
CVSS8.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N)
Affected productsAnthropic Claude Chrome Extension; Arkose Labs CAPTCHA / Bot Management Widget
Weaknesses (CWE)CWE-79, CWE-346, CWE-94
ToolsArkose Labs CAPTCHA Widget, postMessage API
MITRE ATT&CK techniquesT1005 Data from Local System, T1036 Masquerading, T1059 Command and Scripting Interpreter, T1071 Application Layer Protocol, T1119 Automated Collection, T1189 Drive-by Compromise, T1204 User Execution, T1528 Steal Application Access Token, T1530 Data from Cloud Storage, T1539 Steal Web Session Cookie, T1553 Subvert Trust Controls, T1565 Data Manipulation and 4 more in the attack flow
MotivationUNKNOWN
Target sectorstechnology, enterprise, education, financial, healthcare, government, media
Target regionsGlobal
Detection rules9 (1 shown free)
Sources8 cited sources

Detection coverage

As of 2026-03-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0291 across Splunk SPL, Microsoft KQL and Sigma, covering 15 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: ShadowPrompt Exploitation — External Iframe Loading a-cdn.claude.ai CAPTCHA Endpoint

Detects web proxy traffic where the a-cdn.claude.ai CAPTCHA endpoint is loaded as a sub-resource from a non-claude.ai referrer. In the ShadowPrompt attack chain, an attacker embeds a hidden iframe pointing to the vulnerable Arkose Labs CAPTCHA component on a-cdn.claude.ai. When the referrer is an external domain, this indicates the CAPTCHA is being loaded in a cross-origin context consistent with the initial exploitation phase of the attack.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1189, T1059.007
  • Data sources: web_proxy, bluecoat, zscaler, squid
  • Severity: high
  • Confidence: high

Splunk SPL

index=proxy sourcetype=bluecoat OR sourcetype=zscaler OR sourcetype=squid (url="*a-cdn.claude.ai*" OR cs_host="a-cdn.claude.ai")
| eval referrer_domain=mvindex(split(mvindex(split(http_referrer, "://"), 1), "/"), 0)
| where isnotnull(http_referrer) AND NOT match(referrer_domain, "\.claude\.ai$") AND NOT match(referrer_domain, "^claude\.ai$")
| stats count min(_time) as first_seen max(_time) as last_seen values(src_ip) as source_ips values(http_referrer) as referrers values(http_user_agent) as user_agents by cs_host url
| where count > 0
| table first_seen last_seen cs_host url source_ips referrers user_agents count

Microsoft KQL

DeviceNetworkEvents
| where Timestamp > ago(24h)
| where RemoteUrl has "a-cdn.claude.ai"
| where InitiatingProcessFileName in~ ("chrome.exe", "msedge.exe", "brave.exe", "firefox.exe")
| join kind=leftouter (
    DeviceNetworkEvents
    | where Timestamp > ago(24h)
    | where RemoteUrl !has "claude.ai"
    | where InitiatingProcessFileName in~ ("chrome.exe", "msedge.exe", "brave.exe", "firefox.exe")
    | summarize ExternalUrls=make_set(RemoteUrl, 10) by DeviceId, InitiatingProcessId
) on DeviceId, InitiatingProcessId
| where array_length(ExternalUrls) > 0
| project Timestamp, DeviceName, RemoteUrl, InitiatingProcessFileName, InitiatingProcessId, ExternalUrls

Sigma

title: ShadowPrompt Exploitation — External Iframe Loading a-cdn.claude.ai CAPTCHA
id: 726163eb-b23f-4409-8ba5-aafef47d1014
status: experimental
description: Detects web proxy traffic where a-cdn.claude.ai is loaded from a non-claude.ai referrer, indicating possible ShadowPrompt exploitation via hidden iframe DOM XSS.
references:
    - https://thehackernews.com/2026/03/claude-extension-flaw-enabled-zero.html
    - https://www.koi.ai/blog/promptjacking-the-critical-rce-in-claude-desktop-that-turn-questions-into-exploits
author: Threadlinqs Team
date: 2026/03/27
tags:
    - attack.initial_access
    - attack.t1189
    - attack.execution
    - attack.t1059.007
logsource:
    category: proxy
detection:
    selection:
        c-uri|contains: 'a-cdn.claude.ai'
    filter_legitimate_referrer:
        cs-referer|endswith:
            - '.claude.ai'
            - '://claude.ai'
    condition: selection and not filter_legitimate_referrer
falsepositives:
    - Legitimate third-party integrations embedding Arkose Labs CAPTCHA from non-claude.ai pages
    - Security researchers or penetration testers accessing the endpoint during assessments
level: high

Known false positives:

  • Legitimate third-party integrations embedding Arkose Labs CAPTCHA from non-claude.ai pages
  • Security researchers or penetration testers accessing the CAPTCHA endpoint during assessments

Tuning notes: Whitelist known legitimate referrer domains that embed Arkose Labs CAPTCHA components. Adjust time window based on proxy log ingestion latency. Consider adding User-Agent filtering to reduce false positives from automated scanners.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • ShadowPrompt Exploitation — Browser Process Connecting to Non-Primary [indicator] Subdomain · unlock with TL Creds
  • ShadowPrompt Post-Exploitation — Chrome Extension Accessing Browser Credential Stores · unlock with TL Creds
  • ShadowPrompt C2/Exfiltration — Rapid Successive API Calls to Multiple Google Services from Extension · unlock with TL Creds
  • ShadowPrompt Exploitation — Suspicious postMessage API Usage in Browser Extension Context · unlock with TL Creds
  • ShadowPrompt Post-Exploitation — Chrome Extension Manifest with Overly Permissive Origin Pattern · unlock with TL Creds
  • ShadowPrompt C2/Exfiltration — Chat History and Sensitive Data Staging via Browser Temp Files · unlock with TL Creds
  • ShadowPrompt Post-Exploitation — Anomalous OAuth Token Access Following Claude Extension Activity · unlock with TL Creds
  • ShadowPrompt C2/Exfiltration — Anomalous Outbound Data Volume from Browser Post-Extension Hijack · unlock with TL Creds

Indicators of compromise

As of 2026-03-27, Threadlinqs Intelligence tracks 15 indicators of compromise for TL-2026-0291.

Sample indicators (1 of 15)

  • Domain: claude[.]ai

Defanged, TLP:CLEAR. Full set of 15 indicators: unlock with TL Creds.

15 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

Over 3 million users were exposed before patches were deployed in extension version 1.0.41.

ShadowPrompt is a high-severity chained vulnerability affecting the Anthropic Claude Chrome Extension, discovered by security researcher Oren Yomtov of Koi Security. The attack chain exploits two distinct weaknesses that, when combined, enable zero-click prompt injection against any user with the Claude Chrome Extension installed.

The first vulnerability is a DOM-based Cross-Site Scripting (XSS) flaw in an Arkose Labs CAPTCHA component hosted on the a-cdn.claude.ai subdomain. Arkose Labs provides bot-detection and CAPTCHA services used across many platforms, and in this case, the CAPTCHA widget's JavaScript failed to properly sanitize DOM inputs before rendering them, allowing arbitrary JavaScript execution within the a-cdn.claude.ai origin context.

The second vulnerability is an overly permissive origin allowlist in the Claude Chrome Extension. The extension accepted postMessage communications from any subdomain matching the pattern *.claude.ai, rather than enforcing a strict match to the primary claude.ai domain. This design flaw meant that any code executing on any subdomain of claude.ai — including the attacker-controlled XSS context on a-cdn.claude.ai — could send prompts directly to the extension.

The attack chain works as follows: An attacker crafts a malicious webpage that embeds the vulnerable Arkose Labs CAPTCHA component inside a hidden iframe pointing to a-cdn.claude.ai. When a victim visits this page, the XSS payload executes silently within the a-cdn.claude.ai context. Since a-cdn.claude.ai matches the *.claude.ai allowlist pattern, the injected JavaScript can send postMessage commands to the Claude Chrome Extension. These messages arrive in Claude's sidebar as if they were legitimate user requests from an authorized domain. The victim sees nothing — no popups, no prompts, no indication of compromise.

Once the attacker has prompt injection capability, the hijacked Claude assistant can be instructed to perform actions using its granted permissions, including: stealing Gmail OAuth access tokens, accessing and exfiltrating Google Drive files, exporting the user's entire conversation history with Claude, performing actions on behalf of the victim such as sending emails or making data requests, and accessing any other services the extension has permission to interact with.

The vulnerability is particularly dangerous because it is zero-click — the victim only needs to visit a malicious webpage. No additional user interaction is required. The attack is silent and leaves minimal forensic traces in the browser. With over 3 million users of the Claude Chrome Extension, the potential blast radius was significant.

Anthropic responded to the disclosure by releasing extension version 1.0.41, which enforces strict origin matching requiring an exact match to claude.ai rather than accepting any subdomain. Arkose Labs separately fixed the DOM-based XSS vulnerability in their CAPTCHA component on February 19, 2026. The coordinated disclosure followed responsible disclosure practices, with public disclosure occurring on March 27, 2026, approximately 90 days after the initial report.

MITRE ATT&CK techniques by tactic:

collection

T1005 Data from Local System; T1119 Automated Collection; T1530 Data from Cloud Storage

defense-evasion

T1036 Masquerading

execution

T1059 Command and Scripting Interpreter; T1204 User Execution

command-and-control

T1071 Application Layer Protocol

initial-access

T1189 Drive-by Compromise

credential-access

T1528 Steal Application Access Token; T1539 Steal Web Session Cookie

defense-impairment

T1553 Subvert Trust Controls

impact

T1565 Data Manipulation

exfiltration

T1567 Exfiltration Over Web Service

resource-development

T1583 Acquire Infrastructure; T1587 Develop Capabilities

reconnaissance

T1592 Gather Victim Host Information

Remediation

Patches

  • Claude Chrome Extension v1.0.41 — strict origin check (claude.ai exact match only)
  • Arkose Labs CAPTCHA fix deployed 2026-02-19 — DOM XSS remediation

Immediate actions

  • Update Claude Chrome Extension to version 1.0.41 or later immediately
  • Review Chrome extension permissions and remove unnecessary access grants
  • Revoke and rotate Gmail OAuth tokens and Google Drive access tokens for potentially affected users
  • Monitor for unauthorized email sends, Drive file access, or chat history exports
  • Audit browser extension logs for suspicious postMessage activity from unexpected origins

Workarounds

  • Disable Claude Chrome Extension until updated to v1.0.41+
  • Use Claude via web interface (claude.ai) instead of Chrome Extension
  • Block iframe embedding of a-cdn.claude.ai via browser-level policies
  • Use browser extension managers to restrict extension permissions

Longer-term hardening

  • Implement strict Content Security Policy (CSP) headers on all claude.ai subdomains
  • Enforce exact-match origin validation for all browser extension message handlers
  • Deploy Subresource Integrity (SRI) checks for third-party CAPTCHA and widget scripts
  • Implement browser extension telemetry to detect anomalous prompt injection patterns
  • Conduct regular security audits of third-party components embedded on trusted subdomains
  • Adopt a zero-trust model for cross-origin messaging in browser extensions

Affected and fixed versions

  • Anthropic — Claude Chrome Extension
    Vulnerable versions: All versions prior to 1.0.41
    Fixed in: 1.0.41
  • Arkose Labs — CAPTCHA / Bot Management Widget
    Vulnerable versions: Versions deployed on a-cdn.claude.ai prior to 2026-02-19
    Fixed in: Post-2026-02-19 deployment

Timeline

  • Security researcher Oren Yomtov of Koi Security disclosed the ShadowPrompt vulnerability chain to Anthropic via responsible disclosure
  • Anthropic security team acknowledged receipt of the vulnerability report and began internal investigation
  • Anthropic released Claude Chrome Extension v1.0.41 enforcing strict origin check requiring exact match to [domain withheld] domain
  • Arkose Labs deployed fix for the DOM-based XSS vulnerability in their CAPTCHA component on [domain withheld]
  • The Hacker News, Cyber Security News, SOCRadar, and Purple Shield Security publish detailed technical analyses of the ShadowPrompt attack chain
  • Public disclosure of ShadowPrompt vulnerability by Koi Security; multiple CTI feeds (SOCRadar, Hacker News, Cyber Security News) publish advisories simultaneously
  • As of 2026-05-29, ShadowPrompt is fully remediated: Anthropic shipped Claude Chrome Extension v1.0.41 with strict exact-match origin checks (Jan 2026) and Arkose Labs fixed the [domain withheld] DOM XSS (Feb 2026), closing both halves of the chain. It is unattributed with no CVE and only a researcher PoC; public reporting shows no in-the-wild exploitation or successor.

Sources cited

Previous and next in vulnerability

Further reading

AI-drafted from 8 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats