Guides · Agent security
How to audit AI agent permissions
Agents accumulate permissions the way old servers accumulate open ports — a generous grant for a demo, a temporary key for a test, a broad scope that was easier than the right one. An audit is not a one-day spreadsheet; it is a way of discovering which of your agents could already do real damage if someone aimed them at the wrong target. This guide gives you the method: inventory, classify, test, shrink, and repeat on a rhythm.
By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
The short answer
Audit AI agent permissions by first inventorying every agent — its identity, owner, tools, data access, spend authority and network reach — then classifying each permission by blast radius and testing the dangerous ones (can it send, pay, delete, share outside?). Shrink every over-broad grant to the minimum the task needs, put an expiry on temporary grants, and re-audit on a monthly rhythm and after every agent change. The goal is not a tidy spreadsheet; it is the absence of an agent that could, alone, cause a loss you would notice.
Try it free: AgentGate — map who your agents are, what each one can do, and where the permissions are over-broad — the starting inventory this audit needs.
What is an AI agent permission audit?
a systematic review of what each deployed AI agent is allowed to do, with what credentials, against which systems, and under whose accountability — checked against the minimum the agent's job actually requires. It exists because agents inherit the permissions of whoever built them, which are almost always far broader than the agent's task, and because nobody notices the excess until the agent is misled or misconfigured.
Step 1: Inventory what exists (the hard part)
Start by listing every agent, including the ones nobody calls agents: the scheduling bot, the 'helper' in the CRM, the automation a departed colleague built, the vendor's assistant that ships with a tool you bought. For each, capture owner, purpose, model and framework, tool list, credentials it can use, data it can read, actions it can take, network egress, and spend authority. Expect to find agents nobody owns and tools nobody remembers enabling. The inventory itself is the audit's highest-value deliverable; most organisations' first permission surprise is an agent they did not know existed.
Step 2: Classify by blast radius
For each permission ask two questions: what is the worst thing this agent could do with it if misled (send to a stranger, pay, delete, publish, share), and how often does the job actually need it? Permissions fall into three buckets: needed and used, needed rarely (candidates for approval gates), and never needed (remove). Treat identity as a permission too — an agent running under a human's personal key can do everything that human can do, and its mistakes carry that human's authority. Flag every agent that shares credentials with a person.
Step 3: Test the dangerous ones
Do not trust the documentation of a permission; exercise it. In a controlled setting, attempt the actions you fear: an external send, a payment above the policy limit, a delete, a share outside the organisation. Many audits find the access control they assumed was in place was never wired to the agent's actual tool path — the gateway checks one route while the agent uses another. A permission that cannot be demonstrated to deny is not a control, and the test transcripts become the evidence your next audit starts from.
Step 4: Shrink and schedule
Replace broad grants with scoped ones: per-agent identities, per-task tool scopes that expire, allowlisted recipients and destinations, spend caps. Put an expiry date on every temporary grant — a permission without an expiry is permanent, and the review that 'will happen later' rarely does. Then calendar the re-audit: monthly for active agent estates, after any new agent, new tool, or vendor change. Permissions drift is a law of nature; a scheduled audit is the only counterweight that has ever worked.
Your 5-action checklist
- Inventory every agent (including forgotten automations and vendor assistants) with owner, tools, credentials and spend authority.
- Classify each permission by blast radius and real usage: keep, gate, or remove.
- Test the dangerous permissions in a controlled setting — prove they deny, don't assume it.
- Replace broad grants with scoped, expiring, per-agent permissions and allowlists.
- Calendar a monthly re-audit and trigger one after every new agent, tool or vendor change.
Worked example: Belize Marine Supplies
Belize Marine Supplies, a fictional distributor with 22 staff, audited its agents after a supplier email talked its ordering agent into emailing a 'corrected' payment instruction. The inventory found 11 agents — the team knew of 6. The ordering agent ran on the finance manager's personal email key, could pay any vendor up to $10,000, and had no spend cap. The audit's fix: a dedicated agent identity, vendor allowlist, $2,000 auto-authority with human approval above it, and expiry dates on every demo grant. The same supplier email was replayed in testing afterwards and stopped at the allowlist check. Total damage from the original incident: one $3,400 payment recovered only after a week of bank calls. The audit cost a day and a half.
Sources
- NIST — SP 800-53 Rev. 5, Security and Privacy Controls (2020) — the Access Control family, including AC-6 least privilege: the principle the blast-radius classification enforces.
- OWASP — Top 10 for LLM Applications (2025) — LLM06, excessive agency, is the named risk this audit exists to find before someone else does.
Frequently asked questions
How is an agent permission audit different from a normal access review?
Normal access reviews cover people; agents are missed because they live in automation configs and vendor settings, and because their permissions are inherited from builders. The audit's first job is discovery — finding agents nobody is reviewing at all.
How often should we audit agent permissions?
Monthly for any team actively deploying agents, and immediately after adding an agent, connecting a tool, or changing a vendor. Permissions drift constantly; a quarterly cadence discovers drift months after the risk was live.
What's the single most dangerous permission to find?
A shared human credential — an agent running with a person's key inherits that person's full reach, including systems the agent's job never touches. Dedicated per-agent identities with scoped grants are the fix, and finding none of them is the audit's most common outcome.
Do vendor agents need auditing too?
Yes — arguably more, because you cannot see their internals. Inventory what data and actions you have connected them to, check their permission settings in your own systems, and treat their access exactly like your own agents' access.
What do we do with agents nobody owns?
Suspend them until an owner claims them and justifies their permissions. An unowned agent with live permissions is the definition of unmanaged risk; the business cost of pausing it is almost always smaller than the incident it could cause.
Related guides and tools
- How to choose a website security scanner
- DMARC setup guide for small businesses
- Website security checklist for small businesses
- AI agent security: a buyer's guide
- How much does a website security audit cost?
- DMARC vs SPF vs DKIM: what each one actually does
- How to stop email spoofing of your domain
- AI chatbot security checklist
- All Ingenious AI guides
- The full Ingenious AI platform suite
- The security suite overview
- AgentGate — free tool