AI SECURITY INCIDENT RESPONSE

Control agency, preserve state, restore trust

A lifecycle and operational playbook for incidents involving models, prompts, agents, retrieval systems, identities, data, and tools.

Capability: AI-IRPlaybook: AI-IR-01Last reviewed: September 1, 2026
01 / SCOPE

Recognize AI incidents by violated boundaries

Escalate when AI-enabled behavior crosses a confidentiality, integrity, availability, safety, or authorization boundary. A surprising answer alone is not necessarily an incident; validate the behavior and its downstream effect.

Inputs and knowledge

  • Direct or indirect prompt injection
  • System or developer instruction manipulation
  • RAG, vector-store, memory, or knowledge-source poisoning
  • Sensitive-data disclosure through prompts, retrieval, or output

Agency and identity

  • Tool or function abuse
  • Excessive agency or unauthorized autonomous action
  • Delegated identity, session, authorization, or approval abuse
  • Model/API credentials, tokens, or secrets compromised

Behavior and supply chain

  • Malicious or unexpected model/tool behavior
  • Unauthorized model, prompt, agent, policy, or orchestration changes
  • Compromised models, packages, plugins, tools, connectors, or dependencies
  • Unexpected downstream writes, messages, transactions, deployments, or egress
02 / EVIDENCE

Preserve the control plane and execution path

A transcript alone is incomplete. Preserve raw records with UTC timestamps, correlation identifiers, source, collection method, configuration version, retention limits, and chain-of-custody metadata where required.

Minimum AI incident evidence by layer
LayerPreserveQuestions
Conversation and instructionsPrompts, responses, system/developer instructions, safety policies, memory, templates, timestamps, correlation IDsWhat influenced the model, and what did the user see?
Model and agentProvider, model and version, agent configuration, orchestration graph, sampling/runtime settings, change historyWhich executable configuration produced the behavior?
Tools and executionTool/function calls and parameters, tool results, approvals, denials, retries, agent execution traces, queue and job stateWhat action was attempted, authorized, and completed?
Retrieval and knowledgeRAG queries, retrieved documents and versions, rankings, index/vector-store changes, ingestion and source provenanceWas untrusted or modified knowledge used?
Identity and authorizationUser, workload and agent identities; sessions; delegated grants; roles; policy decisions; human approversWhose authority was used and was it valid?
Provider and applicationModel/API activity, data-access logs, network activity, application/security telemetry, content filters and policy evaluationsWhat data moved and which systems were affected?
Preserve ephemeral state early. Pause retention expiry where authorized and export queues, scratchpads, memory, retrieval results, temporary credentials, execution traces, provider request IDs, and in-flight approvals before stopping or redeploying components. Minimize unrelated personal or customer data.
03 / LIFECYCLE

Run an iterative AI incident lifecycle

ValidateReproduce safely, confirm boundary violation, distinguish model uncertainty from completed action.
ScopeMap identities, agents, models, tools, knowledge, data, destinations, and downstream effects.
ContainReduce unsafe authority while preserving evidence and essential service.
EradicateRemove poisoned sources, compromised credentials, unsafe logic, persistence, and vulnerable dependencies.
RecoverRollback to trusted versions, stage capability restoration, and validate target systems.
ImproveAdd telemetry, approval gates, tests, ownership, and verified corrective actions.

Human authority gate

Before a disruptive action, identify the approving role, affected business and safety owners, expected impact, evidence tradeoff, rollback path, success signal, and emergency authority. Prefer reversible capability reduction; act immediately when delay creates greater harm and record the decision.

AI-IR-01

AI / LLM incident

Triggers: confirmed or credible evidence of prompt injection, unsafe tool use, unauthorized agent action, retrieval poisoning, sensitive disclosure, identity or credential abuse, malicious model/tool behavior, unapproved configuration change, or AI supply-chain compromise.

