HarnessRisk: A Lifecycle-Oriented Benchmark for Agent Harness Safety
TL;DR - HarnessRisk is a 128-case benchmark for evaluating safety failures across the full lifecycle of LLM agent harnesses. Its results show that vulnerabilities depend heavily on the deployed model–harness configuration and that recognizing an attack does not reliably prevent unsafe actions.
- Covers six phases: configuration, capability extension, runtime operation, state persistence, action control, and incident recovery.
- Tests benign objectives paired with adversarial instructions embedded in untrusted workflow artifacts, measuring utility, attack success, persistence, and detection.
- Across three harnesses, six models, and 14 configurations, attack success ranged from 12.6% to 80.9%, while utility remained between 75.0% and 97.6%.
- Harness configuration was consistently the most vulnerable phase; some configurations detected risks in over 90% of runs yet still had substantial attack success.