AI summary · arXiv: 2605.14271v2 · cs.CL

Auditing Agent Harness Safety

Chengzhi Liu, Yichen Guo, Yepeng Liu, Yuzhe Yang, Qianqi Yan, Xuandong Zhao, Wenyue Hua, Sheng Liu,
and 3 more authorsSharon Li, Yuheng Bu, Xin Eric Wang
Original paper Submitted to arXiv on 14 May. 2026 11 Pages, 8 Figures License: NONEXCLUSIVE-DISTRIB 1.0

How to read this summary? Illustrated guide

The essentials

  • LLM agents commonly operated within execution harnesses for managing tasks like tool dispatching, resource allocation, and message routing.
  • Critical flaw in these harnesses where correct outcomes may be produced while accessing unauthorized resources or sharing sensitive information with unintended agents.
  • Traditional evaluation methods focus on final outputs, failing to detect violations mid-execution.
  • Introduction of HarnessAudit framework to scrutinize complete execution trajectories for adherence to user intentions, permission boundaries, and information-flow constraints.
  • Emphasis on multi-agent harnesses for heightened risks; evaluation includes boundary compliance, execution fidelity, and system stability.
  • Development of HarnessAudit-Bench offering a benchmark with 210 tasks across eight real-world domains in single-agent and multi-agent configurations with safety constraints.
  • Key findings from testing involving different harness configurations:
  • Task completion diverges from safe practices with trajectory length.
  • Safety risks vary across domains, task types, and agent roles.
  • Majority of violations related to resource access and inter-agent information transfer.
  • Collaborative efforts among multiple agents increase safety risks; harness design crucial for secure deployment.
  • HarnessAudit provides a comprehensive approach to evaluating agent harness safety by analyzing execution trajectories and identifying potential vulnerabilities for ensuring safe AI operations in complex multi-agent environments.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Artificial Intelligence LLM agents execution harnesses safety assessment HarnessAudit

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In the realm of artificial intelligence, LLM agents are now commonly operated within execution harnesses that manage various tasks such as tool dispatching, resource allocation, and message routing among specialized components. Despite their apparent functionality in providing accurate and harmless responses, these harnesses have a critical flaw where they may produce correct outcomes while accessing unauthorized resources or inadvertently sharing sensitive information with unintended agents. This issue is particularly concerning as traditional evaluation methods primarily focus on final outputs or end states, failing to detect violations occurring mid-execution rather than at the conclusion. To address this significant gap in safety assessment, a novel framework called HarnessAudit has been introduced. This framework aims to scrutinize complete execution trajectories for adherence to user intentions, permission boundaries, and information-flow constraints throughout the entire process. With a specific emphasis on multi-agent harnesses where risks are heightened, HarnessAudit evaluates boundary compliance, execution fidelity, and system stability to ensure safe operation. Moreover, the development of HarnessAudit-Bench further enhances this evaluation process by offering a benchmark comprising 210 tasks spanning eight real-world domains. These tasks are instantiated in both single-agent and multi-agent configurations with integrated safety constraints to simulate diverse operational scenarios. Through rigorous testing involving ten different harness configurations across cutting-edge models and three distinct multi-agent frameworks, several key findings have emerged (i) Task completion often diverges from safe execution practices, with violations escalating alongside trajectory length. (ii) Safety risks exhibit variability across domains, task types and agent roles. (iii) The majority of violations concentrate on issues related to resource access and inter-agent information transfer. (iv) Collaborative efforts among multiple agents amplify the surface area of safety risks; however,the design of the harness ultimately determines the upper limit for secure deployment. In summary,HarnessAudit and its associated benchmark offer a comprehensive approach to evaluating agent harness safety by delving into intricate details of execution trajectories and highlighting potential vulnerabilities that may compromise system integrity. Through meticulous analysis and experimentation across various configurations and frameworks, this research sheds light on crucial considerations for ensuring safe and reliable AI operations in complex multi-agent environments.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts Citation alerts guide

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Cites this paper
    HarnessRisk: A Lifecycle-Oriented Benchmark for Agent Harness Safety
    Ya Bai, Jinhao Duan, Jie Peng et al. · 2026 · cited 5 times · Not summarized yet
    Abstract

    Large language models are increasingly deployed through agent harnesses that manage tools, extensions, persistent state, permissions, and external actions. Existing safety benchmarks mainly target individual attack mechanisms or a limited subset of operational settings, making it difficult to compare how safety failures emerge across different harness responsibilities. We present HarnessRisk, a lifecycle oriented benchmark that organizes agent harness safety into six operational phases including Harness Configuration, Capability Extension, Runtime Operation, State Persistence, Action Control, and Incident Recovery. HarnessRisk contains 128 sandboxed cases, each pairing a benign user objectiv…

  2. Very close
    Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflows
    Yilun Yao, Xinyu Tan, Chao-Hsuan Liu et al. · 2026 · Artificial Intelligence · cited 3 times · AI summary available
    Abstract

    LLM agents are increasingly deployed as executable systems that use tools, modify workspaces, and produce concrete artifacts. In such workflows, performance depends not only on the base model, but also on the harness: the system layer that manages context, tools, state, constraints, permissions, tracing, and recovery. However, existing benchmarks typically abstract away execution, compare complete agent systems, or hold the harness fixed, making execution-layer variation difficult to study. We introduce Harness-Bench, a diagnostic benchmark for evaluating configuration-level harness effects in realistic agent workflows. Harness-Bench evaluates representative harness configurations across mul…

  3. Very close
    HarnessSafe: Evaluating Safety Across Persistent Carriers in Agent Harnesses
    Xiao Zhang, Yusheng Wang, Yuhao Fei et al. · 2026 · cited 5 times · Not summarized yet
    Abstract

    Modern agent harnesses persist state across tasks and sessions through persistent carriers like memory, skills, tools, and shared artifacts. However, this capability creates delayed safety risks: attacker-influenced content can cross system boundaries and later affect the execution of a benign request. Existing benchmarks typically focus on a few carriers or harnesses, while end-to-end attack-success rates reveal little about how risks propagate. To this end, we present HarnessSafe, a benchmark comprising 328 executable cases across seven persistent-carrier families and evaluated on most mainstream agent harnesses. Each case is specified as a Persistent-Risk Lifecycle that traces attacker in…

  4. Very close
    From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flaws
    Meng-Zhuo Chen, Junjie Wang, Zhe Liu et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 36 times · Not summarized yet
    Abstract

    LLM agents increasingly rely on agent harness: the runtime infrastructure around the base model that defines execution environments, tool interfaces, context, lifecycle orchestration, observability, verification, and governance. Existing self-improving agents and automatic harness evolution methods mainly improve agents through runtime supervision, prompt optimization, workflow search, or harness modification based on final outcomes. However, they often fail to diagnose where the responsible evidence lies in failed trajectories and which harness implementation mechanism causes the unreliable behavior, resulting in broad, indirect, or poorly scoped changes. This paper proposes HarnessFix, a t…

  5. Very close Cites this paper
    HARDE: Optimizing Agent Harnesses for Runtime Risk Detection and Execution Control
    Zhuo Liu, Mo-Xin Li, Zhi-Xin Ma et al. · 2026 · Not summarized yet
    Abstract

    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 tas…

  6. Very close Cites this paper
    Trial by Trace: Benchmarking AI Agent Harnesses for Reliability and Failure Attribution
    Zhi-Yong Cao, Heng-Jie Zhu, Yong-Xin Wang et al. · 2026 · cited 1 time · Not summarized yet
    Abstract

    LLM agents are increasingly used to solve real-world problems, and their effectiveness depends on both the underlying models and the harnesses that support their operation. However, most existing benchmarks focus on model capabilities and overall agent performance, with limited attention to the evaluation of agent harnesses. To address this gap, we introduce TraceTrial-Bench, which organizes harness reliability into seven components covering context, execution, governance, lifecycle, observability, tools, and verification. We construct 95 expert-level, mechanism-oriented tasks with executable or state-based ground truth to support semantically equivalent comparisons while preserving the nati…

  7. Very close
    Stop Comparing LLM Agents Without Disclosing the Harness
    Yunbei Zhang, Janet Wang, Yingqiang Ge et al. · 2026 · Artificial Intelligence · preprint, not peer reviewed · cited 44 times · AI summary available
    Abstract

    This position paper argues that, for long-horizon tasks evaluated across models with comparable frontier capability, the agent execution harness, namely the infrastructure layer that governs context construction, tool interaction, orchestration, and verification around a language model, is often a stronger determinant of agent performance than the model it wraps. We formalize and defend the Binding Constraint Thesis: in this regime, performance variance is governed more by harness configuration than by model choice, and current evaluation protocols therefore systematically misattribute harness-level gains to model improvements. We support this thesis along three lines. First, a control-theor…

  8. Very close Cites this paper
    Doc2Harness: Benchmarking LLMs on Long-Horizon Harness Engineering of Coding Agents
    Yuyao Ge, Sheng-Hua Liu, Pei-Zhong Gao et al. · 2026 · Not summarized yet
    Abstract

    Agents driven by large language models are increasingly deployed on long-horizon tasks, where they use tools and modify real workspaces. How well they perform depends as much on the harness around the model as on the model itself. Existing benchmarks measure downstream task success under a fixed harness, leaving harness engineering itself unexplored. We propose Doc2Harness, a two-stage benchmark that evaluates long-horizon harness engineering directly. In Stage 1, a build model operating inside a fixed builder harness receives an interface-only contract skeleton and a development document that consolidates behavior across twelve frontier harnesses, and then constructs a complete candidate ha…

