AI Glossary

Prompt injection

noun phraseAI securitypreferred in this glossary

Attack that places behavioral instructions in input an AI system processes, causing it to depart from the instructions or authority its developer intended.

Source: OWASP LLM01 (opens in a new tab)

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.

Examples written for this glossary

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

Why it matters

A system that treats retrieved content as authority may obey an attacker who only controls the retrieved content.

Read more: Agent security method

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.

This term

Orbyt Labs, Prompt injection (AI Glossary), Nov 27, 2026. https://www.orbytlabs.ai/orbyt-collective/glossary/prompt-injection

The dataset (JSON)

Orbyt Labs Glossaries (Dec 1, 2026), https://www.orbytlabs.ai/glossary#dataset

Last updated .