Skip to content
NewA calmer, faster ZeroHour

Explicit authorization scope cuts coding-agent permission misses

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

arXiv cs.CRby Shimeng Yang ()1 min read
Part of a story covered by 2 sourcesCoding agents approve most out-of-scope actions until rules are explicitMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Claude Code, Codex and Qwen Code wrongly approved 54%–93% of out-of-scope actions until missing rules were written into requests.

Researchers recorded approval decisions from Claude Code, Codex and Qwen Code on DevOps and prompt-injection benchmarks, then re-scored the same actions. Under the original user requests, the three permission checkers incorrectly approved 54%–93% of out-of-scope actions. Stronger models and extra context did not consistently lower those misses. Adding 132 missing authorization rules cut miss rates on those actions from 67%–92% to 8%–26% and also lowered false blocks; reruns with explicit rules produced no out-of-scope proposals.

Unconfirmed: Miss rates are the authors' benchmark measurements, not reports of production agent compromises.

Key facts
  • 132 of 143 out-of-scope actions broke rules absent from both requests and tool outputs.
  • Once scope was explicit, tool outputs and target attributes further reduced misses.
  • Rerunning complete tasks with explicit rules, none of the three agents proposed out-of-scope actions.
  • The paper says reliable auto-approval needs defined permissions and consistent rule following.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at arxiv.org

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.

arXiv cs.CR

By Shimeng Yang · arxiv.org

Read the full article at arXiv cs.CR

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.