What is prompt injection?

Definition

A model may encounter outside text while reading a document, website or tool result. Prompt injection tries to make that material act as an instruction rather than as evidence or task data. The resulting confusion can affect later decisions or tool use.

Defences require boundaries between trusted instructions, untrusted content and permission to act. Content filtering alone cannot establish that every instruction-like passage is harmless. Systems also need appropriate access limits and checks before consequential operations.

ELI5

Prompt injection is an attempt to trick an AI with instructions hidden inside the information it is reading. Because a language model sees both commands and ordinary content as text, malicious wording can try to make it ignore the real task or use a tool without permission.

For example, a webpage being summarized might contain hidden text telling the AI to send private files somewhere else. A secure system treats the page as untrusted data, limits the AI's permissions, checks tool requests, and requires approval for important actions.

Can prompt injection come from a tool result?

Yes. Untrusted instructions can appear in material returned by tools, websites or documents, even when the tool itself is legitimate.

Does a stronger model remove the need for permission controls?

No. Access and approval boundaries still need to be enforced around the model's available actions.

  1. Hannes Rudolph, Patrick Erichsen against a black background beside the white and blue headline 'MAKE AGENTS RELIABLE'.
  2. Joshua Achiam and Theo Jaffee against a black background beside the blue-and-white headline “AI CYBER DEFENSE”.
  3. Andrey Rybka in a light blue T-shirt beside the blue and white headline AI Agent Security on black.
  4. Sarthak Aggarwal discussing enterprise AI agent authority and policy enforcement.
  5. A flat attention-blue court filing icon beside the headline The Court Filing Had a Prompt on a black background.
  6. Portraits of Micah Silverman against black with the headline AI SECURITY FOUNDATIONS in attention blue and white.
  7. Tim Scarfe, Ilia Shumailov and Alexander Panfilov beside the headline Reasoning Trace Attacks
  8. Pierce Freeman, Richard Diehl Martinez, Elon Musk, John Gruber against black with the blue and white headline "GROK'S NEXT BIG MOVE?".
  9. Nathaniel Whittemore in blue on the right with one hand at his chin beside the white and blue headline “AGENT RISKS” on black.
  10. Andy Hall beside the headline Do Voters Ask AI? on a pure black background.
Definition card for prompt injection: What is prompt injection?

Prompt injection occurs when untrusted content attempts to redirect an AI system's behaviour beyond the authority of that content.