Metraipolis › archive › dc_2aa04d4c0a00

HARDE: Optimizing Agent Harnesses for Runtime Risk Detection and Execution Control — arXiv:2609.38291

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.38291
License (as archived)
CC0-1.0
Archived
2026-10-07T13:14:15.223Z
SHA-256 of the archived text
62a161036af8c54b0c4f0ffb9df69c508237afd03802981efd6fd55896b01cc4
Stable URL of this page
https://metraipolis.com/documento/dc_2aa04d4c0a00

How to cite

HARDE: Optimizing Agent Harnesses for Runtime Risk Detection and Execution Control — arXiv:2609.38291 — arXiv (en), https://arxiv.org/abs/2609.38291 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2aa04d4c0a00 (Metraipolis archive dc_2aa04d4c0a00, sha256 62a161036af8c54b0c4f0ffb9df69c508237afd03802981efd6fd55896b01cc4)
BibTeX
@misc{dc2aa04d4c0a00,
  title = {HARDE: Optimizing Agent Harnesses for Runtime Risk Detection and Execution Control — arXiv:2609.38291},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.38291},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2aa04d4c0a00; sha256 62a161036af8c54b0c4f0ffb9df69c508237afd03802981efd6fd55896b01cc4},
  year = {2026}
}

Archived text

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

Large language model (LLM) agents are vulnerable to safety risks such as injected malicious instructions or misleading information, motivating runtime defenses that prevent unsafe action in execution across diverse risks while preserving benign-task utility. Existing system-level defenses either focus on risk detection rather than timely prevention or rely on predefined rules with limited flexibility across diverse risks. We propose a risk-aware harness that integrates LLM-based monitoring for flexible risk detection and structures monitor-guided execution around three core modules: trigger, monitor, and feedback, enabling targeted safety interventions while limiting disruption to benign task execution. To adapt the harness to different risks and deployment settings, we introduce HARDE, a two-stage harness optimization framework that first performs isolated probing of each module to derive an optimization guide, then uses this guide to iteratively optimize the harness based on safety and utility feedback. Experiments across three attack benchmarks show that HARDE improves runtime safety while preserving utility, outperforming manually designed harnesses and naive optimization baselines. Our analysis shows that effective runtime defense benefits from complementary safety mechanisms, attack-aware harness optimization, and harness designs matched to monitor capabilities. Our code is available at this https URL .

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-01 in cs.CL).
Categorie arXiv: Cryptography and Security (cs.CR) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.38291 — 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-07T12:44:51.920Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).