arXiv:cs.AI· Zhixiong Zhuang, Jin Jia, Zhiwei Shang, Ziyu Wang·· 16 小时前
AuthGateBench:将 LLM 作为授权门禁的基准测试
AuthGateBench: Benchmarking LLMs as Authorization Gate
AI 导读
研究者提出 AuthGateBench,首个针对良性请求下授权门禁的策略引导基准,包含 1400 个实例、覆盖源自 Claude Code 真实事件的五类失败模式。该基准用 LLM 生成动作与轨迹相同但请求不同的对比样本,检验模型是否基于上下文而非仅凭动作判断。评测显示模型过度依赖内部安全对齐,各失败模式准确率下降不均,即使明确授权仍会拦截多数动作,而回溯检索的环境信号可显著提升授权准确率。
正文
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.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.16426 [cs.AI] |
| (or arXiv:2610.16426v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.16426 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Zhixiong Zhuang [view email]
[v1]
Mon, 12 Oct 2026 08:55:01 UTC (6,418 KB)
来源:arXiv:cs.AI · arxiv.org