AuthGateBench: Benchmarking LLMs as Authorization Gate
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. 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.
Create a lesson
Metadata
- Comments
- Data are available at https://github.com/Digital-Trust-Lab/AuthGateBench
Related papers
SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence
Shared title terminologycs.AIJunbo Shen
Do You Even Know What I Want? Improving LLMs Ability to Detect Hidden User Intent
Shared title terminologycs.AIKelsey Sikes, Sarath Sreedharan
OmniDecisionBench: Evaluating and Benchmarking the Multimodal Jev-Style System One Decision Models
Shared title terminologycs.AITianxiang Gao, Jinzhe Li, Yue Zhou et al.
StudioBench: Benchmarking Agentic Multimodal Large Language Models for Productive Audiovisual Creation
Shared title terminologycs.AIXinglong Xu, Yuxia Zhu, Siyuan Li et al.
Internalized Experience: How Training Data Shapes Memory Formation in LLMs
Shared title terminologycs.AIXianxuan Long, Xinnan Dai, Kai Guo et al.
Agent Money Benchmark: Can AI Agents Be Trusted to Spend Money?
Shared title terminologycs.AIZhe Chen, Emma Hsieh, Vicky Fu