Same Operation, Different Permissions: Evaluating Whether Guardrails Follow AuthorizationSame Operation, Different Permission: Evaluating Whether Guardrails Honor Authorization
The authors use AuthorizationPairs to find that fixing formatting can restore usable decisions, but the allowed legitimate requests change.
- When an agent transfers money, changes records, or submits code on behalf of a user, the same operation can be allowed or forbidden depending on authorization. Counting only blocks cannot distinguish correct refusals from review failures, nor show which legal requests are no longer allowed after a fix.
- AuthorizationPairs fixes the operation and only changes the authorization evidence. The language track has 50 scenarios and 200 contexts annotated by experts, with local execution effects verified; the native-policy track's labels come from the OpenFGA and Cedar engines. The evaluation separately records correctness, usability, and request-level gains and losses.
- On the language track, Qwen3.5-27B and Safeguard have no forbidden effects. Fixing the format restores usable decisions, but legal requests have gains and losses. On 1,215 native-policy items, Qwen3.5-27B has 99.1% accuracy, and adding Safeguard vetoes 171 requests.
- The authors state that language scenarios are drafted with AI assistance, annotators are all in security, two issuer readings are unresolved, native-policy references hold only for the given formal policies, and each case is a single review. Experiments cover language track results for eight configurations, two models with four interfaces and three seeds, and fifteen reviewer orders on 1,215 items.
- Evaluated models
- Qwen3.5-27BQwen3.5-9BNemotronGPT-OSS SafeguardGranite GuardianPolicyGuardQwen3Guard
- Benchmarks
- AuthorizationPairs language trackAuthorizationPairs native-policy track
- Metrics
- forbidden effectslawful completionsfalse denialsunavailable decisionsusable correctnessincorrect approvals
The researchers propose a benchmark that evaluates whether guardrail decisions truly follow authorization by comparing evidence for the same operation with and without authorization. The benchmark combines expert-annotated natural language scenarios, executed and verified operations, and native policy requests from external sources, examining each decision from correctness, usability, and practical effectiveness, and tracking how requests behave after guardrail changes. Their experiments show that many blocked operations result from review failures rather than correct rejections; merely fixing output format restores usable decisions but changes which authorized requests are allowed; adding a second reviewer reduces some errors but also rejects valid authorizations.
Paper analysis
What problem does this paper attempt to solve?
Guardrails should block unauthorized operations while allowing the same operation under valid authorization.
While guardrails block unauthorized operations, do they still allow the same operation to be executed under valid authorization?
- Scenario: Language agents submit code, process refunds, or modify records on behalf of users, and often hold broad credentials. The authors state that the same operation can be allowed or forbidden depending on authorization, for example, a refund under a valid delegation is forbidden after revocation; allowing unauthorized actions may cause financial loss or data leakage, while rejecting authorized ones blocks legitimate work, and users may disable guardrails or expand permissions as a result.
- Gaps in existing evaluations: The authors state that AgentDojo and SafeArena measure security and task outcomes, Agent-SafetyBench conducts interactive safety testing, ST-WebAgentBench only counts policy-compliant completions, and permission benchmarks score individual queries. The authors believe these works cover only part of the problem: they do not link authorization evidence for a fixed operation to review decisions and execution effects, interception counts cannot distinguish correct refusals from unavailable reviews, and guardrail changes lack request-level comparisons.
- The authors' setup: The full operation remains unchanged, only the authorization evidence is changed. The authors state that therefore, an always-allow or always-deny reviewer cannot score well on all four contexts; being intercepted is not the same as a correct refusal, and review failures require different fixes.
- Proposed benchmark: The authors propose AuthorizationPairs and use it to answer three questions: whether decisions follow authorization; whether interception is a correct refusal or a review failure; and whether interface fixes and additional reviewers still respect valid authorization. The language track has 50 scenarios and 200 contexts; the native-policy track has 1,594 OpenFGA and Cedar requests.
What related research exists?
Related work spans access control, agent guardrails, and contrast testing; the authors narrow evaluation to fixed operations.
Access Control and Policy Languages
- Least privilege and authorization languages: Saltzer and Schroeder (1975), Pang et al. (2019), and Cutler et al. (2024) discuss least privilege, consistent policy-based decisions, and authorization languages like Cedar. Hu et al. (2014) and OASIS (2013) treat rules as policies evaluated separately from enforcement.
- From natural language to rules: Lawal et al. (2024), Vatsa et al. (2026), and Wessner et al. (2026) translate natural-language requirements into formal rules.
- Permission-following tests: Role-Conditioned Refusals, OrgAccess, and FraudBench (Klisura et al., 2026; Sanyal et al., 2025; Pai and Xian, 2026) test whether language models follow permissions in database, organization, and banking scenarios. The authors state the language track connects permission comparisons of fixed operations to usable review, verified effects, and request-level intervention records.
Guardrails and Agent Evaluation
- Action and trajectory guardrails: GuardAgent (Xiang et al., 2025) and AgentSpec (Wang et al., 2026) enforce safety rules on agent actions; PolicyGuardBench (Wen et al., 2025) checks whether trajectories comply with policy.
- Safety and task outcomes: AgentDojo (Debenedetti et al., 2024) and SafeArena (Tur et al., 2025) jointly evaluate safety and task behavior; Agent-SafetyBench (Zhang et al., 2024) tests broader interaction risks; ToolEmu (Ruan et al., 2024) uses simulated tools to expose risky behavior; ST-WebAgentBench (Levy et al., 2026) scores only completions that comply with applicable policy. The introduction also mentions context or permission benchmarks scored per query, such as CASE-bench (Sun et al., 2025).
- The authors' narrowing: The authors state this paper's focus is narrower, studying how a reviewer judges one operation under contrasting permissions and tracking decision availability and request identity across guardrail changes.
Contrast Testing and Supervision
- Local boundaries: Contrast Sets (Gardner et al., 2020) perturb test instances to probe local decision boundaries. The authors state they apply the same idea to permission evidence.
- Expected relations for related inputs: CheckList (Ribeiro et al., 2020), metamorphic testing (Chen et al., 1998), and access-control verification (Hu et al., 2017) define expected relations for related inputs.
- Supervision cost: AI Control (Greenblatt et al., 2024) and Control Tax (Terekhov et al., 2025) study auditing, fallback, and supervision costs. The authors state request-level records make decision availability explicit and separate output failures from usable refusals.
Baseline Configurations and Benchmarks Used
- Control is not an external benchmark score: Experiments compare eight guardrail configurations on AuthorizationPairs. The language track tests 160 cases; native-policy tests 1,215. Qwen3Guard keeps fixed content-safety classification, which the authors use as a control. Four review interfaces are compared on the same model and evidence.
The authors argue existing evaluations each cover only part of the problem; AuthorizationPairs connects permission comparisons of fixed operations, usable review and execution effects, and request-level change records.
How does the paper address this problem?
AuthorizationPairs fixes the operation and only changes the authorization evidence, and records judgment, usability, and effectiveness separately.
The authors use AuthorizationPairs to place the same operation into both legal and forbidden evidence, then record correctness, decision availability, and execution effects separately.
Case Contract
Both tracks share a contract: request, policy, evidence, effect, source. The request specifies subject, action, parameters, resource, environment, and purpose; policy and evidence retain the original text. Language-track effect descriptions describe local operations. Native-policy cases have only decisions, no applied effects. A policy is legal if it allows the request given the evidence, otherwise forbidden.
Language Track: Fixed Operation, Only Evidence Changes
- Four contexts: Each scenario fixes the request, policy, and effect, changing only the authorization evidence. Of the four contexts, two are legal and two are forbidden. Variants may change the authorization's scope, status, or issuer, or add irrelevant evidence.
- Parameters are not comparison factors: Amounts, payees, or deployment artifacts belong to the request itself. Comparisons only change evidence that permits the full request, so passing via "block all actions of a type" is not possible. Legal and forbidden contexts test both sides of the same permission boundary; the backend's ability to execute the operation is unchanged.
- Two legal paths: Two legal contexts often authorize via different paths, e.g., one is a valid authorization, the other an accepted handover. The backend can still execute the operation, but one valid authorization may no longer let it through. Stable scenario and request identifiers are used to detect such cases after each change.
- What the model sees: The model receives only the public policy, request, and evidence. Reference labels and scoring annotations are not provided. Each input stores a hash.
Where Labels Come From
- Human annotation: Three annotators with security and access-control experience independently labeled all 200 language contexts following a shared guide, seeing the same materials as the model. The three agreed on 186 contexts (Fleiss' κ = 0.91). The 14 non-agreed contexts were adjudicated by discussion, changing 3 initial majority labels. Final labels matched the frozen scoring reference case by case. Annotators wrote explanatory notes for 67 contexts.
- Formal review: Labels were encoded as 50 policy expressions with typed facts, with facts linked to source text spans. Two independently implemented evaluators reproduced all 198 decidable labels. Two additional contexts retained legal expert labels but remained unresolved under a stricter issuer reading. Automated labeling changed no labels (Appendix B.2).
- Engine labels: The native-policy track does not modify public OpenFGA and Cedar examples, containing 1,594 distinct requests, 47 source applications, and 60 policy encodings. In 23 groups, the same policy and query had both legal and forbidden status. Connected components by source application and shared policy encoding yielded 379 development requests and 1,215 test requests. Native engines reproduced every reference label. Models see policy, request, and status, not the expected answer.
Execution Points and Three Outcomes
- Dispatch: The language-track execution point receives only the reviewer's decision and effect description, not the reference label. Only ALLOW executes in the local environment; other outputs, including unavailable outputs, do not execute.
- Verification: Effect types range from ledger transfers and code deployment to document signing and file delivery, nine types total. Appendix A.3 lists transfers, order creation, record updates, byte delivery, deployment, signing, reservations, inclusion in analysis, and download delivery. Independent checks read back balances, database rows, file bytes, and signatures. All 1,600 raw effects matched dispatch decisions. The authors state the task is permission review of a given operation, not planning or tool selection.
- Separate scoring: Whether the judgment is correct, whether a usable decision exists, and what effect results are scored separately. A usable decision can still be wrong; an unavailable decision blocks execution but makes no judgment. Native-policy has no executable effects and is scored only on decisions.
Configurations, Interfaces, and Composition
- Eight full configurations: Those receiving authorization policy in the prompt are Qwen3.5-9B without thinking, Qwen3.5-27B with thinking, and Nemotron. Those with their own policy interface are GPT-OSS Safeguard, Granite Guardian, PolicyGuard, and NeMo Guardrails self-check running on Qwen3.5-9B. Qwen3Guard keeps fixed content-safety classification as a control.
- Shared constraints: 32K token context, single attempt, one-hour limit. Prompt templates and inference settings differ, so the authors compare full configurations rather than isolated model factors. Development-set runs only checked the pipeline, not tuning prompts for accuracy. Unparseable responses block execution and count as unavailable; explicit UNKNOWN counts as abstention. Every case stays in the denominator.
- Four interfaces: Direct review requires a single decision. Structured review also requires policy requirements, findings, and supporting evidence. NeMo self-check returns the component-native yes or no. Schema review keeps the structured review prompt, adding only JSON schema decoding; the schema fixes the output format and contains no permission information. The authors state that only structured review relative to schema review changes decoding alone.
- Replication and composition: Interface replication experiments ran three seeds each on Qwen3.5-9B and Qwen3.5-27B, both with thinking off, temperature 0.7, top-p 0.95, output cap 16K, single attempt. On native-policy, three reviewers composed in fifteen all-must-allow orders: the next sees the request only if all previous allowed it. Composition replays cached decisions without new inference.
What experiments did the paper conduct?
On the language track, Qwen3.5-27B and Safeguard are consistent with the reference; after fixing the format, the set of legal requests still changes.
Experimental Setup
- Configurations under test: Qwen3.5-9B, Qwen3.5-27B, Nemotron, GPT-OSS Safeguard, Granite Guardian, PolicyGuard, NeMo self-check running on Qwen3.5-9B, and Qwen3Guard as a control. Appendix model cards are named Nemotron 3.5 Content Safety, gpt-oss-safeguard-20b, Granite Guardian 3.3 8B, PolicyGuard-4B, Qwen3Guard-Gen-4B. NeMo package version is 0.24.1.
- Data: Language track development has 10 scenarios and 40 inputs; testing has 40 scenarios and 160 inputs (80 lawful, 80 forbidden), covering 14 authorization families and 5 domains (Table 3). native-policy development has 379 inputs, testing has 1,215; development observations are not merged into test scores.
- Metrics: forbidden effect is an executed forbidden request; lawful completion is an executed lawful request; an available refusal of a lawful request is a false denial; no available decision is an unavailable decision. usable correctness counts decisions that are available and consistent with the reference. native-policy reports incorrect approval, false denial, and unavailable decision.
- Judgment: Language track reference is expert-adjudicated labels, not an LLM judge. native-policy reference is OpenFGA and Cedar engine labels, with engines reproducing all references. Unparseable responses count as unavailable, not as correct refusals.
- Replication and sampling: Each of the eight configurations in Table 4 is reported once; Appendix A.2 states Qwen3.5-9B is nonthinking with temperature 0, Qwen3.5-27B uses thinking. Interface replication is two models, four interfaces, three seeds, 200 inputs, totaling 4,800 calls. Fifteen reviewer orders are replayed from cache.
Main Results
Language track tests 160 inputs, each of the eight full configurations once (upper half of Table 4). Denominators for forbidden effects and lawful completions are 80, and for unavailable are 160. In this table, Qwen3.5-27B uses thinking, Qwen3.5-9B is nonthinking.
| Configuration | forbidden /80 | lawful /80 | unavailable /160 | | Qwen3.5-9B | 6 | 65 | 0 | | Qwen3.5-27B | 0 | 80 | 0 | | Nemotron | 58 | 76 | 12 | | GPT-OSS Safeguard | 0 | 80 | 0 | | Granite Guardian | 17 | 69 | 0 | | PolicyGuard | 47 | 46 | 67 | | NeMo self-check | 14 | 72 | 0 | | Qwen3Guard | 72 | 80 | 0 |
- Configurations consistent with reference: The authors state that Qwen3.5-27B and Safeguard are consistent with the reference on all 160 inputs. The remaining configurations fail in different ways. Qwen3.5-9B, Granite, and NeMo all return available decisions but have errors in both directions; the authors state these three have forbidden effects from 6 to 17 and false denials from 8 to 15.
- Control and unavailable outputs: Qwen3Guard completes all 80 lawful requests while allowing 72 forbidden requests. The authors state that content safety labels transfer poorly to authorization judgments. Nemotron allows 58 forbidden effects and has 12 inputs with no available decision.
- Harder comparisons: The authors state that on the language track two configurations reach the ceiling, so harder comparisons come from the native-policy track and interface studies. Figure 3 reports usable correctness by authorization family, with unavailable decisions counted as incorrect; cell values follow that figure.
Interface Failures and Format Fixes
Table 1 lists seeds 0/1/2 on the same 160 inputs. Both models have thinking disabled.
- Format failures: Structured review has unavailable decisions in every replication. Qwen3.5-9B has 117, 121, 124 /160; Qwen3.5-27B has 48, 50, 48 /160. The authors state that responses end normally within output limits, so these are format failures, not truncation. Each failure blocks the operation, appearing like a refusal in interception counts. In the original temperature 0 run, structured review blocks 58/80 forbidden requests via unavailable decisions, with only 22 from correct refusals; lawful completions are 10, and schema review has 71 (Table 8).
- Available does not mean correct: After schema decoding, both models have available decisions for every input across three seeds. Table 1 Mean output tokens: structured review is 54,127 and 57,119, schema review is 50,940 and 52,352. Under schema review, Qwen3.5-9B has forbidden effects of 6/0/3, Qwen3.5-27B has 0/0/0; the latter has lawful completions of 75/75/74. NeMo self-check on Qwen3.5-9B allows most forbidden requests (74/60/80).
- Lawful requests have gains and losses: Figure 1 shows gains and losses for lawful requests across six interface changes, with bars and labels as three-seed means and whiskers as min-max. The authors state that across six runs from direct review to schema review, five have both gains and losses, with net changes from minus 3 to plus 27. Table 7: Qwen3.5-9B net changes are +12, +27, −3; Qwen3.5-27B are +1, +2, 0. The authors report that after scenario-clustered tests and Holm correction across all 36 pairwise comparisons, only Qwen3.5-9B's +27 at seed 1 remains below 0.05 (Table 7 corrected p = 0.000040). The original temperature 0 run gains 13 lawful requests and loses 2. The authors state that removing the two unresolved contexts does not change these conclusions.
native-policy and Additional Reviewers
- Single reviewer: On 1,215 test inputs, the authors state Qwen3.5-27B has 99.1% accuracy, 1 incorrect approval, 10 false denials; Safeguard has 84.2% accuracy, incorrectly denying 174 of 767 lawful requests; Qwen3.5-9B has 69.4% accuracy, approving 261 of 448 forbidden requests. Table 2 lawful approvals are 757, 588, 656 /767, and incorrect approvals are 1, 12, 261 /448. Accuracy weighted equally by source application is 67.6%, 99.3%, 87.2% (Appendix C.3, order corresponds to 9B, 27B, Safeguard).
- Two types of errors: The authors state that Qwen3.5-27B's only incorrect approval is allowing Bob to view the root folder: Bob owns one document in it, but owning a child resource does not grant access to the parent. Safeguard denies Diana viewing her submitted reimbursement, missing the path from submitter to editor to viewer. The authors state the former crosses resource boundaries, the latter misses indirect authorization; engine replay confirms both references.
- all-must-allow: The authors state that combined acceptance does not exceed any member. Adding Qwen3.5-27B after Qwen3.5-9B removes 260 of 261 incorrect approvals at the cost of 8 lawful approvals. Conversely, not removing errors and losing 109 lawful approvals. Adding Safeguard after Qwen3.5-27B removes that 1 incorrect approval but denies 171 lawful requests (Table 2: lawful approvals from 757 to 586). The three-member combination has 0 incorrect approvals and 502/767 lawful approvals. Figure 2's caption states that additional reviewers can remove incorrect approvals but can also veto lawful requests.
Other Ablations and Analyses
- Table 8 (original temperature 0, Qwen3.5-9B): looking only at forbidden effects, both structured and schema review are 0; lawful completions are 10 vs 71; structured review has 125 unavailable decisions, schema has 0; direct review to schema review loses 2 lawful successes and gains 13.
- Appendix E: of 36 interface comparisons, 21 reach the authors' reported significance criterion at the 0.05 level, including all 18 comparisons involving unconstrained structured review; only one of the six direct-to-schema comparisons does so. The replication study changes temperature and sampling relative to temperature 0, so differences cannot be attributed solely to seed.
- Appendix C.2: PolicyGuard reaches the 4-token output limit on every test input; full labels can still be effective, with 67 of 160 invalid. The 40 development inputs are not merged into test scores.
- Table 6: Qwen3.5-27B is correct on 1,170/1,181 on OpenFGA and 34/34 on Cedar; Safeguard's 6 unavailables are all output-limit terminations, 5 on lawful inputs and 1 on forbidden inputs.
- Appendix B.1: after removing the two unresolved contexts, direct-to-schema gains and losses remain 2 and 13; structured-to-schema gains drop from 61 to 59.
- Appendix F.1: on that candidate set, requiring both zero incorrect approvals and no unavailable decisions is infeasible; the authors call it a post-hoc selection example, not an independent deployment validation.
What are some points that can be further explored?
The authors state that scenarios are drafted by AI, annotators all have security backgrounds, and each case is only a single review.
Limitations and Future Directions Noted by the Authors
- Scenario drafting: The fifty language scenarios were drafted with AI assistance (Limitations).
- Annotator background: All three annotators work in security; readers from clinical, legal, or financial practice may interpret some policies differently (Limitations).
- Unresolved readings: Two issuer readings remain unresolved (Limitations).
- Formal policy scope: The native-policy reference holds only for the provided formal policies (Limitations).
- Public examples and pilot overlap: Public examples may overlap with model training data; source and scenario identifiers record these dependencies. The native-policy test split is public, and 89 of its cases appeared in an earlier pilot (Limitations).
- Full configurations and single decisions: Models differ in inference settings, wrappers, and output caps, so comparisons are of full configurations. Each case is a single review decision; multi-step agent workflows remain future work (Limitations).
Experimental Coverage
- The language-track main results cover eight full configurations, a test set of 160 cases (80 legal, 80 forbidden), and 14 authorization families (Table 3, Table 4).
- Interface replication experiments cover Qwen3.5-9B and Qwen3.5-27B, four interfaces, three seeds, totaling 4,800 calls (Section 4.3, Table 1).
- Native-policy tests cover 1,215 requests and three reviewers, plus cached replay of fifteen all-must-allow orders (Table 2, Table 9).
- Language-track effect verification covers nine effect types; 1,600 raw effects matched dispatch decisions (Section 3.4).
- Reference labels come from three annotators, 186/200 agreed, Fleiss' κ = 0.91, with two unresolved contexts (Section 3.2). The paper states development-set runs did not tune prompts for accuracy (Section 4.1).
Summarize the main content of the paper
When comparing fixed operations against authorization, usable outputs and retained legitimate authorizations must be checked separately.
AuthorizationPairs evaluates whether guardrail allowances follow authorization: the operation is fixed, only permission evidence changes.
- Two things to separate: Block unauthorized operations while allowing the same operation under valid authorization. The authors argue that looking only at total blocks cannot distinguish correct refusals from review failures.
- Benchmark: The language track has 50 scenarios and 200 contexts, labeled by three security experts, with execution effects verified locally. The native-policy track has 1,594 OpenFGA and Cedar requests, labeled by policy engines. Each decision records correctness, availability, and effect separately, and request identifiers compare guardrail changes.
- One language-track result: On 160 tests, Qwen3.5-27B with thinking and GPT-OSS Safeguard had 0 forbidden effects and 80 legal completions (Table 4). Qwen3Guard completed all legal requests while letting through 72/80 forbidden requests.
- Format fixes: Structured review left 117–124/160 cases for Qwen3.5-9B and 48–50/160 for Qwen3.5-27B without usable decisions (Table 1). Schema decoding made every decision usable across six runs, but switching from direct to schema review gained and lost legal requests in five runs, with net changes from −3 to +27.
- Added reviewer: On 1,215 native-policy cases, Qwen3.5-27B had 99.1% accuracy. Adding Safeguard after it removed 1 erroneous approval and refused 171 legal requests.
- Authors' conclusion: Usable output and preserving legal authorization are separate requirements. The authors argue guardrail evaluation should check both blocked unauthorized actions and allowed authorized actions.