ai-incident-responselisted
Install: claude install-skill mizazhaider-ceh/AgentArsenal
AI incidents look different from server incidents: the attacker never
touches a shell, the evidence is in prompts and tool calls, and the
"vulnerability" may be the model's normal behavior under adversarial
input. This skill covers response for AI specific scenarios: scoping
what the model or agent did, collecting prompt and tool logs,
containing without destroying evidence, and recovering to a known good
model and prompt version.
## Quick Workflow
1. Declare the incident and freeze the AI surface: disable the agent's
tool access or take the endpoint out of rotation.
2. Scope the blast radius: which users, sessions, tools, and data the
model touched during the window.
3. Collect prompt logs, tool call logs, and retrieval logs for the
window, plus the exact model and prompt versions.
4. Identify the attack path: direct injection, poisoned document, or
abused tool, with the exact inputs.
5. Contain: revoke leaked keys, rotate secrets found in prompts, and
roll back to the last known good model and prompt.
6. Eradicate the cause: remove poisoned documents, fix the access
control, or tighten the tool scope.
7. Recover in stages: read only mode first, then tools with approvals,
then full service.
8. Write the post incident review with detection gaps and new monitors.
## 1. Scoping and log collection
Prompts are the crime scene. Collect them before retention windows
expire.
```bash
# Pull prompt and tool logs for the incident window (example: JSONL store)