AI agent security checklist
Before giving an AI agent real tool access, verify its identity, execution boundary, authorization rules and audit evidence.
Before connection
Inventory the tools, owners and data classes the agent can reach. Give it the least privilege that still completes the job. Prohibit unregistered destinations and distinguish read from write operations.
- Use a dedicated workload identity and short-lived credentials.
- Do not place secrets or long-lived tokens in prompts or agent memory.
- Document the operations that must always be denied or reviewed.
- Confirm that network egress restrictions exist outside the gateway.
Before enforcement
Test the boundary before trusting it. Negative tests matter more than happy-path demos because they show what happens when the policy is missing or wrong.
| Check | Acceptance signal | Status in this prototype |
|---|---|---|
| Default deny | Unknown operation returns block | Covered by local lab tests |
| Conflicting rules | Deny wins over review and allow | Covered by local lab tests |
| Identity mismatch | Wrong tenant, agent, environment or upstream blocks | Covered by local lab tests |
| Stale approval | Changed payload or expired approval is rejected | Not implemented |
| Duplicate action | Idempotency or reconciliation prevents a repeat side effect | Not implemented |
| Malformed request | Structured error with no side effect | Covered for the local lab |
| Upstream timeout | Unknown outcome, no blind retry | Not implemented end-to-end |
During operation
Review policy exceptions and audit access, rotate credentials, verify revocation, test recovery, and investigate unknown outcomes before retrying non-idempotent actions.
- Alert on repeated denies, policy changes and approval anomalies.
- Recertify agent access on a schedule and after ownership changes.
- Rehearse restoration and know how long a stale policy remains valid.
- Publish a measured result with method, date and limitation.
Questions and answers
Is this checklist a compliance assessment?
No. It is general engineering guidance for teams preparing an agent integration. It does not determine compliance with any standard or regulation.
How should I use the checklist?
Use it as a review agenda. For each item, record a pass, partial, fail or unknown result with a link to the evidence. Unknown is not a pass.