Prompt injection
Prompt injection is an attack in which instructions hidden in content an AI system reads, such as a web page, an email or a document, try to make the system ignore its real instructions and do something else.
It matters most for agents, because an agent that reads a malicious email could be told to forward files or change records. Defences include treating all retrieved content as data rather than instructions, narrow tool permissions, confirmation steps for consequential actions, and red teaming that includes injection attempts in the test set.