Metraipolis › archive › dc_b14c6b0c245c
What's in Your Agent's Context? Context Privilege Escalation Attacks against AI Agent Harness — arXiv:2609.01222
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.01222
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T06:46:48.228Z
- SHA-256 of the archived text
a1cfe7c544dd5b06919ade111e12792bd568c99271c9897616ec9aec6aa11bc6- Stable URL of this page
https://metraipolis.com/documento/dc_b14c6b0c245c
How to cite
What's in Your Agent's Context? Context Privilege Escalation Attacks against AI Agent Harness — arXiv:2609.01222 — arXiv (en), https://arxiv.org/abs/2609.01222 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b14c6b0c245c (Metraipolis archive dc_b14c6b0c245c, sha256 a1cfe7c544dd5b06919ade111e12792bd568c99271c9897616ec9aec6aa11bc6)
BibTeX
@misc{dcb14c6b0c245c,
title = {What's in Your Agent's Context? Context Privilege Escalation Attacks against AI Agent Harness — arXiv:2609.01222},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.01222},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b14c6b0c245c; sha256 a1cfe7c544dd5b06919ade111e12792bd568c99271c9897616ec9aec6aa11bc6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.01222. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Real-world, high-profile AI agent harnesses often rely on vendor-proprietary or opaque designs for context assembly, leaving the sources and underlying logic of assembled context poorly understood and the resulting security risks largely unexplored. In this paper, we present the first systematic analysis of context assembly designs in real-world AI agent harnesses. We study and uncover how an agent harness is designed to collect and assemble context from diverse sources, and identify a set of practical attack vectors arising from these designs. Our analysis brings to light two novel categories of attacks in the context assembly of real-world harnesses: (1) MessageRole Context Privilege Escalation (M-CPE), which occurs when attacker-controlled content originating from a low-privileged context is incorporated into a higher-privileged message role. (2) Cross-Scope Context Privilege Escalation (X-CPE), which occurs when attacker-controlled content persists beyond the context in which it was introduced. We performed a systemic security analysis of the CPE attacks against 12 real-world agent harnesses, including Claude Code and Codex. The resulting consequences include full agent compromise, remote code execution, denial of service, and manipulated tool or skill invocations, etc. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-02 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2609.01222 — 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-17T06:38:14.379Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).