Skip to content

GLOSSARY, read 12 Nov 2026

Indirect prompt injection, defined with a sourced example

All glossary termsSee the full index

Definition

Indirect prompt injection happens when the instructions come from content the agent reads, such as a web page, a file or a repository, instead of from the user. The agent cannot reliably tell data from commands, so any untrusted content it ingests is a possible channel.

Example from a real source

Example

OWASP says indirect prompt injections occur when an LLM accepts input from external sources such as websites or files.

Where to read more

Sources

  1. genai.owasp.org, read 12 Nov 2026

Last reviewed 12 Nov 2026.