What is Agent security?
In Turkish: Ajan güvenliği · Topic: Safety and ethics
Work to prevent AI agents, which use tools and take actions on a user's behalf, from carrying out unauthorized, mistaken or harmful operations or from being abused by others.
How does it work?
Because agents can reach tools such as email, files, browsers and payments, their risks are greater than those of chatbots. A leading threat is prompt injection, where instructions hidden in a web page or an email lead the agent astray. Safeguards include giving the agent only the permissions it needs, running it in a sandbox, requiring human approval for critical actions, setting spending limits and logging every action. No single measure is considered enough, so defenses are layered.
Why does it matter?
Agents do more than generate text; they take actions with real-world consequences, so a mistake or an attack can mean lost money, leaked data or deleted files. As companies connect agents to business processes, managing these risks is becoming a priority. It is widely accepted that there is no complete, standalone fix for prompt injection.
Example
An agent that reads and answers email could be steered by hidden instructions in an incoming message into sending out a contact list, which is why sending email can be made to require the user's approval.
FAQ
Is agent security the same as model safety?
No. Model safety focuses on what kinds of outputs a model produces. Agent security also covers the actions the model takes with tools, the permissions it holds and untrusted content that arrives from outside sources.
Can prompt injection be fully prevented?
There is currently no accepted standalone fix. That is why measures such as limiting permissions, adding approval steps and monitoring are used together.