All terms
AI in operations

Prompt injection

Prompt injection is an attack in which content an AI reads, such as a supplier email or attached PDF, contains instructions the model follows as if they came from its operator.

Language models do not reliably separate the instructions they were given from the content they are processing, because both arrive as text. An agent asked to summarise a supplier email can be redirected by a line in that email telling it to update the remittance bank details or approve the attached invoice. The instruction can sit in a PDF, an image or white text on a white background that no person ever sees.

It cannot be fixed with a better prompt, because the defence and the attack are written in the same medium. The reliable controls sit outside the model: an agent that reads untrusted input should not also hold unchecked permission to act on it, changes to bank details need confirmation through a separate known channel, and every action should be checked against what the original task allowed.

Depends on, and is depended on by