Zenity Raises $125 Million to Secure the Era of 1 Billion AI Agents

From Alert to Containment: What Changes When the Thing You're Responding to Is an AI Agent

Portrait of Dina Durutlic
Dina Durutlic
Cover Image

Key Takeaways

  • AI incident response extends traditional IR; it doesn't replace it. The core phases still apply; what changes is the evidence and the decisions inside each phase.
  • A playbook built for AI agents needs its own trigger conditions. Most AI-specific compromises never fire a conventional alert, so waiting for one means waiting too long.
  • Containment for an AI incident is rarely "turn it off." The real skill is scoping the blast radius so the business keeps running while the agent doesn't.
  • Malicious intent and external manipulation can look identical from the outside, and the agent's own account of what happened can't be trusted. Telling them apart is an investigative step, not an assumption you make going in.
  • AI-assisted security tooling speeds up triage and correlation. It doesn't replace the human judgment calls on containment and disclosure.

AI incident response is what happens after something goes wrong with an AI agent and a human has to decide what to do about it, and that decision looks nothing like a traditional IR call. There's no server to isolate, no obvious file to quarantine, and often no conventional alert at all. Instead, there's a conversation log, a chain of tool calls, and a question that has to be answered fast: is this agent actively causing harm right now, and if we stop it, what breaks along with it?

This article covers what AI incident response is, how AI-assisted security tooling fits into it, how to build a playbook for AI agent compromises specifically, and how to move from alert to containment without taking down the business in the process.

What Is AI Incident Response?

AI incident response is the discipline of detecting, containing, and recovering from security events that originate in or involve an AI system: a model, an agent, a connector, or the workflow they're embedded in. It sits on top of the incident response lifecycle security teams already run. NIST SP 800-61r3 remains the foundational framework, and MITRE ATLAS extends it to cover AI-specific threat vectors, per Glean's guide to building an AI incident response playbook, but the core phases, preparation, detection, containment, and recovery, stay intact. What's different is what happens inside each one.

A model can drift, hallucinate, or be manipulated into an unintended action. At the same time, every infrastructure dashboard shows green, because the technical layer looks healthy even when the model's behavior has failed. That single fact is why AI incident response has to exist as its own discipline rather than a footnote inside an existing IR plan: the signal an analyst needs to catch the problem doesn't look like a signal at all until someone knows to look for it.

Traditional IR vs. AI IR

The phases haven't changed. Almost everything inside them has.

  • Signal: Traditional IR looks for structured, parseable signals such as signature matches, IP reputation, and endpoint telemetry. AI IR has to watch conversational and behavioral signals instead, since the harm often originates inside a prompt or a tool call rather than a network packet.
  • Evidence: Traditional IR collects disk images, memory dumps, and packet captures. AI IR needs prompts, model outputs, tool-call chains, and the context an agent was operating on at the time.
  • Containment: Traditional IR isolates a host or blocks an IP. AI IR scopes a specific session, agent, or workflow, because isolating the wrong thing can take down every legitimate use of the same system.
  • Root cause: Traditional IR identifies a vulnerability or misconfiguration. AI IR often has to determine something murkier first: was this agent manipulated, or did it act on legitimate instructions that turned out to be harmful?
  • Tooling: Traditional IR runs on SIEM, EDR, and firewall logs. AI IR needs those plus AI gateway alerts, prompt-layer classifiers, and correlation across identity, application, and connector activity.

AI-Assisted Security: How AI Helps Respond to AI Incidents

Modern security operations increasingly use AI to keep pace with AI-driven threats: alerts get enriched automatically, response actions execute programmatically, and decision-support systems surface recommendations before an analyst even opens a ticket. Incident response, as a result, is no longer just a process; it's becoming a decision system. Automation accelerates response without removing control, and AI enhances understanding without replacing judgment, at least when it's implemented well.

That balance matters because both failure modes are real. Over-automation can lead to a loss of control or unintended consequences; over-reliance on manual review can slow response past the point it's useful. The fix is defining clear decision thresholds up front: high-confidence scenarios can trigger an immediate, automated response, while ambiguous situations escalate to a human. Zenity's own explanation of AI Detection and Response as a discipline makes a similar point: effective detection depends on correlating an agent's build-time configuration with its runtime behavior, not treating either in isolation.

How Do You Build an IR Playbook Specifically for AI Agent Compromises?

