Detecting and responding to AI security incidents
For engineers
Security logging for agents, detection signals for injection and abuse, fast containment, postmortems and vulnerability disclosure
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
An agent run leaked data after reading a web page. Which log field most helps you find where the malicious instruction came from?
Check yourself · 2 of 5
Which signal is the most reliable evidence that private data is leaving through an agent?
Check yourself · 3 of 5
A compromised agent is still sending emails. What do you do first?
Check yourself · 4 of 5
Which root cause statement is best for an incident where an agent emailed private data after reading a poisoned page?
Check yourself · 5 of 5
An agent calls a payments API with a bearer token. What should the audit log record about that credential?
Topics
- Security logging for agents and tool calls5 min read · Recording tool calls, arguments, sources read and approvals so a run can be reconstructed, without storing secrets
- Detection signals for injection and abuse5 min read · Unusual tool sequences, outbound URLs carrying data, canary tokens and spend spikes that flag an attack in progress
- Containing a compromised agent fast5 min read · Kill switches, disabling tools and connectors, revoking tokens, freezing memory and keeping evidence intact
- AI incident postmortems and vulnerability disclosure5 min read · Blameless postmortems with a root cause and a regression test, plus reporting flaws to vendors and incident databases
Start here
- Computer security incident handling guide (NIST SP 800-61 Rev. 3) (opens in a new tab)StandardFree
The reference incident response lifecycle: prepare, detect, respond, recover, and learn from each incident.
- AI Incident Database (opens in a new tab)ToolFree
A public catalogue of real AI failures to search before writing a postmortem and to submit to afterwards.
- Logging Cheat Sheet (OWASP) (opens in a new tab)ArticleFree
What to log, what never to log, and how to protect log integrity; it applies directly to agent logs.
Helps to know first
110 questions · last verified 2026-12