- Contain
- Preserve
- Invoke your incident procedure
- Establish the blast radius
- Tell the people affected what you know
- Reconstruct the sequence
- Ask four questions in order
- Complete an agent review record
- Test the route that failed
- Write the incident as a finding
What not to do
- Do not start by fixing the prompt. A changed prompt destroys the evidence of what happened and rarely addresses why it could.
- Do not restart it to see whether it happens again.
- Do not blame the model. Agents do what their tools and permissions allow. Somebody granted those.
The first 48 hours
- Contain. Disable the agent, or the one tool involved, or the one customer's access, whichever is the smallest action that stops further harm. Record who did it and when. If nobody knows how, that is a finding and you now need engineering to do it by hand.
- Preserve. Export the logs of tool calls, the policy decisions, the conversation or trigger, the agent's configuration and its tool manifest as they stood. Take copies before anyone changes anything.
- Invoke your incident procedure. An AI incident is an incident. If personal data, money or a customer is involved, your existing notification duties apply; counsel decides which.
- Establish the blast radius. What else could this agent have done with the same permissions? Check whether it did.
- Tell the people affected what you know, through whoever normally does that, once counsel agrees the wording.
The first two weeks
- Reconstruct the sequence. What input arrived, what the agent decided, which tool it called, with what arguments, and what the tool did. Use the logs, not recollection.
- Ask four questions in order. Was the action within the agent's permissions? Should it have been? Was approval required, and was it sought? Did any guardrail see it?
- Complete an agent review record against the running configuration. Most incidents trace to a write permission granted for a pilot.
- Test the route that failed. If untrusted content carried an instruction, test every channel through which such content reaches the agent.
- Write the incident as a finding and add a regression test to the defect log, so the same failure is caught next time.
Conditions for switching it back on
Write these down before anyone asks when it will return.
- Every write-capable tool has an explicit rule: allowed, approval required or denied.
- High-impact actions require a human approval that is recorded.
- Runtime policy runs in Observe, and someone reads its decisions, before it enforces.
- The kill switch has been rehearsed and timed by someone other than its author.
- The business owner has signed that they accept the agent's return on these terms.
Who leads, and what comes next
Your incident lead runs the response. The agent's business owner decides whether and when it returns.
The work in the second week is an Agent Guardrail Sprint run under pressure. The agentic risk checker gives a quick posture for your other agents.
Better still, rehearse it before it happens: the incident tabletop runs this situation with the people who would be called, one development at a time.
VERITRAIL controls cited
- IS-11 Least-privilege tool accessNIST AI RMF: MEASURE 2.7, MANAGE 2.2ISO/IEC 42001: A.6.2.6, A.4.4EU AI Act: Art. 15, Art. 14
- IS-13 Human approval for high-impact actionsNIST AI RMF: GOVERN 3.2, MANAGE 2.2ISO/IEC 42001: A.9.2, A.6.2.6EU AI Act: Art. 14
- IS-14 Prompt-injection and data-leakage testingNIST AI RMF: MEASURE 2.7ISO/IEC 42001: A.6.2.4EU AI Act: Art. 15
- IS-15 Kill switch and rollbackNIST AI RMF: MANAGE 2.4ISO/IEC 42001: A.6.2.6EU AI Act: Art. 14
- SE-04 AI incident management and reportingNIST AI RMF: MANAGE 4.3, MANAGE 2.3ISO/IEC 42001: 10.2, A.8.4EU AI Act: Art. 73, Art. 26
- SE-08 Immutable action loggingNIST AI RMF: MEASURE 2.8, MANAGE 4.1ISO/IEC 42001: A.6.2.8EU AI Act: Art. 12, Art. 19, Art. 26
Framework mappings are indicative VERITRAIL interpretations (Control Library v1.0.0); they are not legal advice and do not establish conformity or compliance.
Important: VERITRAIL supports governance readiness, control implementation and evidence collection. It does not certify ISO/IEC 42001 conformity, guarantee EU AI Act compliance, or replace legal advice. Framework mappings are indicative.