Metraipolis › archive › dc_4e60278e05a9

HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses? — arXiv:2610.07639

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.07639
License (as archived)
CC0-1.0
Archived
2026-10-07T11:35:06.532Z
SHA-256 of the archived text
c58eccd61556b529451f060932250079e68600eaa2245077c27e0e500f986c20
Stable URL of this page
https://metraipolis.com/documento/dc_4e60278e05a9

How to cite

HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses? — arXiv:2610.07639 — arXiv (en), https://arxiv.org/abs/2610.07639 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4e60278e05a9 (Metraipolis archive dc_4e60278e05a9, sha256 c58eccd61556b529451f060932250079e68600eaa2245077c27e0e500f986c20)
BibTeX
@misc{dc4e60278e05a9,
  title = {HarnessSecurity-Bench: Do Security Mechanisms Really Protect Coding Agent Harnesses? — arXiv:2610.07639},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.07639},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4e60278e05a9; sha256 c58eccd61556b529451f060932250079e68600eaa2245077c27e0e500f986c20},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.07639. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Coding agent harnesses mediate tool use and authorize actions, yet their security mechanisms and runtime effects remain incompletely characterized. We present HarnessSecurity, the first systematic empirical study and benchmark of open- and closed-source coding agent harnesses. First, we derive a ten-mechanism taxonomy and then assess 400 harness-mechanism cells using independent ratings by researchers and large language model (LLM) judges. We find that about half of confirmed mechanism implementations are opt-in, while closed-source harnesses exhibit substantial evidence gaps. Second, we introduce HarnessSecurity-Bench, a benchmark of 23 tasks across five attack surfaces without sacrificing legitimate task requirements. Using separate deterministic oracles to measure task utility and attack effects with security setting comparisons, we evaluate nine mechanisms across six leading harnesses: Claude Code, Codex CLI, Gemini CLI, gptme, Qwen Code, and GitHub Copilot. Under a controlled LLM baseline GLM-5.2, we conduct 2,500 trials, recording 81,155 tool calls and over 2.2 billion tokens. Enabling auto-approve increases utility and raises attack success from 29.2% to 95.6%. Network isolation and read-only mode reduce attack effects with substantial utility losses, while command allowlisting and command denylisting reduce attack effects with a small utility loss and a utility gain, respectively. Task-level cases show that restrictions on a shared capability can obstruct both legitimate and malicious operations, and that allowed tools or commands can leave unauthorized operations reachable through alternative execution paths. Harness providers should make security settings verifiable, test alternative execution paths to protected operations, and assess attack effects alongside task utility and execution costs.

Tema degli esploratori: fiducia digitale e crittografia (elenco arXiv cs.CR, nuovi lavori del giorno).
Categorie arXiv: Cryptography and Security (cs.CR) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2610.07639 — 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-07T11:18:39.667Z dalla pagina https://arxiv.org/list/cs.CR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).