AI Agent Incident Response: The Evidence You Need When an Agent Is in the Blast Radius
When an AI agent is part of a security incident, the responding team needs to answer three questions per action: which identity authorized the call, what policy applied, and what the agent asked the model. Google Mandiant M-Trends 2026 puts the median handoff from initial access to a secondary threat group at 22 seconds, a tempo that turns after-the-fact log review into forensic archaeology. This piece defines the evidence an incident response team needs from AI traffic, where most teams are blind, and how EU AI Act Article 12 raises the bar on the record.

Google Mandiant's M-Trends 2026 report, built on 500,000+ hours of frontline incident response, found the median time between initial access and handoff to a secondary threat group collapsed to 22 seconds. When an AI agent sits inside that path, the responding team inherits a specific problem: the agent made dozens of model calls in the time it took a human analyst to open the ticket, and the record of what it asked and under whose authority is usually thin or absent. I want to walk through the evidence an incident response team actually needs when an agent is in the blast radius, and why the standard log stack answers the wrong questions.
Why an AI agent complicates incident response
A conventional incident has a user, a session, and a set of actions tied to that session. An AI agent breaks the tidy version of that story. The agent authenticates once, often on a service credential, then issues a stream of model calls on behalf of tasks a human delegated at some earlier point. When something goes wrong (data pulled that should have stayed put, an action taken that no one sanctioned), the responder has to reconstruct which human's intent sat behind a machine identity's call, at machine speed, across a request stream that the application logged for debugging rather than for forensics.
The attribution problem is the hard part. Authentication tells you a service account made the call. It says nothing about which person delegated the task, which policy was in force, or what data classification the prompt carried.
The evidence an IR team needs from AI traffic
Three questions decide whether an AI-agent incident can be reconstructed:
- Identity: which authenticated person or agent authorized this specific call, not just which credential signed it.
- Policy state: which rule was in force at the moment of the decision, and whether the request passed or was blocked.
- Content lineage: what the agent actually asked the model, and what came back.
This maps directly to what NIST frames as action lineage, the structured record of who authorized an action, under which policy, at what moment, with what outcome. A responder who can answer those three questions per call can bound the incident in minutes. A responder working from application debug logs spends the first day establishing what the logs do not contain.
Where most teams are blind
Most AI deployments log the request for operational reasons: latency, token counts, error rates. Those logs sit inside the same application that made the call, which creates a self-attestation problem. The system under review is the system that wrote the record, and three failure modes follow from that arrangement. The application logs the successful calls and quietly drops the edge-case failures. The logs can be modified by the same process that failed. And a crash after the model responds but before the log commits leaves the action taken and the evidence gone. Network DLP does not fill the gap, because it runs underneath TLS and cannot read the prompt content that is the actual subject of the incident.
Inline containment beats after-the-fact detection
At 22-second handoff tempo, a control that fires after the fact is a reporting tool, not a containment tool. The enforcement decision has to happen before the request reaches the model, so a call that violates policy never executes and a response that would exfiltrate never returns. The math favors doing this inline. Policy evaluation at the AI request boundary adds under 50 milliseconds in internal testing, against the 500 milliseconds to several seconds a model takes to respond. The overhead disappears against the model's own latency, so there is no architectural cost to making the control inline instead of asynchronous. A blocked call is the cheapest incident to respond to, because it never became one.
The regulatory clock
Incident response for AI is no longer only a security exercise. EU AI Act Article 12 requires automatic recording of events over the lifetime of a high-risk system to ensure traceability, including timestamps, input data, and the identification of natural persons involved. High-risk obligations apply from August 2, 2026 per the European Commission, and the traceability standard is exactly the record an IR team wishes it had. Tier 2 penalties for high-risk non-compliance reach €15 million or 3% of global annual turnover under Article 99. Building the audit record for the regulator and building it for the responder is the same project.
DeepInspect
This is the problem DeepInspect was built to solve. DeepInspect sits inline between your authenticated users and agents and the LLM endpoints they call, as a stateless proxy. For every request it evaluates who is asking, what role they hold, what data is involved, and organizational policy, then makes a pass or block decision before the traffic reaches the model. That gives the containment side of incident response: a policy-violating agent call is stopped at machine speed rather than caught in tomorrow's log review.
For every decision it commits an identity-bound, tamper-evident audit record before the response returns, written independently of the application that made the call. When an agent is in the blast radius, that record is the action lineage a responder needs: which identity, under which policy, with what prompt and what outcome, per call. DeepInspect does not replace your SIEM, your EDR, or your incident response runbook. It supplies the one evidence layer those tools cannot produce, because they never see inside the AI request. If you are standing up incident response for agentic AI, let's map your AI traffic. Book a demo today.
Frequently asked questions
- What makes AI agent incident response different from standard IR?
An agent authenticates once, often on a shared service credential, then issues many model calls on behalf of delegated tasks. Standard IR ties actions to a user session. With an agent, the responder has to reconstruct which human's intent sat behind a machine identity's calls, which requires identity and policy context that most logs never captured.
- Can I reconstruct an AI-agent incident from application logs?
Rarely in full. Application logs are written for operational metrics and by the same system whose behavior is under review, so they suffer from selective logging, suppression, and loss on crash. They typically lack the identity, policy state, and prompt content a responder needs to bound the incident.
- How does inline enforcement help incident response?
It changes the timeline. A policy check at the AI request boundary blocks a violating call before it executes, which prevents the incident rather than recording it. At a 22-second attack handoff tempo, prevention is the only control that operates fast enough to matter.
- Does EU AI Act Article 12 apply to AI agent incidents?
For high-risk systems, yes. Article 12 requires automatic event logging over the system's lifetime for traceability, including timestamps, inputs, and the natural persons involved. The record that satisfies Article 12 is the same record an incident responder needs, so the two requirements are met by one audit layer.
- What is action lineage?
Action lineage is the NIST framing for a structured record of who authorized an action, under which policy, at what moment, and with what outcome. For AI agents it is the difference between an operational log and forensic evidence, because it attaches identity and policy to each model call.