When Context Gets Root: Privilege Escalation in LLM Harnesses
Xingbang He, Yuanwei Chen, Yi Qian, Haiyang Wei, Ligeng Chen, Zenan Fu, Linzhang Wang, Hao Wu,
Key points
From the paper's conclusion- These results demonstrate the generality of instruction privilege escalation.
Abstract
Instruction hierarchy is a model-side defense that assigns instructions different levels of privilege according to their sources. These levels constrain which content may direct model behavior. During agent execution, however, agent harnesses construct context for each model invocation. This construction can elevate low-level content to a higher instruction level and grant it greater model-facing privilege. We introduce instruction privilege escalation. In this attack, an attacker induces an agent to elevate low-level malicious content to a higher instruction level. The elevated content then causes the agent to execute instructions it would not follow at their original level. We evaluate this threat by using multi-agent mechanisms to achieve 13 attack objectives across six coding-agent harnesses. These objectives span confidentiality, integrity, availability, and remote code execution. With unrestricted action execution, the attacks achieve all 13 objectives on all six harnesses. Under automatic permission review, the attacks achieve all 13 objectives on all three harnesses that provide this mode. We further reproduce the vulnerability using harness-provided persistent goals and scheduled tasks. These results demonstrate the generality of instruction privilege escalation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Approval to Abuse: Privilege Escalation Attacks on Harness-Protected Coding AgentsarXiv · 2026
- Beyond Single-Model Injection: A Threat Model and Defense Architecture for Prompt Injection in Multi-Agent SystemsarXiv · 2026
- APEX: Active Protection at Execution Boundaries for LLM AgentsarXiv · 2026
- HarnessRisk: A Lifecycle-Oriented Benchmark for Agent Harness SafetyarXiv · 2026
- HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses?arXiv · 2026
- AgentCap: Capability-Based Runtime Authorization for Secure LLM Agent ExecutionarXiv · 2026