arXiv(opens in a new tab)cs.CROct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.40981

Towards Elastic Least Privilege for Agent Planning

Simon Parkinson, Zhipeng Wang, Mustafa Mustafa

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

General-purpose AI agents require authority that changes between tasks and during execution. Common deployments trade broad permissions that expose unnecessary authority and narrow permissions that raise approval requests. Existing mechanisms can enforce dynamic authority, but agent tool interfaces rarely provide the agent’s planner, the component that chooses its actions, a means of comparing the authority required by alternative actions or of seeing the cost of the authority it already holds. Drawing on the rich history of access control research, we propose the concept of elastic least privilege, in which an agent begins with a small baseline of authority and may acquire more within an owner-defined envelope. Elevations are leased and measured against a replenishing budget. Their cost increases with power, proximity to mandatory safety invariants, and repeated requests. Costs are visible to the planner, which can prefer lower-privilege choices and release authority it no longer needs. Authority returns automatically to the baseline when a lease expires, when it is released, or when the budget is exhausted, while persistent legitimate demand may prompt an owner-approved change to the baseline. Building on prior risk-priced and budget-aware access control, we redesign these mechanisms for agents. How best to implement the approach and how well it works in practice are open research questions. In this paper, we present how the approach could work, illustrate the model, and set an open research agenda.

Keywords: least privilege, AI agents, over-privilege, risk-based access control, privilege budgets, just-in-time access, Model Context Protocol

1 Introduction

Artificial intelligence (AI) agents combine large language models (LLMs) with tools, credentials, and an objective, then choose which actions to take in pursuit of that objective. The Model Context Protocol (MCP) standardises how agents discover and invoke tools, and a recent study now counts MCP servers in the tens of thousands [11]. Agents operate on top of existing deployments, reaching resources through access controls that were designed and implemented for people and services. A tool exposes operations whose exercise depends on the authority available to the agent. An agent may have its own identity or may act on behalf of another principal. Figure 1 illustrates the concept, where the planner turns the user’s task into tool calls, and the tools act on resources that enforce their own access control. Authority reaches the agent, either by delegation from the user so that the agent acts on their behalf (blue), or issued to the agent’s own managed identity (orange). In both cases, it is fixed when issued and is not visible to the planner.

The principle of least privilege requires that resources are accessed only with the privileges necessary to complete the job [51], but in practice it is rarely achieved. For example, identities in one vendor’s multi-cloud analysis used only 1% of their permissions [13], 99.8% of 447,000 GitHub workflows were over-privileged [30], and excess authority persists because most of it is never exercised by those who hold it [47]. Although the principle is well established in access control, it is especially important for

*Corresponding author: s.parkinson@mmu.ac.uk

Towards Elastic Least Privilege for Agent Planning

Figure

Figure 1: Conceptual view of an AI agent and permissioning

agents, which, like users, obtain permissions for multiple resources through many different control mechanisms. Industry best-practice guidance recommends that each agent be a first-class principal, with a dedicated agent identity and a specific scope [40]. However, this is often hard to realise because general-purpose agents serve heterogeneous tasks that combine natural-language tasking, runtime tool selection, cross-system composition, and exposure to untrusted content. Their required authority is task-dependent and may change as execution reveals new subgoals, so a single allocated permission set sufficient for all supported tasks will often exceed what any particular task requires.

