AuthGateBench: Benchmarking LLMs as Authorization Gate

Zhixiong Zhuang, Jin Jia, Zhiwei Shang, Ziyu Wang
10/12/2026
cs.AI
benchmark-dataset

No confident code implementation found for this paper.

Abstract

Automated approval systems let coding agents execute high-risk actions with minimal human oversight by delegating the authorization decision to a classifier, typically a large language model (LLM). Such systems, adopted in tools like Claude Code and Codex, remain vulnerable to failure modes such as scope escalation, where the agent takes actions exceeding what the user authorized.

Show full abstract

Existing benchmarks focus mainly on malicious requests, evaluating refusal under an implicit policy. We introduce AuthGateBench, the first policy-guided benchmark for authorization gating under benign requests. We implement a novel pipeline where an LLM generates contrast pairs with identical action and trajectory but differing request, flipping the label between block and allow. This allows us to assess whether models reason over context rather than the action alone. We further examine whether auxiliary environment signals can help models make better decisions. The resulting benchmark comprises 1,400 instances spanning five failure modes drawn from real-world Claude Code incidents. Evaluations show accuracy degrades unevenly across failure modes as models over-rely on internal safety alignment, and models still block most actions even when explicitly authorized, revealing unstable rather than deterministic decisions; retrospectively retrieved environment signals, however, substantially improve authorization accuracy.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhuang2026authgatebench,
  title  = {AuthGateBench: Benchmarking LLMs as Authorization Gate},
  author = {Zhixiong Zhuang and Jin Jia and Zhiwei Shang and Ziyu Wang},
  year   = {2026},
  eprint = {2610.16426},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.16426v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.16426.svg)](https://codeofpaper.com/paper/2610.16426)

Discussion