Glossary
AI agent security
AI agent security is the set of controls that limit what an AI agent can read, change and send when it acts on its own. It covers the model, the tools it calls, the credentials it holds and the environment it runs in.
Updated
What is AI agent security?
An AI agent is software that uses a language model to plan steps and call tools: it reads files, queries databases, browses the web, sends messages and changes records. AI agent security is the discipline of keeping that behaviour inside safe limits.
It differs from securing a chatbot. A chatbot produces text that a person reads. An agent produces actions, and actions have side effects. A wrong answer is an inconvenience. A wrong action can delete data, leak a customer record or move money.
Why agents create new risk
Traditional software follows code that was reviewed in advance. An agent decides at run time which tools to call and in what order, based on text it reads. That text may come from a user, a web page, an email or the output of another tool. The model cannot reliably tell trusted instructions from untrusted data.
Agents also tend to hold broad access. A single API key often grants read and write access to a whole system, because that was the quickest way to get the agent working.
Agents are also often connected to several systems at once. That makes them useful, and it means that one manipulated step can cross boundaries that people normally keep apart, such as reading from a customer inbox and writing to a finance system.
Example attack scenario
A support agent can read the customer inbox and issue refunds. An attacker sends an email that contains hidden text telling the agent to refund an order and forward the customer list to an outside address. The agent reads the email as part of its normal task and treats the hidden text as an instruction.
No password was stolen and no software flaw was exploited. The agent simply used access it legitimately had, for a purpose nobody intended.
This is why agent security is as much about authority as about software defects. The question to ask is not only whether the code is correct, but what the agent could do if it were wrongly persuaded.
Common mitigations
No single control is enough. Practical programmes combine several layers, so that one failure does not become an incident.
- Isolate each agent in its own runtime, separated from business systems.
- Grant the minimum access needed, using short-lived credentials rather than long-lived keys.
- Check sensitive actions such as writes, deletes, payments and outbound messages against policy before they run.
- Require human approval for actions that are hard to reverse.
- Compare what the agent does with what the user asked for, and stop it when the two diverge.
- Record every governed action so that a review can reconstruct what happened.
How Cager handles AI agent security
Cager is a zero-trust platform for deploying AI agents. Every agent runs in its own isolated microVM, on Kubernetes and Talos Linux, separated from business systems. Credentials stay outside the agent, and connected tools receive short-lived credentials.
Cager checks sensitive actions against policy before they execute, can require human approval, and records every governed action as verifiable evidence for security and compliance review.