HarnessRisk: A Lifecycle-Oriented Benchmark for Agent Harness Safety

📅 2026-08-18
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决代理安全评估问题,提出HarnessRisk基准,涵盖六个操作阶段,通过128个沙箱案例测试不同配置下的攻击成功率和效用。
📝 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 objective with an adversarial instruction embedded in an untrusted workflow artifact. We evaluate each trajectory using Utility, Attack Success Rate, Persistence, and Detection. Across three harnesses, six language models, and 14 model and harness configurations, attack success ranges from 12.6% to 80.9%, while Utility remains between 75.0% and 97.6%. Harness Configuration is the most vulnerable phase across all three harnesses, showing that attacks can succeed by altering security sensitive parameters within otherwise authorized workflows. We also find that explicit risk recognition does not reliably lead to safe action, as some configurations detect risks in more than 90% of runs while retaining substantial attack success. These results highlight the need to evaluate agent safety across multiple harness responsibilities and at the level of the deployed model and harness configuration.
Problem

Research questions and friction points this paper is trying to address.

Agent Harness Safety
Lifecycle-Oriented Benchmark
Operational Phases
Safety Failures
Attack Mechanisms
Innovation

Methods, ideas, or system contributions that make the work stand out.

Lifecycle-Oriented Benchmark
Agent Harness Safety
Operational Phases
Sandboxed Cases
Attack Success Rate
🔎 Similar Papers