arXiv cs.AI· Xianglin Yang, Yechao Zhang, Jiahao Liu, Yulin Chen, Yuxin Cao, Bryan Hooi, Jiaheng Zhang·· 12 小时前AI 评分58
从批准到滥用:针对受执行框架保护的编码智能体的权限提升攻击
From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding Agents
AI 导读
论文研究编码智能体执行框架中的权限提升风险:仓库中植入的对抗上下文可诱导智能体申请看似合理但范围过宽的 allow-rule,用户批准后该规则会让框架放行后续恶意操作。
正文 · 原文
Abstract:Coding agents use execution harnesses to constrain the consequences of prompt injection by enforcing permission boundaries. These systems deterministically intercept any out-of-sandbox action and prompt the user for approval. To reduce approval fatigue, users can approve allow-rules proposed by the agent, after which any future action matching the rule is allowed without a prompt. In this work, we show that this mechanism introduces a new risk: untrusted context can influence the permissions presented for approval, with consequences extending beyond the immediate task. We investigate privilege escalation targeting this permission-update process. Specifically, adversarial context planted in a repository can reliably steer an agent performing a routine task into requesting a plausibly justified, yet dangerously broad allow-rule. If the user approves the request, the saved rule can effectively blind the harness, enabling adversaries to execute malicious actions that would otherwise require approval, without triggering human oversight. Across production platforms, including Claude Code and Codex CLI, we demonstrate that agents successfully elicit the target allow-rules in 58% of experimental instances. Once acquired, these rules exhibit a massive semantic blast radius, covering 56.9% of category-specific capability test cases. To further quantify the downstream risk, we show that conditional on rule approval, our exploit achieves verified, silent goal completion in 47 of the 58 eligible instances (81.0%), undermining the safety promise of human-in-the-loop oversight.
| Comments: | Preprint |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.22987 [cs.AI] |
| (or arXiv:2610.22987v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.22987 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xianglin Yang [view email]
[v1]
Fri, 16 Oct 2026 06:13:06 UTC (1,288 KB)
来源:arXiv cs.AI · arxiv.org