Susceptibility, Damage, and Recovery for AI Agents
The Security Survivability Engineering trio of susceptibility, damage, and recovery time determine how bad a compromise gets. Each of them behaves differently for an AI agent, because the system reads instructions and acts on them.
The three questions to ask are what lets someone reach the system, what they can do once inside, and how long the team takes to notice and clean up. A traditional system such as a database or a server answers all three through firewall rules, admin permissions, and a documented restore process. An agent answers them through looser means, namely the content it reads, the tools it may call, and the trace it leaves after it has acted.
Almost anything that puts text in front of an agent can reach it, including a user message, a document it summarizes, or a webpage it fetches to draft a reply. Any of these can carry instructions the agent treats as legitimate, which stretches the input surface far beyond what a network diagram shows. Testing that surface resembles testing a firewall rule. Feed the agent a normal-looking task with a hidden instruction inside it, then check whether it follows the hidden instruction or the real one.
The tools and credentials an agent holds might limit what a compromise can do. However, because a useful agent tends to hold a slice of access across several systems, that limit often exceeds a single admin login. A support agent that reads tickets, issues refunds, and searches customer records exposes all three abilities the moment something manipulates it, including the ones the user never asked about. Listing every tool the agent can call along with the permission behind each one turns a vague sense of its reach into a specific list to defend. Asking what the worst version of each call could do when triggered by something other than the real user completes the picture.
Recovery is where the comparison with traditional systems starts to break. An agent that took a string of bad actions over an unknown stretch of time has no playbook waiting for it, unlike a compromised database. Revoking access, isolating the system, and restoring a clean backup returns a database to a known state, while rolling back an agent that sent emails or changed records under manipulation cannot undo what already happened out in the world. A model steered gradually through its own context raises the same problem in a different form, since that manipulation rarely produces one clean event to point at and reverse. Most incident plans built for traditional infrastructure say nothing about this scenario; the omission usually surfaces for the first time during an actual incident.
Answering the same three questions for an agent takes different instrumentation. Logging every tool call in enough detail to reconstruct the full sequence gives the team the closest thing to a timeline once something goes wrong. Scoping an agent's credentials to the minimum its task needs shrinks the damage question before any incident forces an answer. Testing how long it actually takes to notice an agent behaving badly turns detection time into something tangible; an agent that runs unsupervised for three days before anyone notices has a three-day detection time, whatever the incident plan claims on paper.
Running this exercise against every agent in production, one at a time, starting with the one that holds the widest tool access or reaches the most consequential system, turns a thought experiment into an actual ranking. The playbook for recovering from a manipulated agent may not yet exist in most places. Learning that now is far better than learning it during an incident.