[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)

Oct 18

Indirect prompt injection is especially dangerous because an attacker can carry out the attack without directly touching the user.

Unverified50%
Oct 17

The AI Standards and Innovation Center under NIST defines agent hijacking as a form of indirect prompt injection.

Unverified50%
Oct 17

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

Unverified50%
Oct 17

Defending against indirect prompt injection cannot rely on prompt engineering alone (such as "please ignore conflicting instructions"), because the model treats all tokens as equally authoritative, and it must rely on architectural-level separation of commands and data.

Unverified50%
Oct 16

In indirect prompt injection, the attack payload can lie dormant for weeks undetected, triggering when a code repository, document, or web page is automatically fetched by an agent.

Unverified50%
Oct 16

For business systems, indirect prompt injection is especially dangerous, because attackers often need no account or login, as long as they can influence some indexed data source.

Unverified50%
Oct 16

The core principle for defending against indirect prompt injection is the separation of data and instructions, that is, wrapping external data source strings in boundary tags (such as <untrusted_data>) and stripping control tokens that could be disguised as conversation role markers (such as <|im_start|>, [INST], etc.).

Unverified50%
Oct 15

The focus of defending against indirect prompt injection cannot be on 'identifying malicious text' but must be on capability constraints—even if the agent is persuaded to call a tool, the system should have the authority to refuse that call.

Unverified50%
Oct 15

In an agent scenario with three tools—reading tickets, reading customer records, and sending email—instruction text embedded in the ticket body can cause the agent to call the customer records and email tools without any traditional exploit and without stolen credentials, because permissions are granted per session rather than per call.

Unverified50%
Oct 14

The key areas of the indirect prompt injection attack surface include tool descriptions and metadata, retrieved documents, tool outputs, and persistent memory.

Unverified50%

31 more timeline events

All Facts (20)

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.

85%
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.

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

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.

65%
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.

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

The industry has yet to find a solution that fundamentally resolves prompt injection, and can only reduce the risk through multi-layered defenses.

65%
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.

65%
Unverified

Indirect prompt injection is especially dangerous because an attacker can carry out the attack without directly touching the user.

50%
Unverified

The AI Standards and Innovation Center under NIST defines agent hijacking as a form of indirect prompt injection.

50%
Unverified

Defending against indirect prompt injection cannot rely on prompt engineering alone (such as "please ignore conflicting instructions"), because the model treats all tokens as equally authoritative, and it must rely on architectural-level separation of commands and data.

50%
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.

50%
Unverified

In indirect prompt injection, the attack payload can lie dormant for weeks undetected, triggering when a code repository, document, or web page is automatically fetched by an agent.

50%
Unverified

For business systems, indirect prompt injection is especially dangerous, because attackers often need no account or login, as long as they can influence some indexed data source.

50%
Unverified

The core principle for defending against indirect prompt injection is the separation of data and instructions, that is, wrapping external data source strings in boundary tags (such as <untrusted_data>) and stripping control tokens that could be disguised as conversation role markers (such as <|im_start|>, [INST], etc.).

50%
Unverified

The focus of defending against indirect prompt injection cannot be on 'identifying malicious text' but must be on capability constraints—even if the agent is persuaded to call a tool, the system should have the authority to refuse that call.

50%
Unverified

In an agent scenario with three tools—reading tickets, reading customer records, and sending email—instruction text embedded in the ticket body can cause the agent to call the customer records and email tools without any traditional exploit and without stolen credentials, because permissions are granted per session rather than per call.

50%
Unverified

A file-read tool with path traversal, a URL fetch tool without target filtering (an SSRF vector), and a Shell execution tool without an allowlist (arbitrary code execution) are all exploitable items for indirect prompt injection.

50%
Unverified

Indirect prompt injection is structurally consistent with stored XSS: the malicious content resides in the data source in advance rather than entering the system at the time of the user query, revealing that statically stored data also crosses trust boundaries.

50%

Source Articles