Do Coding Agents Understand Least-Privilege Authorization?
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
As coding agents gain access to shells, repositories, and user files, least-privilege authorization becomes a prerequisite for safe deployment: an agent should receive enough authority to complete the task, without unnecessary authority that exposes sensitive surfaces. To study whether current models can infer this boundary themselves, we first introduce permission-boundary inference, where a model maps a task instruction and terminal environment to a file-level read/write/execute policy, and AuthBench, a benchmark of 120 realistic terminal tasks with human-reviewed permission labels and executable validators for utility and attack outcomes. AuthBench shows that authorization is not a simple conservative-versus-permissive calibration problem: frontier models often omit permissions required by the execution chain while also granting unused or sensitive accesses. Increasing inference-time reasoning does not resolve this mismatch. Instead, each model moves toward a model-specific authorization attractor: more reasoning makes it more consistent in its own failure mode, whether broad-but-exposed or tight-but-brittle. This suggests that direct policy generation is the bottleneck, because a single generation must both discover all necessary accesses and reject all unnecessary ones. We therefore propose Sufficiency-Tightness Decomposition, which first generates a coverage-oriented policy by forward-simulating the task and then audits each granted entry for grounding and sensitivity. Across tested models, this decomposition improves sensitive-task success by up to 15.8% on tightness-biased models while reducing attack success across all evaluated models.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 49 of its 68 references that are in the map. First posted on arXiv 14 May 2026.
Builds on
49 of 68 references.
Closest ancestors · 17
Same direction, newest first
- 2026Supply-Chain Poisoning Attacks Against LLM Coding Agent Skill Ecosystems3 Apr
- 2026AgentHazard: A Benchmark for Evaluating Harmful Behavior in Computer-Use Agents3 Apr
- 2026Evaluating Privilege Usage of Agents with Real-World Tools30 Mar
- 2025SoK: Trust-Authorization Mismatch in LLM Agent Interactions7 Dec
- 2025Delegated Authorization for Agents Constrained to Semantic Task-to-Scope Matching30 Oct
- 2025The Trust Paradox in LLM-Based Multi-Agent Systems: When Collaboration Becomes a Security Vulnerability21 Oct
- 2025A Vision for Access Control in LLM-based Agent Systems13 Oct
- 2025Your Harness is Not Secure: Benchmarking Real-world Threat of Command Line Interface Agent8 Oct
- 2025Breaking the Code: Security Assessment of AI Code Agents Through Systematic Jailbreaking Attacks1 Oct
- 2025RAS-Eval: A Comprehensive Benchmark for Security Evaluation of LLM Agents in Real-World Environments18 Jun
- 2025OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents17 Jun
- 2025TRiSM for Agentic AI: A Review of Trust, Risk, and Security Management in LLM-based Agentic Multi-Agent Systems4 Jun
5 more
- 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents24 Mar
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan
Other references · 32
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systemscited by 170
- 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 164
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 105
- 2024IRIS: LLM-Assisted Static Analysis for Detecting Security Vulnerabilitiescited by 100
20 more
- 2024Large Language Models Must Be Taught to Know What They Don't Knowcited by 99
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agentscited by 80
- 2025Authenticated Delegation and Authorized AI Agentscited by 63
- 2024Unlocking the Capabilities of Thought: A Reasoning Boundary Framework to Quantify and Optimize Chain-of-Thoughtcited by 56
- 2025Levels of Autonomy for AI Agentscited by 45
- 2024Human-In-the-Loop Software Development Agentscited by 42
- 2025Multi-Agent Security Tax: Trading Off Security and Collaboration Capabilities in Multi-Agent Systemscited by 27
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 26
- 2024ConfusedPilot: Confused Deputy Risks in RAG-based LLMscited by 22
- 2025Securing the Model Context Protocol (MCP): Risks, Controls, and Governancecited by 22
- 2026Quantifying Frontier LLM Capabilities for Container Sandbox Escapecited by 18
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2025SandboxEval: Towards Securing Test Environment for Untrusted Codecited by 10
- 2025Guardians and Offenders: A Survey on Harmful Content Generation and Safety Mitigation of LLMcited by 8
- 2026What Matters For Safety Alignment?cited by 6
- 2026Do LLMs Know What They Know? Measuring Metacognitive Efficiency with Signal Detection Theorycited by 6
- 2025KnowRL: Teaching Language Models to Know What They Knowcited by 5
- 2025RBF++: Quantifying and Optimizing Reasoning Boundaries across Measurable and Unmeasurable Capabilities for Chain-of-Thought Reasoningcited by 4
- 2024Saltzer & Schroeder for 2030: Security engineering principles in a world of AIcited by 2
- 2026ALPS: Automated Least-Privilege Enforcement for Securing Serverless Functionscited by 1
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026CatchBench: When Can an Agent Failure Be Caught?cited by 2
- 2026The Vulnerability With No CVE: Managing Persistent Gaps Between Mandate and Authority in AI Coding Agentscited by 0
- 2026Task-Conditioned Least-Privilege Learning for Executable Terminal and MCP Agentscited by 0
- 2026Trust Is Not a Score: Runtime Assurance Contracts for High-Risk AI Agentscited by 0
- 2026Trust Is Not a Score: Runtime Assurance Contracts for High-Risk AI Agents30 Sep 2026
- 2026CatchBench: When Can an Agent Failure Be Caught?24 Aug 2026
- 2026Task-Conditioned Least-Privilege Learning for Executable Terminal and MCP Agents18 Aug 2026
- 2026The Vulnerability With No CVE: Managing Persistent Gaps Between Mandate and Authority in AI Coding Agents6 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2026A Theory of Least Autonomy in AI
- 2026OverAct: Measuring and Mitigating Proactive Over-Authorization in LLM Tool-Calling Agents
- 2026Measuring the Permission Gate: A Stress-Test Evaluation of Claude Code's Auto Mode
- 2026FAVA: Formal Authorization for Verified Agents with Evidence-Backed Permission Graphs
- 2026The Balkanization of Execution-Security Research for AI Coding Agents: Isolation, Access Control, and Time-of-Check-to-Time-of-Use Vulnerabilities
- 2026Authority Is Not a String: A Capability-Scoped Harness for Prompt-Injection-Resistant Coding Agents
- 2026Beyond Predefined Sinks: Security-Aware Dependency Analysis for LLM Agents
- 2025Progent: Securing AI Agents with Privilege Control