AI Agent Security: Permissions, Approvals and an Audit Trail

AI agent security: permissions, approvals and an audit trail

Short answer: Start AI agent security with three decisions: which actions the agent needs, which data and systems it may reach, and which actions need a person’s approval. Grant the narrowest access the task requires, enforce limits in the systems the agent connects to rather than in the prompt alone, bind approvals to the exact action being approved, treat everything the agent reads as data, and keep a protected record of what it did.

Last updated: November 25, 2026.

An AI agent may need to read customer records, prepare a response or update a business system. Before it does, your team should be clear about its authority: which information it can access, which actions it can complete and when someone must approve the next step. When an AI system can act in connected tools, an incorrect answer can become an incorrect action.

Those boundaries belong in the design from the beginning. This guide covers the main controls for defining permissions, building approval steps that mean something and keeping a useful record of what happened. It is a practical starting point for planning an agent, not a complete security assessment.

Two AI agent security risks to plan for

Two risks deserve particular attention.

The first is prompt injection. An agent reads text and decides what to do next, so text can steer it. The OWASP Gen AI Security Project separates direct injection, where a user types the instruction, from indirect injection, where the instruction hides in content the agent processes: an email, a web page, a document, a support ticket. OWASP is frank that prevention is not foolproof, which is why it recommends layered defenses.

The second is excessive agency. OWASP’s entry on it names three causes: excessive functionality, excessive permissions and excessive autonomy. In plain terms, the agent has tools it does not need, access wider than its task, or freedom to act where a person should have decided. Each of these widens the damage a confused or manipulated agent can do.

Standards bodies are examining these risks. In January 2026, NIST’s Center for AI Standards and Innovation published a request for information on security considerations for AI agents, focused on agents that can change things in the real world and on risks such as prompt injection. It asks for input to inform research and guidance; it does not set new requirements for businesses.

Decide what the agent may do on its own

Start with the actions, not the model. An August 2025 NIST article summarizing workshop discussions presents a way to classify an agent’s tools by permission level (read-only, constrained write or write) and by operating environment. It is a planning framework, not a mandated standard, and a simple version of it makes a useful table.

Type of actionExampleSensible starting point
Read dataLook up an order, a policy or an inbound emailAutomatic, limited to what the task and the user may see; treat what comes back as data, never as instructions
Constrained writeDraft a reply, add a note, fill a form for reviewAutomatic into a draft or queue that a person releases
Write with impactSend a message, change a record, issue a refundApproval for the specific action, within limits on amount and volume
Hard to undoDelete data, move money, change access or settingsApproval every time, or the agent does not get the tool

Give the agent only the tools the workflow needs, and prefer narrow tools to broad ones: “update the delivery date on this order” is far safer than general database access. Read-only access still carries risk, because information can leave through a reply, a summary or an external call, so decide which data may leave the system and which destinations may receive it. Expand access only when the business task requires it, after review and testing.

Enforce permissions in your systems, not the prompt alone

Telling an agent “never issue refunds over $500” is an instruction, and instructions can be overridden by other text the agent reads. A refund service that rejects anything over $500 from the agent’s workflow is a control. Instructions help guide behavior, but they should not be the only barrier between the agent and an unauthorized action. OWASP calls the principle complete mediation: the downstream system checks authorization rather than leaving it to the model.

Make approvals specific

Human approval is one important safeguard for consequential actions, working alongside the permissions and limits that the systems enforce on their own. Approvals can be mistaken or rushed, so their design matters.

  1. Approve the exact action. The approval covers the specific action, target and parameters: this refund, this amount, this order. If any of those change, approval is needed again. The OWASP cheat sheet puts it plainly: bind approval to the exact action.
  2. Expire and use once. An approval should lapse after a short time and be consumed when used, so it cannot be replayed for repeated actions.
  3. Show the reviewer what matters. State what the agent wants to do and why, with the key details up front. An agent that asks permission fifty times a day trains reviewers to click yes, so keep approvals for the actions that deserve them.

Platforms differ in their defaults. OpenAI’s guidance for its Agent Builder recommends keeping approvals enabled for MCP tools, for reads as well as writes. For a custom business workflow, define the approval policy for each action and enforce it outside the model.

Treat retrieved content as data, wherever it lives

