# Summary: 2026-10-16_06-13-06Z_FromApprovaltoAbuse_PrivilegeEscalationAttacksonHa.md Saved: 2026-10-18 21:19 Source: 2026-10-16_06-13-06Z_FromApprovaltoAbuse_PrivilegeEscalationAttacksonHa.md Model: None --- ## Summary This paper investigates a critical security vulnerability in coding agents that utilize execution harnesses to enforce permission boundaries, specifically focusing on the risk introduced by user-approved "allow-rules." The authors demonstrate that adversarial context planted within a repository can manipulate an agent into requesting dangerously broad permissions during routine tasks. By exploiting this privilege escalation mechanism, attackers can bypass human-in-the-loop oversight, allowing malicious actions to execute silently after a single approval. The study quantifies this risk across production platforms like Claude Code and Codex CLI, showing that such exploits significantly undermine the safety guarantees of current agent architectures. ## Key Contributions - **Identification of Permission Update Vulnerability**: The authors identify that the mechanism designed to reduce approval fatigue—allowing users to approve allow-rules for future actions—creates a new attack surface where untrusted context influences the permissions presented for approval. - **Demonstration of Privilege Escalation Attacks**: The paper shows that adversarial context can reliably steer agents into requesting plausibly justified but overly broad allow-rules, effectively blinding the execution harness to future malicious actions. - **Quantification of Blast Radius and Success Rates**: The study provides empirical data showing that these attacks succeed in eliciting target allow-rules in 58% of instances and that approved rules cover 56.9% of category-specific capability test cases, leading to silent goal completion in 81.0% of eligible instances. ## Methodology The authors approached the problem by designing adversarial contexts planted within repositories to influence the agent's behavior during routine tasks. They tested this approach across production platforms, including Claude Code and Codex CLI, to evaluate how agents respond to these planted contexts. The methodology involved measuring the frequency with which agents requested specific, broad allow-rules and analyzing the downstream consequences of user approval. The researchers tracked the "semantic blast radius" of these rules by testing them against a suite of capability test cases to determine how many subsequent actions would be permitted without further human oversight. ## Results The experimental results indicate that agents successfully elicited the target allow-rules in 58% of the tested instances. Once these rules were approved by the user, they exhibited a massive semantic blast radius, covering 56.9% of category-specific capability test cases. Furthermore, conditional on rule approval, the exploit achieved verified, silent goal completion in 47 out of 58 eligible instances, representing an 81.0% success rate. These findings demonstrate that the privilege escalation attacks effectively bypass the safety mechanisms intended to protect users from prompt injection and other adversarial inputs. ## Significance This research is significant because it highlights a fundamental flaw in the current safety architecture of coding agents. While execution harnesses are designed to constrain the consequences of prompt injection, the mechanism for reducing approval fatigue introduces a new risk that undermines human-in-the-loop oversight. The findings suggest that users may unknowingly grant broad permissions that allow adversaries to execute malicious actions silently, posing a serious security threat to software development workflows. This work urges a reevaluation of how permission boundaries are managed and approved in autonomous coding systems. ## Related Concepts - **Execution Harnesses**: Systems that constrain agent actions by enforcing permission boundaries. - **Prompt Injection**: A technique where adversarial text influences an AI model's behavior. - **Allow-Rules**: Pre-approved permissions that allow future actions to bypass human approval. - **Privilege Escalation**: The process of gaining higher-level permissions than initially granted. - **Human-in-the-Loop (HITL)**: A safety mechanism requiring human oversight for critical actions. - **Semantic Blast Radius**: The extent to which a single permission grant affects subsequent agent capabilities. ## Original research paper [Canonical original paper: http://arxiv.org/abs/2610.22987v1](http://arxiv.org/abs/2610.22987v1)