Audit, Detection, and Incident Response › Summary
Michael BrenndoerferDecember 2, 20262 min read
Language AI HandbookAll chapters - Auditing designs capture and protection for consequential records. Detection turns recorded events into signals. Incident response uses those signals and corroborating evidence to limit harm and investigate what happened.
- An audit event carries a common envelope (event ID, trace ID, timestamp, both principals (the human and the agent), action type, decision, hashes) plus type-specific fields, and records consequential actions, not tokens.
- A hash chain makes edits and reorderings detectable and enforces ordering, but requires an externally pinned head to detect truncation or tail-rewrite. Merkle trees and transparency logs scale this and enable inclusion/consistency proofs.
- Chaining proves integrity, not truth, and not completeness. The chain can faithfully record a lie, and it is silent about actions that bypass instrumentation. Completeness is a tested instrumentation property, not a cryptographic one.
- Detection is a classification problem with a brutal base-rate problem: the false-positive paradox means a high-recall statistical detector run naked at realistic prevalence has disastrous precision. The durable response is layering: high-precision structural/sequence detectors gate pages, statistical detectors generate triage leads, alert policy correlates and requires corroboration.
- Detector quality is an evaluation problem: it needs labeled incidents, drifts over time, and must be versioned alongside the policy that produces alerts.
- Incident response follows an order that matters: preserve evidence promptly and contain ongoing harm; use a kill switch that is tiered, pre-authorized, fail-safe, externally enforced, and tested; roll back to pinned known-good versions; re-verify recovery via the same detectors on a canary; and run a blameless post-incident review that produces tracked, testable changes.
- Use drills to test suspension and recovery. Compare observed audit records with an independent inventory to test instrumentation coverage.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!