Emails, documents, web pages and tool responses can all contain instructions aimed at the agent, including material stored inside your own organization: a support ticket with pasted customer text, a shared document, a knowledge-base entry. Internal does not automatically mean trusted.

  1. Keep it separate. Hold retrieved content apart from the instructions that govern the workflow, as both OWASP and OpenAI advise.
  2. Extract, then check. Pull specific fields (an order number, an amount) into a fixed format, then validate them against permissions and business rules before anything reaches a connected system. A perfectly formatted request can still name the wrong recipient or the wrong amount.
  3. Separate reading from acting. An agent that reads public web pages should not also hold the keys to move money. Where one workflow needs both, put an approval between them.

Keep an audit trail you can use

Record the action attempted, the user or process it served, the resource affected, the authorization decision, any approval reference, the result and the time. Where useful for investigation, include the model, tool and policy versions in use.

Leave credentials and unnecessary sensitive content out; OWASP’s cheat sheet warns against logging personal data or credentials in plain text. Restrict who can read the logs, set retention periods, and keep the records where the agent cannot alter or delete them. A good trail shows what happened, in what order and on whose authority. It will not always explain the model’s reasoning, so record the stated purpose of each action as well.

OpenAI also recommends evaluating agents and grading their traces to find where decisions or tool calls went wrong. Review traces regularly, and set alerts for events that need attention straight away, such as a denied action or a limit being hit.

Worked example: a customer-support agent

This is an illustration of control boundaries, not a description of a specific deployment.

StepBoundary
Retrieve an orderAccess is limited to the relevant customer and the fields the task needs
Draft a responseThe draft carries no authority to send it or change records
Propose a refundThe system checks eligibility, amount and the authorized refund destination
Request approvalThe reviewer sees the exact order, amount and action
ExecuteThe system validates the approval and blocks duplicate execution
Record the resultThe trail records the outcome without credentials or unneeded personal data

If a permission check or approval cannot be verified, the action stops and goes to a person for review. That fallback matters as much as the happy path.

An AI agent security checklist before go-live

  1. Every tool the agent holds is listed, with a reason the workflow needs it.
  2. Per-action and cumulative limits are enforced by the systems the agent calls.
  3. Consequential actions need an approval bound to the exact action, which expires and cannot be reused.
  4. Retrieved content is kept apart from instructions, and extracted fields are validated before use.
  5. You know which data may leave the system and where it may go.
  6. Actions are logged without credentials, the logs are protected, and someone owns reviewing them.
  7. You can pause the agent, you know what pausing stops (including queued work), and you know which changes can be reversed and which need correction.
  8. Tests cover failures as well as success: an expired approval, a repeated request, an unreachable permission check and an unauthorized target.
  9. Tests are rerun whenever the model, the tools or the instructions change.

Questions to ask whoever builds your agent

Which actions will run without approval, and where are the limits enforced? How are approvals tied to the exact action? How is retrieved content kept from steering the agent? What is logged, what is left out, and who can see it? How will you test for injection and failure cases before launch, and again after a model update? If the answers point back to the prompt, keep asking. Our guide to writing an AI RFP turns these into a brief that gets you comparable proposals, and our breakdown of what an AI agent costs to run covers the review hours that approvals add to the monthly bill.

Frequently asked questions

What is the biggest AI agent security risk?

There is no single one, but prompt injection combined with too much access is a common pairing. Injection is hard to prevent completely, so a practical defense is limiting what a manipulated agent could do: narrow tools, permissions enforced in your systems, and specific approvals for consequential actions.

Can better instructions keep an agent safe?

Instructions help guide behavior and reduce mistakes, but they should not be the only barrier, because other text the agent reads can work against them. Put the limits that matter in the systems the agent calls.

Which agent actions should need human approval?

Consequential or hard-to-undo actions: moving money, deleting data, changing access or settings, and sending information outside your organization. Make each approval specific to the action and short-lived, and widen what runs automatically only after review and testing.

What should an AI agent audit log record?

The action attempted, who or what it was for, the resource affected, the authorization decision, any approval reference, the result and the time. Leave out credentials and unnecessary sensitive data, and keep the log where the agent cannot change it.

Making the right call on what your agent may do

Before launch, you should be able to explain what the agent can access, which actions it can take, how approvals are enforced and who responds when something goes wrong. If any of those answers is vague, that is the part to settle before the agent starts work.

Appson Technologies builds AI agents and integrations around business workflows. Tell us what you want the system to do, and we can discuss the permissions, review steps and operational requirements involved. Discuss your agent project.

Have a project in mind?

Appson Technologies builds AI powered applications, custom software and cloud solutions for businesses in the US and Dubai. Tell us what you are trying to build and we will tell you what is realistic and what it costs.

Get My Free Consultation