Papers that cite it

  1. Close
    AgentS4D: Benchmarking Runtime Risks across the Execution Lifecycle of LLM-Based Workspace Agents
    Jiajun Zhou, Zhaoxuan Ke, Ji-Hang Ye et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet
    Abstract

    Large language model (LLM)-based workspace agents execute stateful, multi-step workflows across heterogeneous resources, external tools, and persistent state. Their safety must therefore be assessed from actions, side effects, and state changes throughout execution. Although recent benchmarks have advanced executable safety testing and trajectory-aware verification, they rarely provide a unified account of where risks enter, how they elicit unsafe behavior, which harms they target, and where supporting evidence appears during execution. We introduce AgentS4D, a sandboxed benchmark for lifecycle-wide runtime safety evaluation. Its four-dimensional runtime-safety framework uses six risk-entry …

  2. Close
    SoK: When Safe Agents Fail Together: The Security of Multi Agent LLM Systems
    Rui Yang, Jun-Jie Xu, Zheng-Yu Liu et al. · 2026 · cited 4 times · Not summarized yet
    Abstract

    Safe agents can fail together. Multi-agent LLM systems (MAS) move information, state, decisions, and authority across principal boundaries, creating failures that local checks may miss. Without an execution-level view, a multi-agent setting can easily be mistaken for evidence of a genuinely multi-agent security effect. We thus systematize MAS security through an execution-centered analysis of 197 works, covering six interaction interfaces, four adversary positions, seven system-level risks, and eight recurring attack paths. We introduce an A-I-R framework that organizes attacks by adversary position, interaction interface, and resulting system-level risk, unifying otherwise fragmented attack…

  3. Close
    Trust the Brand, Lose Control: How Identity Hijacks LLM Agent Orchestration
    Xu-Tao Mao, Rui Qian, Ling-Han Chen et al. · 2026 · cited 1 time · Not summarized yet
    Abstract

    LLM agents now execute tasks end to end with permission to change real systems and increasingly orchestrate subagents that differ in capability and cost. Prior work treats the choice of subagent as an optimization problem. Yet the orchestrator makes this choice from the identities that subagents display, and an attacker can spoof them. Displayed identity thus decides operational authority, meaning who is trusted to check the work and who is allowed to change it. As a result, a risky subagent can keep authority over execution even after other evidence contradicts it. We introduce TrustFork, an LLM agent safety benchmark with 1,890 tasks and 27,826 valid trajectories across 16 agent systems. T…

  4. Related
    Reachability-Based Capability Confinement for LLM Agents under Indirect Prompt Injection
    Wu-Jie Xiong, Rabimba Karanjai, Yang Lu et al. · 2026 · cited 3 times · Not summarized yet
    Abstract

    Large language model agents place outputs from external skills into their execution context, allowing attacker-controlled data to influence later privileged actions. Existing defenses mainly classify untrusted content or authorize proposed operations. They do not directly address how an agent's future authority should change once untrusted data enters its state. We present SkillGuard, a harness-level enforcement layer that treats this event as contamination and restricts future capabilities to disconnect the resulting state from deployer-defined forbidden states. Given sound skill summaries and policies, SkillGuard represents security-relevant transitions with a Skill Impact Graph, specifies…

  5. Related Uses this paper in depth
    Soei: Structured Observability of Evidence and Intent for Multi-Agent AI Software Engineering
    Mohammed Nayeem Khan, K. S. Sarun Kumar · 2026 · Not summarized yet
    Abstract

    AI coding agents now do long, multi-step and multi-session software work with little supervision. When a developer comes back to that work, the useful question is not what the model said but what was actually done, by whom, and whether it is finished. We study this in three parts. First, we verify Agenttrail, an open-source local observability tool for coding agents, against its source at commit e4ba2da: nine documented constants and mechanisms hold at file-and-line level, two event pipelines are never unified, and its Map service has an unauthenticated local mutation surface. Second, we run a prototype of our system on 45 real coding-agent sessions (102,233 records, 20,577 tool executions, …

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 31 October 2026.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.