A well-designed playbook has four components regardless of what it's responding to: trigger conditions that define the signals that initiate it, investigation steps for gathering and validating context, decision points where human judgment is required, and response actions for containment, eradication, and recovery. For AI agent compromises specifically, each of those four components needs its own AI-specific version.

Trigger conditions

Look for override phrases such as attempts to bypass system instructions, unusual or excessive tool calls, sudden permission errors, repeated retries against the same resource, abnormal retrieval hits, and outputs that contain hidden prompts or sensitive strings that shouldn't be there. None of these look like a traditional alert on their own. They only become a trigger once someone has decided in advance that they should be.

Investigation steps and severity tiers

Assign severity and an accountable owner within the first few minutes of triage, before deep investigation starts, so the response doesn't stall on a debate about whose problem this is. Predefined severity tiers, mapped to specific incident types such as prompt injection, data exfiltration, or goal hijacking, let the team apply a consistent decision tree instead of improvising one during an active incident.

Decision points and response actions

Build the decision tree before you need it: which containment actions can run automatically, and which require a human to sign off first. Kill switches provide immediate, full shutdown for active data leakage or clear malicious action. Safe modes let an agent keep analyzing and recommending while removing its ability to execute actions, which keeps an investigation moving without a full outage. Circuit breakers stop operations automatically once anomaly or error thresholds are exceeded, and feature flags let you disable one capability, such as a refund workflow, while leaving the rest of the agent's functions online.

Test the whole thing before it's needed. Tabletop exercises with red-team scenarios simulating prompt injection, data exfiltration, and goal hijacking surface the gaps in a decision tree that look fine on paper but fall apart when a team is actually running through them under time pressure.

What Logs, Traces, and Telemetry Are Essential for Reconstructing What an AI Agent Did?

At minimum, an AI IR playbook needs access to:

  • Per-decision audit records for every agent action, including the policy version in effect, the identity context, the data classification involved, and the decision outcome.
  • The full tool-call chain for the incident window, showing which tool was invoked, with what parameters, and what result came back, not just that a tool call happened.
  • The semantic content of query logs, not just their metadata, since what was actually asked and answered carries more investigative weight than when it happened.
  • Reasoning traces and tool execution history where available, with the caveat that their length and complexity often make full human review impractical during an active incident.

In practice, this means being able to run a query and getting a real answer back. If that query isn't possible in your environment today, that's the gap to close before the next incident, not during it.

The instinct during an AI incident is to block everything: shut down the service, revoke all access, sort it out later. That approach punishes every user for one incident. Targeted containment neutralizes the specific threat while preserving legitimate use. In practice, that means blocking the specific unsanctioned application or workflow while leaving approved AI services operational, restricting access by group or department to limit blast radius, and applying conditional access policies scoped to the incident window rather than the whole environment.

Scoping to a specific session rather than an entire agent fleet is usually the fastest way to stop the bleeding without an outage: suspending one session, revoking the credentials that specific session used, and rotating any API keys the agent touched, contains the incident without affecting every other user of the same agent.

It's worth setting expectations honestly here too: containment for AI incidents is often incomplete. Once a model has memorized data, it stays in that model until it's retrained or deleted, so containment reduces ongoing exposure without undoing prior exposure, according to Cisco's guidance on AI incident response readiness. That's a harder message to deliver to leadership than "it's contained," but it's the accurate one.

How Do You Determine Whether an AI Agent Acted Maliciously or Was Externally Manipulated?

This question is harder than it sounds because the agent's own account of what happened is not a reliable source. An agent that's been manipulated through prompt injection may not faithfully disclose that it was compromised in its final response, and can even fabricate a plausible-sounding explanation for an action that was actually irrelevant or malicious, according to red-team research from an indirect prompt injection benchmark developed with the UK AI Security Institute and frontier AI labs. Tool execution history can, in principle, help identify manipulation. Still, the length and complexity of that history makes effective human inspection difficult in practice, and monitoring the model's reasoning trace runs into the same problem.

