[KongchangAI]
ConceptIndirect Prompt Injection

Indirect Prompt Injection

An AI security attack technique in which an adversary embeds malicious instructions into external data sources that an AI system reads autonomously—such as web pages, documents, issues, or code comments—causing those instructions to enter the model's context through normal data flow and be executed without direct interaction with the system.

Core Facts

Timeline (last 90 days)

Nov 26

Indirect prompt injection is one of the core security threats facing RAG systems, in which attackers hide malicious instructions in retrieved documents to induce the model to perform unintended operations.

Unverified50%
Nov 17

Embedding instructions in resumes is a typical indirect prompt injection attack surface; a system that cannot isolate content from instructions may be manipulated.

Unverified50%
Nov 6

Traditional defenses such as auditing user input, tightening system prompts and restricting model capabilities all target the agent itself, but indirect prompt injection occurs after retrieved content, bypassing all upfront defenses.

Unverified50%
Nov 6

The fundamental reason indirect prompt injection is harder to detect is that the malicious payload is indistinguishable from normal content before it enters the model.

Unverified50%
Nov 6

Documented consequences of indirect prompt injection include: agents exfiltrating data to external endpoints, calling unauthorized APIs, and impersonating users in downstream systems.

Unverified50%
Nov 3

The email scenario is a typical case of indirect prompt injection: the attacker does not need to contact the victim and can complete the poisoning simply by sending one email.

Unverified50%
Oct 28

The case in this article is a typical indirect injection, which is more covert because the malicious text comes from a third-party data source trusted by the agent rather than from a directly interacting user.

Unverified50%
Oct 28

Indirect prompt injection means an attacker plants instructions in third-party content that an Agent will actively fetch; because LLMs struggle to reliably distinguish "data" from "instructions," there is currently no one-and-done general defense.

Unverified50%
Oct 21

When prompt injection is hidden in tool output it is called "indirect prompt injection" and is more dangerous, because developers often guard only against user input and trust tool returns.

Unverified50%
Oct 19

In direct prompt injection the attacker and victim are the same person (as in jailbreaking), whereas in indirect injection the attacker is a third party who controls external content the model will read, and the victim is an unaware legitimate user.

Unverified50%

40 more timeline events

All Facts (20)

Verified

Indirect prompt injection refers to attackers pre-embedding malicious instructions into third-party content (such as web pages, PDF documents, or API responses), which the model then executes after RAG systems retrieve or tool calls pull this content into the context.

90%
Verified

Prompt injection is divided into two categories—direct injection and indirect injection—where indirect injection refers to attackers concealing malicious instructions in external content that the AI may read, such as webpage body text, code comments, README files, and image OCR text.

90%
Verified

The principle of indirect prompt injection is that an attacker disguises malicious instructions as normal data, delivers them to the model through a data source trusted by the agent, and induces the model to interpret the data as instructions and execute them.

90%
Verified

Prompt Injection is divided into two categories: direct injection and indirect injection; direct injection plants malicious instructions through user input, while indirect injection conceals malicious instructions in external content that the AI may read.

90%
Verified

Indirect prompt injection can hide malicious instructions in external data sources (such as web pages or documents), triggering the attack automatically when an agent reads them.

90%
Verified

Indirect prompt injection is an attack vector in which an attacker embeds malicious instructions in web pages, documents, or emails that an agent may read, inducing the agent to perform operations beyond the scope of the original task.

80%
Verified

Prompt injection can be divided into two types: direct injection and indirect injection; indirect injection is where an attacker hides malicious instructions in external data sources such as web pages, PDFs, and emails, and when an AI agent processes this data the malicious instructions are executed as legitimate instructions.

70%
Verified

Indirect prompt injection refers to attack instructions hidden in external web pages, documents, or API responses accessed by an agent, where the malicious instructions are activated when the agent retrieves and injects them into the context.

70%
Verified

Indirect injection refers to attackers hiding malicious instructions in external content that the model will read, such as webpage body text, email body text, or document content.

65%
Verified

Currently, neither academia nor industry has a universal solution that can fully defend against indirect prompt injection.

65%
Verified

Permissions that appear harmless when held individually by an agent (such as reading files and calling an HTTP library) can enable data exfiltration when combined, which is the tool-combination emergence problem.

65%
Verified

Invariant Labs demonstrated an attack against the official GitHub MCP server: after planting a malicious issue in a public repository, the agent pulled data from the repository owner's private repositories and published it to a public pull request.

65%
Partially Verified

The "lethal trifecta" popularized by Simon Willison points out that when an Agent simultaneously has access to private data, exposure to untrusted content, and an outbound communication channel, its data can be tricked out of it.

65%
Unverified

The attack surface of indirect prompt injection includes any text that flows into the model context, such as emails, web pages, tickets, and contracts.

60%
Unverified

Unlike traditional SQL injection, prompt injection does not rely on syntax vulnerabilities but exploits the large language model's characteristic of treating everything it reads as a potential instruction.

60%
Unverified

Indirect prompt injection hides attack vectors in external documents or web pages read by the model, without the user's knowledge.

60%
Unverified

Indirect prompt injection is more dangerous than direct injection because agents often cannot distinguish between content to be processed and instructions to be followed.

60%
Unverified

Indirect injection attack techniques include embedding hidden text in web pages using the same color as the background, planting jailbreak instructions in PDF metadata or annotation fields, and disguising malicious prompts using Markdown syntax.

60%
Unverified

Indirect prompt injection is one of the core security threats facing RAG systems, in which attackers hide malicious instructions in retrieved documents to induce the model to perform unintended operations.

50%
Unverified

Embedding instructions in resumes is a typical indirect prompt injection attack surface; a system that cannot isolate content from instructions may be manipulated.

50%

Source Articles