arXiv:2610.24311cs.CROct 2026

Manuscript Offprint

arXiv:2610.24311

RATION: Towards Quantitative Risk-Based Access Control for AI Agents

Yuntao Du, Harsh Chaudhari, Yuetian Chen, Ron Heichman, Ashish Jayamohan, Kumar Pallav, Mahim Patel, Kaiyuan Zhang, Kyle Polley, Jerry Ma, Ninghui Li

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

ABSTRACT

AI agents increasingly interact with external environments to complete complex user tasks. These interactions can lead to unexpected behavior and expose agents to security threats such as indirect prompt injection. Current agent security systems largely protect agents by restricting their actions, which can result in a substantial security–utility trade-off for complex, open-ended tasks. To address this, we propose a quantitative risk-based approach to access control for AI agents that regulates measurable risks accumulated during task execution. As a concrete realization of this approach, we introduce RATION, a security framework that tracks measurable risks associated with agent actions and enforces quantitative constraints throughout execution. RATION first constructs a task-specific policy by combining explicit constraints derived from the user request with implicit risks calibrated from historical executions of similar tasks. During task execution, RATION continuously tracks the accumulated risks and applies different enforcement strategies depending on the type of risk. Extensive experiments on four security benchmarks show that RATION provides strong security while maintaining high task utility across diverse models and environments.

1 INTRODUCTION

The impressive reasoning and planning capabilities of large language models (LLMs) have enabled agentic systems that can execute complex tasks on behalf of users. These AI agents are rapidly becoming part of the everyday computing ecosystem, yet security mechanisms have not kept pace with their growing capabilities. Existing security mechanisms were developed for pre-agent computing environments characterized by tightly scoped and largely deterministic software behavior. Access control mechanisms, in particular, are primarily designed around human users and often grant them broad privileges that are, in principle, sufficient to cause significant harm. This design rests on several assumptions: most users act in good faith; malicious actors can be deterred through auditing and real-world consequences; and humans take actions, whether correct or erroneous, at a relatively limited rate. AI agents challenge these assumptions. They can exercise privileges and take actions at machine speed, are not themselves deterred by real-world consequences, and may take actions that are technically permitted but that a typical human user would rarely take. As agents become increasingly autonomous, access control mechanisms designed for human users are poorly matched to the needs for controlling agents.

We argue that Quantitative Risk-Based Access Control (QRBAC) is a promising paradigm for controlling agent access. The key ideas are to (1) quantify the risk associated with each individual access; (2) track the cumulative risk incurred over time; (3) establish a risk threshold for a task or entity; and (4) make access control decisions by comparing the accumulated risk against this threshold. The concept of risk-based access control was introduced in a JASON report that examined the limitations of traditional access-control models and advocated more flexible approaches that explicitly account for risk (JASON Program Office, 2004). Despite its promise, risk-based access control has seen limited adoption, perhaps because conventional mechanisms, such as Discretionary Access Control and Role-Based Access Control (Sandhu et al., 1996), have provided a reasonable balance between security and utility for human users in the pre-agent era. We argue that this balance changes with the emergence of AI agents. Their autonomy, speed, and ability to perform long sequences of actions make QRBAC particularly well suited to controlling agent access.

In this paper, we apply the principle of QRBAC to AI agents, focusing on mitigating the risks caused by indirect prompt injection (IPI) attacks (Greshake et al., 2023). Existing agents use tools to interact with external environments and incorporate the resulting observations into subsequent decisions (Yao et al., 2023; Debenedetti et al., 2024). However, such interactions also expose agents to untrusted external content. In IPI, an adversary embeds malicious instructions in external content to manipulate an agent into executing unintended actions. Current system-level defenses for IPI impose external controls around the agent's interaction with its environment, drawing on the idea of information-flow control (Denning, 1976). These mechanisms improve security by restricting what information may propagate to the agent or which actions it may perform. However, legitimate behavior often depends on information discovered during execution, making necessary adaptations difficult to distinguish from adversarial manipulation. Existing defenses can therefore face a significant security–utility trade-off, particularly for complex tasks.

Moreover, existing defenses typically constrain the agent at the level of individual actions: they determine whether each proposed action is permitted, such as which tools the agent may invoke and which data it may access. However, an execution can accumulate substantial security risk even when every action it takes is individually permitted. For example, an injected log entry could repeatedly induce an agent to restart an authorized service. Each restart may satisfy the action-level policy, yet repeated restarts can keep the service unavailable. Action-level policies alone therefore cannot capture security conditions that depend on what accumulates across an execution.

Motivated by these limitations, we introduce RATION, a system-level security framework that realizes QRBAC for AI agents. RATION constructs and enforces a task-specific security policy from two complementary sources. Explicit constraints capture requirements stated in the user request, while implicit risks use execution histories of similar tasks to establish reference thresholds for behavioral quantities. Before task execution, an LLM-based Provisioner identifies the applicable task category and combines its implicit rules with explicit constraints extracted from the user request. During execution, a deterministic Risk Monitor tracks the relevant risk quantities and evaluates each proposed tool call against the resulting policy. It blocks actions that violate explicit constraints and intervenes when implicit risks exceed their thresholds, allowing the agent to reconsider subsequent actions.

We evaluate RATION on four agent security benchmarks (i.e., DTap, AgentDyn, AgentDojo, and ASB) against a broad range of existing defenses. Across these benchmarks, RATION consistently provides strong security while preserving task utility. On DTap, the most challenging benchmark in our evaluation, RATION reduces the average attack success rate (ASR) from 38.7% to 16.5%, while preserving or even increasing the task utility. On the other three benchmarks, RATION reduces ASR to at most 1.4% while maintaining high task utility. Compared with existing defenses, which often achieve stronger security by substantially restricting legitimate agent behavior, RATION provides a favorable security–utility trade-off. We further evaluate RATION across different models and agent security threats beyond IPI, demonstrating its effectiveness and broad applicability. The main contributions of this work are summarized as follows:

• We identify QRBAC as a security paradigm particularly well suited to AI agents.

• We develop RATION as a concrete realization of this paradigm. RATION constructs task-specific risk policies from user-specified constraints and execution histories of similar tasks, and enforces them through deterministic runtime monitoring.

• We evaluate RATION against a wide range of defenses across four agent security benchmarks. The results show that RATION consistently provides strong security while preserving task utility.