Since the agent's self-report can't be trusted, the determination has to come from correlating the action against everything around it:

  • Pull the full context window for the decision in question and check whether it contains untrusted, ingested content, a document, email, or webpage that includes instruction-like language the agent had no legitimate reason to follow.
  • Check whether the harmful action was requested by a peer agent rather than a human or the original task. Research on multiple frontier models found they will execute commands requested by a peer agent that they would resist if the identical request came through a direct prompt, since agents tend to treat peer agents as inherently trustworthy.
  • Distinguish direct injection, where the harmful instruction came through the agent's own input channel, from indirect injection, where it was hidden in content the agent processed as part of a legitimate task. The distinction changes both the disclosure obligation and where the fix belongs.
  • Ask whether the action deviates from the agent's stated task at that specific moment, rather than whether the action was harmful in isolation. A legitimate task can still produce a harmful outcome without any manipulation at all, which is its own category worth ruling in or out explicitly.

In most cases, the containment steps look the same either way. Attribution matters most for what comes after containment: whether this is a disclosure event, a vendor or tool issue to report upstream, or a policy gap in how much autonomy the agent had in the first place.

The Dimensions of AI Incident Response

Pulling the sections above together, AI incident response can be understood along five dimensions that a mature program has to address explicitly rather than inherit by default from a traditional IR plan:

  • Detection surface: Conversational and behavioral signals inside prompts and tool calls, not just network and endpoint telemetry.
  • Evidence type: Prompts, model outputs, tool-call chains, and context windows, alongside the logs a traditional investigation would already collect.
  • Containment strategy: Scoped to a session, agent, or workflow first, with full shutdown as a last resort rather than a default.
  • Attribution: A dedicated investigative step to separate malicious intent from external manipulation, since the agent's own explanation can't settle the question.
  • Regulatory timeline: Obligations that can trigger simultaneously depending on the incident and jurisdiction, including GDPR's 72-hour breach notification window and the EU AI Act's incident reporting requirements for high-risk systems.

Build the Playbook Before the Alert Fires

Every one of the decisions above is easier to make in a tabletop exercise than at 2 a.m. during a live incident. The teams that respond well aren't the ones with the sharpest crisis instincts. They're the ones who wrote the trigger conditions, the decision tree, and the containment options down before they needed them.

See how Zenity's AI Detection and Response capabilities give your team the agent-level visibility, per-decision audit trail, and scoped containment actions this playbook depends on. Book a demo with Zenity to see it against your own environment.

FAQs About AI Incident Response

What is AI incident response?

AI incident response is the practice of detecting, containing, and recovering from security incidents that involve an AI model, agent, or connector. It builds on the traditional incident response lifecycle but requires different evidence, trigger conditions, and containment strategies, since failures are often behavioral rather than infrastructural.

How is AI incident response different from traditional incident response?

The phases stay the same, but the signal, evidence, containment approach, and root-cause investigation inside each phase change. Traditional IR watches network and endpoint telemetry; AI IR has to watch conversational and behavioral signals, since the harm often originates inside a prompt or tool call that never trips a conventional alert.

How do you build an IR playbook specifically for AI agent compromises?

Define AI-specific trigger conditions (override phrases, unusual tool calls, abnormal retrieval hits), assign severity tiers and named owners for each incident type, build a containment decision tree that separates automated actions from those requiring human sign-off, and test it with tabletop exercises simulating prompt injection and goal hijacking before a real incident happens.

What logs and telemetry are essential for reconstructing what an AI agent did?

Per-decision audit records with identity context and policy version, the full tool-call chain showing what was invoked and with what parameters, the semantic content of query logs rather than just metadata, and reasoning or tool execution traces where available, understanding that their volume often limits how much a human can review during an active incident.

How do you scope and contain an AI-related incident without shutting down business operations?

Contain at the narrowest scope that neutralizes the threat: a specific session, agent, or workflow rather than the entire platform. Use safe modes to keep an agent analyzing without executing actions, circuit breakers to stop it automatically past a risk threshold, and feature flags to disable one capability while leaving the rest of the system running.

How do you determine whether an AI agent acted maliciously or was externally manipulated?

You can't rely on the agent's own explanation, since a manipulated agent may not disclose the manipulation and can fabricate a plausible account of its actions. Instead, correlate the action against the full context window for evidence of injected instructions, check whether the request came from a peer agent, and determine whether the action actually deviated from the agent's legitimate task at that moment.

What role does AI-assisted security play in incident response?

AI-assisted tooling speeds up enrichment, correlation, and triage, and can execute low-risk containment actions automatically. It works best when paired with clear, predefined thresholds for when a decision escalates to a human, since over-automating high-risk decisions and over-relying on manual review are both failure modes.

All Academy Posts

Secure Your Agents

We’d love to chat with you about how your team can secure and govern AI Agents everywhere.

Get a Demo