Metraipolis › archive › dc_e3865c56b434
From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding Agents — arXiv:2610.22987
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.22987
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:42:21.617Z
- SHA-256 of the archived text
4074b47457f6818e3fb32999605c4065594db2729ee51293ac146f9b86549cb2- Stable URL of this page
https://metraipolis.com/documento/dc_e3865c56b434
How to cite
From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding Agents — arXiv:2610.22987 — arXiv (en), https://arxiv.org/abs/2610.22987 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e3865c56b434 (Metraipolis archive dc_e3865c56b434, sha256 4074b47457f6818e3fb32999605c4065594db2729ee51293ac146f9b86549cb2)
BibTeX
@misc{dce3865c56b434,
title = {From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding Agents — arXiv:2610.22987},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.22987},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e3865c56b434; sha256 4074b47457f6818e3fb32999605c4065594db2729ee51293ac146f9b86549cb2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22987. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
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. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2610.22987 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T08:39:10.049Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).