Guides · Agent security
How to write an AI incident response plan
Traditional incident response plans cover servers going down and data being stolen. AI incidents are stranger: an agent that quietly sent wrong instructions to a hundred customers, a model that leaked a customer's data into a chat summary, a prompt injection that spent money for six hours before anyone noticed. This guide writes the plan for those incidents — the ones where the system worked exactly as designed and that was the problem.
By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
The short answer
Write an AI incident response plan by naming the incidents that are specific to AI: prompt injection and hijacked agents, data leaked through model outputs or retrieval, hallucinations acted on as fact, runaway spend or actions, and model-behaviour changes after an update. For each, define who decides, how to stop the agent (kill switch, revoke keys, freeze outputs), how to reconstruct what happened from logs, and who communicates what to customers. Then rehearse it — a plan nobody has run is a document, and documents do not respond at 2 a.m.
Try it free: FlightRecorder — record what your agents actually do, so an incident plan has a real timeline to work from instead of a guess.
What is an AI incident response plan?
a pre-written, rehearsed set of roles, decisions and steps for responding when an AI system misbehaves — covering the failures unique to AI (manipulation through language, data exposure through outputs, autonomous actions gone wrong) as well as the familiar ones. It exists because AI incidents are discovered late, spread through actions rather than files, and require a different first move than a server outage: stop the agent before you diagnose it.
Name the incidents AI actually has
Start with a short catalogue of scenarios and write one for each: an agent hijacked by injection (sending, paying or sharing), a chatbot revealing another customer's data, a hallucinated fact published to customers or acted on by staff, an agent looping and spending, a model update that silently changed behaviour, and a retrieval misconfiguration exposing internal documents. For each, note how it would be detected (monitoring alert, customer report, log review) and its blast radius. This catalogue is the plan's core: teams that have named the scenario in advance respond in minutes; teams meeting it for the first time spend the first hour arguing about what is happening.
Contain first: the kill switch is step one
For a conventional incident, the first instinct is to diagnose. For an agent incident, the first move is to stop the agent: revoke its credentials, pause its queue, flip the kill switch, freeze outbound actions. A hijacked agent causes damage per minute, and every minute spent understanding the injection is a minute of unauthorised action. Write the stop procedure with the literal clicks or commands, the name of the person authorised to do it without further approval, and the confirmation that it worked. If stopping your agent requires a ticket and a manager's sign-off, your plan has a hole at its first step.
Reconstruct from records, not from memory
AI incidents are reconstructed from logs: tool calls with arguments and results, prompts and retrieval sources, approval records, model version and configuration at the time. If those records are incomplete, tamperable or short-lived, the post-mortem is guesswork — and regulators, insurers and customers will ask questions guesswork cannot answer. The plan must state what is logged, where it lives, who can access it, and how long it is kept. Flight-recorder style logging — complete, append-only, exportable — is not a luxury for agents; it is the incident-response evidence base.
Communicate in the right order
Internal first (who decides, who is affected, what is stopped), then affected customers with specifics (what happened, what data, what you did, what they should do), then regulators or insurers if thresholds are met. Never let the AI system itself draft the customer message unsupervised, and never communicate a cause you have not established. Pre-write the templates for the two or three most likely scenarios — the injected agent and the data leak — so the message during the incident is editing, not composing, under pressure.
Rehearse, then fix the plan
Run a tabletop exercise twice a year: a realistic scenario, the actual people, the actual logs, a timer. The first rehearsal will find that someone cannot reach the kill switch, that the logs are in a system the responder cannot access, or that the customer template names a person who left. That is the exercise working. Update the plan from what the rehearsal found, and record the rehearsal date — a plan whose last test was two years ago is a plan that describes a company that no longer exists.
Your 5-action checklist
- Catalogue the AI-specific incidents (injection, data leak via outputs, hallucination acted on, runaway spend, model change) with detection and blast radius.
- Write the literal stop procedure — kill switch, credential revocation, queue freeze — with a named person authorised to act alone.
- Confirm the log record is complete, tamper-evident and retained long enough to reconstruct an incident discovered weeks later.
- Pre-write customer-communication templates for the two most likely scenarios, with regulator and insurer thresholds noted.
- Rehearse twice a year with the real people and real systems, and update the plan from what the rehearsal finds.
Worked example: Placencia Marine Tours
Placencia Marine Tours, a fictional operator whose booking agent handles WhatsApp enquiries, rehearsed an injection scenario in January: a fake 'tour operator update' message, planted in a forwarded email the agent read, instructing it to email a 'new payment link' to all pending bookings. In rehearsal, the agent was stopped in 4 minutes via the kill switch, the audit trail showed exactly which 38 customers had been contacted, and the pre-written message went out within the hour. Six months later the same attack arrived for real — and the team executed the rehearsed play in 22 minutes end to end, with zero customer payments lost. The rehearsal cost one morning. The real incident cost nothing but the morning's memory of what to do.
Frequently asked questions
How is an AI incident plan different from a normal IT incident plan?
The first move differs (stop the agent, don't just diagnose), the evidence differs (prompt and tool-call logs, not just server logs), and the failure modes differ (the system working as designed but wrongly). The plans share structure — roles, comms, post-mortem — but an IT plan that never mentions stopping an agent will hesitate at exactly the wrong moment.
Who should own the AI incident plan?
One named owner, usually the person accountable for the agent's deployment, with a named deputy. Ownership matters more than seniority: during an incident, 'the team' is not a person who can authorise a shutdown.
What if the incident is just a hallucination — no breach?
It is still an incident if customers acted on it or it reached the public. Treat it as one: contain (correct or retract), reconstruct (what did the model see and generate), and fix the control that let a false statement reach a customer — retrieval, verification or review — rather than blaming the model.
How long should we keep agent logs?
At least as long as your incident-discovery horizon: most AI incidents are discovered weeks after they occur, so 90 days is a floor and a year is the safer choice for anything customer-facing. Retention should be a deliberate decision, not an accident of default settings.
Should we tell customers when an agent misbehaved?
Tell the affected ones, with specifics, once you know the scope. Customers who learn about an AI incident from someone else lose trust in the system and in you; customers who hear it from you, with what you did and what it means for them, mostly stay.
Related guides and tools
- How to choose a website security scanner
- DMARC setup guide for small businesses
- Website security checklist for small businesses
- AI agent security: a buyer's guide
- How much does a website security audit cost?
- DMARC vs SPF vs DKIM: what each one actually does
- How to stop email spoofing of your domain
- AI chatbot security checklist
- All Ingenious AI guides
- The full Ingenious AI platform suite
- The security suite overview
- FlightRecorder — free tool