Prompt injection
Attack that places behavioral instructions in input an AI system processes, causing it to depart from the instructions or authority its developer intended.
In plain language
Text inside a page or message tries to become an instruction to the assistant.
In a sentence
- The prompt injection in the retrieved page told the assistant to ignore the user's question.
- A direct prompt injection changed the model's answer format despite the application's instructions.
Usage note
An attacker can put instructions directly in a request or indirectly in a page, document, or tool result. Retrieval does not remove the risk by itself.
Not to be confused with
- Jailbreak
A jailbreak aims to defeat a safety refusal. Prompt injection also covers attempts to redirect ordinary tasks or misuse a tool without that refusal.
Source: OWASP LLM01 (opens in a new tab)
Why it matters
A system that treats retrieved content as authority may obey an attacker who only controls the retrieved content.
See also
- Jailbreak
Adversarial input intended to make a safety trained language model produce an answer it would ordinarily refuse under its safety instructions.
- Guardrail
Rule, check or trained behavior that constrains an AI system's inputs, outputs or actions by detecting, rejecting or redirecting behavior outside specified limits.
- Sandbox
Restricted execution environment that limits which files, network destinations, or other resources an agent's tools can reach while it runs.
- Red teaming
Structured testing of an AI system in which testers act as a potential adversary would, to find its flaws and vulnerabilities, such as inaccurate, harmful or discriminatory outputs.
Cite this term.
CC BY 4.0, attribution required.
Orbyt Labs, Prompt injection (AI Glossary), Nov 27, 2026. https://
Orbyt Labs Glossaries (Dec 1, 2026), https://
Last updated .