Home / Blog / Action-level authorisation for AI agents

Action-level authorisation for AI agents: permit the operation, not just the tool

Short answer: Allowing an AI agent to use an application or tool should not mean allowing every operation that tool can perform. Reading, changing, exporting, sharing and approving have different consequences, so each needs its own authorisation decision. That decision is made by an enforcement point outside the agent that applies organisational policy, not by the model. The agent should never exceed the authority of the user it acts for. Irreversible operations need additional approval.

Traditional access management asks whether a person may enter an application. An agent, however, can read a contract, search customer records, create a file and change a record in another system within a single task, all with the same credential. This article explains why authorisation has to move down to individual operations, what the decision relies on and which building blocks Zylon offers.

Why tool-level permission falls short

OWASP's risk list for large language model applications (LLM06:2025) describes this problem as "excessive agency". According to the document, the root cause is usually one or more of three things: excessive functionality, excessive permissions and excessive autonomy. Its example is a familiar one: an extension that only needs to read data connects to the database with an identity that can also update, insert and delete records.

OWASP's threat guide for agentic AI (version 1.1, December 2025) goes further. In "tool misuse", an attacker steers the agent with deceptive prompts so that it causes unauthorised data access or system changes while staying within its granted permissions. The attack never crosses the permission boundary because the boundary was drawn too wide in the first place. "Privilege compromise" arises because agents inherit permissions autonomously, which lets temporary or inherited privileges be abused for unauthorised actions.

Picture an agent that works on claims files at an insurer. Summarising a file is routine and adding a note to it is low risk. Changing the payout amount or sending the file's documents to an outside address is a different matter altogether. All four happen in the same system. Application-level permission treats them as equal; action-level authorisation separates them.

What does the decision rely on?

Attribute-based access control in the NIST SP 800-53 catalogue (AC-3(13)) already provides the vocabulary. Access is granted on the basis of organisational attributes (job function, identity), action attributes (read, write, delete), environmental attributes (time of day, location) and resource attributes (the classification of a document). For an agent, these four dimensions become the following questions:

DimensionQuestion for the agent
SubjectWho is the agent acting for and does that user hold this permission?
ActionIs the request a read, a change, an export or an approval?
ResourceWhich record or document is involved, how is it classified and who owns it?
ContextWhat happened earlier in the session and are the time and volume normal?

The subject question has two layers for agents. OWASP recommends that operations performed on behalf of a user run in that user's context with the minimum privileges necessary. It also lists a generic high-privileged identity as an example of excessive permissions. The OAuth 2.0 Token Exchange specification (RFC 8693) likewise describes delegation, where the party receiving part of a user's rights keeps its own identity and acts as that user's representative.

For the context question, NIST's Zero Trust Architecture (SP 800-207) offers guidance: access is granted per session, authorisation to one resource does not automatically grant access to another and the decision is based on dynamic policy that can include behavioural and environmental attributes.

Policy decides, not the model

OWASP's clearest recommendation is complete mediation: authorisation is implemented in downstream systems rather than relying on a language model to decide whether an action is allowed. The model can supply context, but prompt injection can mislead it, so it cannot have the final say.

The outcome is not limited to allow or deny either. OWASP's agentic guide lists graded options: granting tool access just in time and revoking it after use, restricting tool execution on the basis of real-time risk scoring and requiring explicit user approval for financial or administrative functions. NIST's dual authorisation control (AC-3(2)) defines operations that need the approval of two authorised individuals.

Approval has its limits too. OWASP warns that excessive intervention requests lead to decision fatigue, rushed approvals and reduced scrutiny. Its advice is to automate low-risk approvals and keep human oversight for high-impact tasks.

Every decision should also be recorded: who asked, on whose behalf, for which resource and operation and with what outcome. NIST's AC-6(9) control treats logging and analysing the use of privileged functions as one way to detect misuse.

Which building blocks does Zylon provide?

Zylon runs inside the organisation's own infrastructure, so the enforcement point, the records and the models stay within the same boundary. The documentation describes several building blocks that support action-level control:

These building blocks do not replace the organisation's own policy layer; they provide the boundaries and the evidence that layer needs. For the design of a central control point, see our article on the AI gateway.

A checklist before going live

  1. List operations, not tools. Write down the read, write, delete, share and approve capabilities of each integration separately and remove the ones you do not use.
  2. Run the agent in the user's context. Use an identity that carries limited rights on the user's behalf instead of a shared high-privilege service account.
  3. Separate reading from writing. Issue one token for read-only work and a separate time-limited token for work that changes data.
  4. Enforce where the operation happens. Check authorisation in the service that executes the tool rather than relying on the model saying an action is fine.
  5. Grade approvals by risk. Ask for approval on irreversible, financial or outbound operations and let low-risk ones run automatically.
  6. Record decisions. Keep the policy version, resource, operation and outcome without copying sensitive content unnecessarily.
  7. Rehearse stopping the agent. The NIST AI Risk Management Framework calls for mechanisms and responsibilities to be in place for deactivating systems that behave inconsistently with their intended use; test this before production.

Frequently asked questions

Is role-based access control enough for agents?
It is a starting point but not enough on its own. Roles decide who can enter which system; deciding which operation may be applied to which record within the same role takes additional rules.
Won't the model refuse a malicious request anyway?
Sometimes it will, but that is not a security control. Prompt injection can change the model's decision, so the permission decision is made outside the model.
Is asking for human approval on every action the safest option?
No. As approval requests multiply, the quality of review drops. Reserving approval for irreversible and high-impact operations works better.
Does an on-premise deployment solve the problem?
Not by itself. It allows identity, authorisation decisions, tool calls and records to stay within a single boundary that the organisation controls. See on-premise deployment.

Related glossary terms

AI agent, AI excessive agency, Agent privilege abuse, Tool misuse, Tool calling, Delegated agent authorisation, AI least agency, AI approval gate, Human-in-the-loop, AI agent identity, Indirect prompt injection, AI audit log, AI kill switch, Agentic AI security

Sources

Let's design the permission model for your agents together

Tell us which systems your agents will work in and which operations they will perform; we will work with you on the operation inventory, the approval tiers and the design of decision records.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.