Search arXiv⌕ Search

arXiv · 2611.39420

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

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Shimeng Yang, Changjian Zhou, Chuan Qin, Junfeng Fang, Anchen Ni, Bin Yan, Senchang Hu. 2026-11-29. Explicit authorization scope improves LLM-based permission checking in coding agents. https://searcharxiv.org/abs/2611.39420

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Settling the Reward Hypothesis

The reward hypothesis posits that, "all of what we mean by goals and purposes can be well thought of as maximization of the expected value of the cumulative sum of a received scalar signal (reward)." We aim to fully settle this hypothesis. This will not conclude with a simple affirmation or refutation, but rather specify completely the implicit requirements on goals and purposes under which the hypothesis holds.

cs.AI↗

Explainable Innovation Engine: Dual-Tree Agent-RAG with Methods-as-Nodes and Verifiable Write-Back

Retrieval-augmented generation (RAG) improves factual grounding, yet most systems rely on flat chunk retrieval and provide limited control over multi-step synthesis. We propose an Explainable Innovation Engine that upgrades the knowledge unit from text chunks to methods-as-nodes. The engine maintains a weighted method provenance tree for traceable derivations and a hierarchical clustering abstraction tree for efficient top-down navigation. At inference time, a strategy agent selects explicit synthesis operators (e.g., induction, deduction, analogy), composes new method nodes, and records an auditable trajectory. A verifier-scorer layer then prunes low-quality candidates and writes validated nodes back to support continual growth. Expert evaluation across six domains and multiple backbones shows consistent gains over a vanilla baseline, with the largest improvements on derivation-heavy settings, and ablations confirm the complementary roles of provenance backtracking and pruning. These results suggest a practical path toward controllable, explainable, and verifiable innovation in agentic RAG systems. Code is available at the project GitHub repository https://github.com/xiaolu-666113/Dual-Tree-Agent-RAG.

cs.AI↗

Strategic Algorithmic Monoculture: Experimental Evidence from Coordination Games

AI agents increasingly make high-stakes decisions in multi-agent environments where outcomes depend on coordination (e.g., hiring, pricing, and trading). We distinguish primary algorithmic monoculture---baseline action similarity---from strategic algorithmic monoculture, whereby agents adjust similarity in response to incentives. We design a simple experiment that cleanly separates these forces and deploy it on human and large-language-model (LLM) subjects. LLMs exhibit high levels of baseline similarity (primary monoculture) and, like humans, they regulate it in response to coordination incentives (strategic monoculture). While LLMs coordinate extremely well on the same action, they lag behind humans in sustaining heterogeneity when divergence is rewarded.

cs.AI↗