跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.39420 · v1

Explicit authorization scope improves LLM-based permission checking in coding agents

首次提交 2026-11-29 15:29
版本更新 2026-11-29 15:29
雷达观测 2026-12-01 12:24
arXiv ↗PDF ↗

摘要

Coding agents use auto mode to delegate some approval decisions to permission checkers, reducing the need for repeated user confirmation. Permission checkers determine whether actions are authorized based on user requests and context. However, natural language requests often do not fully specify the scope of authorization. We evaluate three widely used coding agents (Claude Code, Codex, and Qwen Code) on DevOps and prompt injection benchmarks, recording their actions and the corresponding approval decisions throughout task execution. We then re-evaluate the recorded actions to separately assess the effects of model capability, available information, and explicit authorization rules on approval decisions. The results show that, under the original user requests, the three permission checkers incorrectly approve 54%-93% of out-of-scope actions. Neither stronger models nor additional context consistently reduces these miss rates. Further analysis shows that 132 of the 143 out-of-scope actions violate authorization rules that are absent from both user requests and tool outputs. Adding these authorization rules to the user requests reduces the miss rates for these 132 actions from 67%-92% to 8%-26%, while also reducing false-block rates for authorized actions. Once the authorization scope is explicit, providing tool outputs and target attributes further reduces miss rates. Moreover, when complete tasks are rerun with explicit authorization rules, none of the three agents proposes any out-of-scope actions. Taken together, these results suggest that reliable automatic approval requires clearly defined permissions, accurate identification of action targets, and approval decisions that consistently follow authorization rules.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-29 15:29 · 最新观测版本

Explicit authorization scope improves LLM-based permission checking in coding agents

Coding agents use auto mode to delegate some approval decisions to permission checkers, reducing the need for repeated user confirmation. Permission checkers determine whether actions are authorized based on user requests and context. However, natural language requests often do not fully specify the scope of authorization. We evaluate three widely used coding agents (Claude Code, Codex, and Qwen Code) on DevOps and prompt injection benchmarks, recording their actions and the corresponding approval decisions throughout task execution. We then re-evaluate the recorded actions to separately assess the effects of model capability, available information, and explicit authorization rules on approval decisions. The results show that, under the original user requests, the three permission checkers incorrectly approve 54%-93% of out-of-scope actions. Neither stronger models nor additional context consistently reduces these miss rates. Further analysis shows that 132 of the 143 out-of-scope actions violate authorization rules that are absent from both user requests and tool outputs. Adding these authorization rules to the user requests reduces the miss rates for these 132 actions from 67%-92% to 8%-26%, while also reducing false-block rates for authorized actions. Once the authorization scope is explicit, providing tool outputs and target attributes further reduces miss rates. Moreover, when complete tasks are rerun with explicit authorization rules, none of the three agents proposes any out-of-scope actions. Taken together, these results suggest that reliable automatic approval requires clearly defined permissions, accurate identification of action targets, and approval decisions that consistently follow authorization rules.

查看此版本解读 →查看此版本原文 ↗