← Matrix
AML.T0051.001 sub-technique Realized

Indirect

Sub-technique of AML.T0051 — LLM Prompt Injection

An adversary may inject prompts indirectly via a separate data channel that the LLM or AI agent ingests, such as text or multimedia pulled from documents, emails, databases or websites. These instructions originate from adversary-controlled content rather than the legitimate user, and are frequently hidden or obfuscated (See LLM Prompt Obfuscation) from the user, for example as invisible text.

Adversaries may use this to hijack an agent or LLM in order to gain a foothold in the target system or to act against an unwitting user of that system, inheriting whatever privileges the AI system holds. Adversaries may also stage the lure that causes the content to be reached (See AI Agent Clickbait), or use the resulting foothold to establish persistence (See AI Agent Context Poisoning).

Indirect prompt injections have been observed in the wild, with potential impact ranging from harmless pranks, to search engine optimization manipulation, data exfiltration, and destructive actions.[[google-prompt-injections-web]]

> curated attacks (14)

Incident high 2026-07-11

GhostCommit: Prompt Injection Hidden in Images Steals Agent Secrets

Attackers concealed instructions inside PNG images that AI coding agents ingest and 'read.' When agents like Cursor and Google Antigravity processed the image, the hidden prompt executed — steering them to collect and exfiltrate developer secrets.

Research high 2026-06-29

BioShocking: Game-Framed Credential Theft from AI Browsers

A puzzle/game page that rewarded intentionally wrong answers conditioned a browser agent to accept 'incorrect' actions as valid, then steered it to copy SSH credentials from a signed-in GitHub account to an attacker page — tested by LayerX against six agentic browsers.

Incident high 2026-06-05

Prompt Injection in Claude Code GitHub Actions Steals CI/CD Secrets

Untrusted text in a GitHub issue or pull request steered a Claude Code GitHub Action into reading process environment variables and CI/CD secrets, then exfiltrating them — turning an automated code agent into a credential-harvesting tool.

Research high 2026-03-03

PleaseFix / Grand Theft Atlas: Zero-Click Agentic-Browser Hijack

A single planted comment, email, calendar invite, or web page hijacked an agentic browser's understanding of the user's task — 'intent collision' — and redirected it to act across other sites the user was authenticated into, including local-file and password-manager workflows.

Incident high 2026-02-09

Clinejection: Issue Title to npm Supply-Chain Compromise

A malicious GitHub issue title was interpolated directly into Cline's AI triage agent prompt, leading through GitHub Actions cache poisoning to stolen npm, VS Code Marketplace, and OpenVSX publication credentials and an unauthorised cline@2.3.0 npm release that force-installed the OpenClaw agent on about 4,000 developer machines in an ~8-hour window.

Research high 2026-02-03

OpenClaw: Command & Control of an AI Agent via Prompt Injection

A booby-trapped webpage delivered an indirect prompt injection that made an autonomous AI agent silently execute a script, then plant persistent instructions into its future context — turning the agent itself into a command-and-control channel.

Incident critical 2025-09-25

ForcedLeak: CRM Data Exfiltration from Salesforce Agentforce

Malicious instructions embedded in a Web-to-Lead submission were later executed by Salesforce Agentforce during normal employee use, exfiltrating CRM data through an attacker-acquired domain still on Salesforce's CSP allowlist — bought for $5.

Incident high 2025-09-18

ShadowLeak: Zero-Click Gmail Theft via ChatGPT Deep Research Agent

A hidden prompt in an email made OpenAI's ChatGPT Deep Research agent collect inbox data and exfiltrate it from OpenAI's own cloud — a service-side, zero-click leak invisible to local or enterprise defenses.

Research high 2025-08-06

Invitation Is All You Need: Hijacking Gemini to Control a Smart Home

Malicious instructions hidden in a Google Calendar invitation title were executed when Gemini later summarized the user's schedule — triggering real-world actions through connected Google Home tools: opening windows, turning off lights, and starting a boiler.

Incident critical 2025-06-11

EchoLeak: Zero-Click Data Exfiltration from Microsoft 365 Copilot

A single crafted email — no clicks required — planted hidden instructions that Microsoft 365 Copilot ingested from context, then abused trusted markdown image rendering to exfiltrate internal data to an attacker server. The first documented zero-click exploit of a production LLM assistant.

Incident high 2025-05-01

GitHub MCP Prompt Injection: Private Repos via a Public Issue

A malicious public GitHub issue carried hidden instructions that an agent using the GitHub MCP server followed, exfiltrating private repository contents the user had authorised — poisoning via data, not via tool metadata.

Research high 2024-08-20

Data Exfiltration from Slack AI via Indirect Prompt Injection

A malicious instruction posted in a public Slack channel was ingested into Slack AI's RAG index, then coaxed the assistant to leak data from private channels — rendered as a clickable link that carried secrets to an attacker.

Research high 2024-03-05

Morris II: A Self-Replicating Worm for GenAI Ecosystems

An adversarial self-replicating prompt spreads between GenAI-powered email assistants: each infected assistant carries out malicious actions and poisons the RAG of the next, propagating agent-to-agent with zero clicks.

Research high 2024-02-01

Hacking ChatGPT's Long-Term Memory with Prompt Injection

A prompt injection hidden in a shared document wrote false, persistent 'memories' into ChatGPT's long-term memory. Because memories survive across sessions, the planted instructions could exfiltrate future conversations indefinitely.