Common deployment patterns therefore trade over-entitlement against runtime friction. A broad grant supports task completion, but leaves unnecessary authority available to an injected instruction. For example, a malicious instruction in a public repository has been reported to steer an agent to read its user's private repositories and publish them [41]. This combination of private data, untrusted content and external communication, the "lethal trifecta" [57], is a property of what is held together, not of any single call. A narrow allocation with approval for each extension reduces authority, but transfers the burden to users, who are likely to approve broad increases in authority in order to make progress. One vendor reports that users of its coding agent approved 93% of permission prompts [27]. Approval decisions are also rarely graded by what the agent already holds or how often it has asked, and LLM monitors that might replace them can themselves be subverted [54]. Task-scoped credentials, policy-based automatic elevation, pre-authorised envelopes and per-task enforcement outside the model [14, 16, 31, 45, 52] mitigate this trade-off. However, the authority estimated for a task can be too narrow or too broad [37], and, to the best of our knowledge, none of these mechanisms turns privilege into a signal the planner can use, by which we mean the component of an agent, typically an LLM within an orchestration loop, that decomposes a task and selects which tool calls to make and in what order. Policy systems may expose scopes, decision reasons and risk labels, but these describe a single request when it is made. What is missing is a planning signal with three parts, namely a state-dependent marginal cost that compares the additional authority each alternative would require given what is already held, an ongoing holding cost for authority that is held but unused, and an explicit release action whose effect is guaranteed by enforcement that does not depend on the planner. Without such a signal, privilege is enforced at execution time rather than represented as a variable during planning, and agents often choose an over-privileged tool when a lower-privilege one would suffice. Across 544 scenarios, 6 of 11 LLM agents did so in more than 30% of cases [58].

Consider, as a running example, a coding assistant connected to GitHub through the GitHub MCP server. If the user authenticates with a classic personal access token carrying the repo scope, the agent can use about 40 tools, 16 of which can write [22], in every repository the user can access [23, 25]. Asked to summarise the open issues of one repository, it needs two read-only tools on that repository. However, the token also gives it all other tools in every other repository, which is the authority that the injected instruction described above exploited [41]. A fine-grained token restricted to read access on that repository would have prevented the attack, but the user's next task, fixing a failing build, needs to write code, and the one after may need another repository. The example captures the central dilemma that useful agents need authority that can change, but more consequential changes must encounter

Towards Elastic Least Privilege for Agent Planning

Figure

recoil (lease expiry, release or exhaustion)

Figure 2: Illustration of the elastic least privilege concept

greater resistance, and the planner would benefit from knowing when it is asking for or holding more than it needs.

Least privilege can be enforced without the planner's awareness, but a planner that chooses among alternative action sequences cannot reliably optimise for privilege unless the authority implications of its alternatives are represented in a form it can observe. In this BlueSky paper, we propose elastic least privilege for AI agents (Figure 2). The approach addresses the trade-off between narrow and broad authority and the tendency of users to grant broad permissions. An agent holds a small baseline of authority at rest. When a task needs more, the agent may request additional authority within an envelope set in advance by its owner, but each extension incurs a cost that grows with the power of the authority held and becomes infinite at a ceiling of combinations that must never be held. Elevated authority recoils, that is, returns to the baseline, when its lease expires. Repeated requests increase the cost of further requests, and persistent demand prompts the owner to consider changing the baseline. Costs are drawn from a budget that replenishes over time and are shown to the planner, which sees what each action would cost and what unused authority is costing it, and can release that authority.

The concept is based on a substantial body of prior work leveraged from the access control community. Risk-priced access was proposed for the intelligence community in 2004 [29], and further developments of similar approaches were undertaken through risk tokens, markets, and budget-aware role-based access control (RBAC) [12, 33, 44, 50]. These schemes bounded the priced access a principal could consume and used prices to steer people towards less powerful options [50]. A planner can consider a cost on every action without suffering decision fatigue, but has no inherent reason to conserve its budget, so steering must be supported through an appropriate optimisation criterion. Our proposition is that authority held over time can be exposed to the planner as an action-dependent cost, while an independent issuer enforces history-sensitive ceilings, cumulative exposure bounds, and automatic recoil.

The remainder of the paper is organised as follows. Section 2 reviews prior work on priced and budgeted access control, Section 3 presents the model, and Section 4 a worked example. Section 5 discusses limitations and Section 6 sets out an open research agenda.

References (40)