First 15 minutes

  1. Assign incident lead, AI/platform lead, scribe, severity, UTC start time, and protected channel.
  2. Validate the boundary violation and determine whether unsafe execution, data access, or egress remains active.
  3. Pause new agent runs or queues when justified; restrict high-impact and write-capable tools without deleting state.
  4. Snapshot instructions, model/version, agent and policy configuration, memory, retrievals, traces, tool transcripts, identities, credentials metadata, and target logs.
  5. Identify immediate human-safety, financial, legal, privacy, production, and business-continuity constraints.

15–60 minutes

  1. Build the UTC timeline from input through orchestration, retrieval, model output, authorization, tool execution, and downstream result.
  2. Map blast radius across users, tenants, agents, identities, reachable tools, data sources, destinations, scheduled work, and prior executions.
  3. Verify actual reads, writes, messages, transactions, deployments, and egress in authoritative target-system logs.
  4. Quarantine poisoned sources or compromised connectors and revoke narrowly scoped affected sessions, tokens, or API keys when exposure justifies it.
  5. Choose the last trusted model, prompt, policy, agent, tool allowlist, retrieval index, and orchestration configuration; define recovery tests and approvers.

Authority and decision gates

  • Stop/pause gate: Is harmful agency active, and will stopping it affect safety, critical operations, evidence, or recovery?
  • Revocation gate: Is the token, session, API key, service principal, or delegated grant exposed or abused? Revoke the narrowest affected authority and plan replacement dependencies.
  • Isolation gate: Can the RAG source, index, plugin, model endpoint, or tool be quarantined without losing the only evidence copy?
  • Rollback gate: Is the proposed version known-good, compatible, scanned, reproducible, and reversible?
  • Communication gate: Do facts support customer, provider, regulator, or partner notification, and who is authorized to communicate?

Exit criteria

  • Unsafe execution and unauthorized data paths are stopped and independently verified.
  • Affected identities, secrets, sessions, agents, tools, models, knowledge sources, and downstream systems are scoped to documented confidence.
  • Poisoning, unsafe configuration, vulnerable dependencies, and persistence are removed from a trusted recovery point.
  • Recovery tests cover adversarial prompts, indirect content, authorization, tool boundaries, data access, rollback, logging, and business transactions.
  • Security and service owners approve staged restoration, monitoring duration, residual risk, rollback triggers, and accountable operator.
04 / CONTAINMENT OPTIONS

Reduce capability proportionally

Containment choices and safeguards
ActionUse whenSafeguard and validation
Pause agents, schedules, or queuesUnsafe autonomous execution remains possiblePreserve in-flight state; verify no new runs; provide a manual continuity path
Remove write/high-impact toolsRead-only service can safely continueUse an allowlist and independent policy enforcement; test denied actions
Require human approvalRisk can be bounded by accountable reviewApprover must see intent, parameters, target, data, and expected effect; prevent self-approval
Revoke sessions, tokens, or API keysAuthority is exposed, replayed, or abusedMap dependencies, preserve metadata, rotate consumers, and verify old material fails
Isolate RAG/data sourcesContent or ingestion path is poisoned or unauthorizedSnapshot source and index; block ingestion/retrieval; validate clean provenance
Rollback model/configurationA change introduced unsafe behaviorUse signed/versioned known-good artifacts, canaries, kill switch, and enhanced monitoring
05 / RECOVERY & IMPROVEMENT

Restore authority in stages

  1. Restore observation and read-only paths first; then low-impact writes; then privileged or irreversible actions.
  2. Test expected tasks plus direct and indirect prompt injection, confused-deputy paths, cross-tenant access, poisoned retrieval, tool parameter tampering, and approval bypass.
  3. Compare model, prompt, policy, agent, orchestration, dependency, plugin, tool, and knowledge versions to the approved baseline.
  4. Validate target-system records—not only agent output—and monitor provider/API, identity, network, data-access, and application telemetry.
  5. Document root cause, affected parties, evidence limitations, containment impact, corrective owners, due dates, and verification method.
Lessons learned: convert findings into versioned adversarial tests, least-privilege tool scopes, independent authorization, provenance controls, retention changes, rollback drills, and tabletop scenarios. Close actions only after evidence shows the control works.

Download the AI incident evidence checklist