An AI agent doesn't only receive instructions from its developer.
It reads webpages, retrieves documents, consumes tool outputs and interacts with systems that contain data the model cannot inherently trust.
That creates a security problem that is fundamentally different from a traditional chat application.
The instruction and the data can look alike
Consider an agent that retrieves a webpage to summarize a product.
The page may contain ordinary information. It may also contain instructions designed to manipulate the agent into taking actions outside the user's intent.
The agent processes both as text.
This is why prompt injection isn't simply a matter of finding suspicious phrases.…