Explicit authorization scope improves LLM-based permission checking in coding agents
- Published
- Record updated
Summary
Researchers evaluated the auto-mode permission checkers of three coding agents, Claude Code, Codex, and Qwen Code, on DevOps and prompt injection benchmarks. Under the original user requests, the checkers incorrectly approved 54%-93% of out-of-scope actions, and neither stronger models nor extra context consistently lowered these miss rates. Adding explicit authorization rules to the user requests cut miss rates for 132 of 143 out-of-scope actions from 67%-92% to 8%-26%.
Mitigation
Reliable automatic approval requires clearly defined permissions, accurate identification of action targets, and approval decisions that consistently follow authorization rules. Adding explicit authorization rules to user requests reduced miss rates and false-block rates in the study.
Topics
Related items
- MediumCVE-2026-139894: davila7 claude-code-templates missing authentication in Claude API proxySimilar attack · NVD/CVE Database
- MediumGHSA-r32g-3hfv-h4jj: PinePaper MCP: Server-side request forgery in URL fetchingSimilar attack · GitHub Advisory Database
- MediumGHSA-5xhm-p3jx-2fmc: @zereight/mcp-gitlab gitlab_api_request: Project allowlist is silently skipped for any GitLab API path that has no parseable project IDSimilar attack · GitHub Advisory Database
- HighCVE-2026-140281: GPT-SoVITS unsafe deserialization in /set_model endpoint of api.pySimilar attack · NVD/CVE Database
- MediumCVE-2026-139889: Moonshot AI Kimi Code improper authorization in tool policy serviceSimilar attack · NVD/CVE Database