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.










