arXiv:2610.16838cs.AIOct 2026

Manuscript Offprint

arXiv:2610.16838

Same Operation, Different Permission: Evaluating Whether Guardrails Honor Authorization

Huihao Jing, Shaojin Chen, Wenbin Hu, Yuxuan Liu, Haochen Shi, Zhongwei Xie, Haoran Li, Yangqiu Song

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

Abstract

As language-model agents write code, move money and change records on behalf of users, deciding whether an action is authorized has become a central safety problem. Guardrails are often placed in front of these actions, yet few evaluations ask whether their decisions follow authorization: blocking unauthorized actions while still allowing the same actions under valid permission. We introduce AuthorizationPairs, a benchmark that contrasts authorization evidence for the same operation in its language track. It combines expert-annotated natural-language scenarios with executed and verified operations, plus externally sourced native-policy requests. AuthorizationPairs checks each decision for correctness, usability and resulting effect, and tracks each request across guardrail changes. Our experiments show that many blocked operations stem from failed reviews, not correct denials. Repairing the output format restores usable decisions but changes which authorized requests are honored, and adding a second reviewer removes some errors while rejecting valid authorization. Guardrails should therefore be evaluated on both the unauthorized actions they stop and the authorized actions they let through.

1 Introduction

Language-model agents now act for users in real systems. A coding agent may push commits to a shared repository. A customer-service assistant may issue a refund. Such agents often hold broad credentials, and a single wrong action can move money or leak private data before anyone notices. The same action can be acceptable or forbidden depending on authorization. A refund is allowed under an active delegation but forbidden after its revocation. Access-control systems encode such rules as policies, evaluated separately from enforcement (Hu et al., 2014; OASIS, 2013; Cutler et al., 2024). A guardrail in front of an agent faces the same decision. Both kinds of error are costly. Approving an unauthorized action can cause financial loss or a data breach. Rejecting an authorized action blocks legitimate work. Frustrated by repeated false denials, users may disable the guardrail or grant broader permissions, losing protection altogether.

Existing evaluations cover parts of this problem. AgentDojo and SafeArena measure security and task outcomes (Debenedetti et al., 2024; Tur et al., 2025), while Agent-SafetyBench provides interactive safety tests (Zhang et al., 2024). ST-WebAgentBench credits only policy-compliant task completions (Levy et al., 2026). Context-and permission-aware benchmarks score model answers to individual queries (Sun et al., 2025; Klisura et al., 2026; Sanyal et al., 2025). Our evaluation connects three requirements. First, permission contrasts keep the complete operation fixed. Context-sensitive evaluations already study changing contexts, and we link permission evidence to review decisions and executed effects. Second, prevention totals alone cannot distinguish correct denials from blocks caused by unusable reviews, although these failures need different fixes. Third, guardrail changes require request-level comparisons beyond aggregate totals (Xiang et al., 2025; Wang et al., 2026; Greenblatt et al., 2024; Terekhov et al., 2025). A change can raise the number of completed lawful requests while rejecting previously successful ones.

We introduce AuthorizationPairs to close these gaps. Its language track has fifty scenarios. Each scenario places one operation in four contexts: two lawful and two forbidden. Three security experts labeled all 200 contexts independently. Each allowed operation runs in a local environment, and independent checks confirm its effect. The native-policy

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

track adds 1,594 OpenFGA and Cedar requests from public sources, labeled by the policy engines themselves. We record correctness and usability for every decision, and verify application effects in the language track. Stable request identifiers across experiments reveal the exact requests helped or hurt by each change.

We use AuthorizationPairs to answer three questions. RQ1: Do guardrail decisions follow authorization? RQ2: Is a blocked operation a correct denial or a failed review? RQ3: Do interface repairs and extra reviewers keep honoring valid authorization? We evaluate eight guardrail configurations. We then compare four review interfaces on two models with three seeds each. On the native-policy track, we also combine three reviewers in fifteen orders. Our contributions are:

  1. Same action, different permission. Our language track holds the complete operation fixed and contrasts lawful and forbidden evidence, so an always-allow or always-block reviewer cannot score well. Executing and checking language-track decisions ties each judgment to a real effect.

  2. Blocked does not mean denied. We record decision usability separately from correctness. Structured review leaves 117 to 124 of 160 inputs without a usable decision for Qwen3.5-9B. For Qwen3.5-27B, the number is 48 to 50. Each such failure stops the operation. Schema decoding makes every decision usable in all six runs, revealing the permission judgments underneath.

  3. Totals hide which requests a change breaks. Following each lawful request shows what totals hide. In five of six runs, moving from direct review to schema decoding recovers some lawful requests while losing others, with net changes from -3 to +27. On the native-policy track, adding Safeguard after Qwen3.5-27B removes one incorrect approval but ve-toes 171 lawful requests. From these records we derive acceptance criteria for guardrail changes.

References (63)