Incident response

AgentGuard can make a decision boundary explicit, but it cannot repair an application that bypasses the boundary. During an incident, stop tool execution first, preserve evidence, and then diagnose the control plane.

Immediate containment

  1. Stop or isolate the affected agent and revoke its upstream credentials.
  2. Preserve the audit file, .chainid sidecar, chain secret, policy bundle, deployment manifest, and relevant metrics/logs.
  3. Restrict PDP network access to known callers and confirm API-key or ingress authentication is active.
  4. If policy integrity is uncertain, fail closed and restore a reviewed policy bundle rather than editing the live file repeatedly.

Triage

Check /healthz, /readyz, PDP error metrics, policy reload failures, audit append errors, and the console’s OIDC/PDP logs. Compare the current policy bundle hash and deployment image digest with the release record. Verify the audit chain offline:

agentguard audit verify --audit .audit/decisions.jsonl \
  --secret-file .chain-secret

An audit verification failure means the original evidence must be preserved; do not overwrite it while attempting repair. Rotate to a new file only after the failed file has been copied to controlled evidence storage.

Common decisions

Document timeline, scope, decisions, evidence hashes, and follow-up controls. Report security vulnerabilities privately using SECURITY.md, not in a public issue.