Evolved safety harnesses cut attack success to 3% on GPT-4o-mini while preserving utility
The Evolution Under Fire framework can automatically evolve safety harnesses that dramatically lower attack success rates and improve utility compared to hand-designed defenses
AI/ML arXiv 17 Nov 2026 Method Prototype evidence
Published as “Evolution Under Fire: Evolving Agent Safety Harnesses with Adaptive Injection Stressors”
Why it matters
The approach offers a practical way to harden tool-using language-model agents against indirect prompt-injection attacks while preserving their usefulness.
Summary
The paper shows that evolving safety harnesses with adaptive injection stressors can dramatically cut attack success rates while keeping utility. On the AgentDyn benchmark with GPT-4o-mini, the best evolved harness drops attack success from 50.4% to 3.0% and improves both clean and attacked utility. On Agent-SafetyBench with Qwen2.5-7B-Instruct, attack success falls from 82.6% to 62.0% with comparable helpfulness and runtime validity, and the same harness transfers to Qwen3.5-35B-A3B, reducing attack success from 32.1% to 0.9%. The evidence comes from benchmark evaluations against a range of reproduced baselines.
What they found 2
- On Agent-SafetyBench, harness evolution cuts attack success from 82.6% to 62.0% and retains high helpfulness and runtime validity.
“With Qwen2.5-7B-Instruct on Agent-SafetyBench, harness evolution reduces ASR from 82.6% to 62.0%, outperforming the strongest reproduced baseline by 8.5 percentage points while retaining 48.3% helpfulness and 99.9% runtime validity (Table 2).”
- The evolved harness transfers to a different model, dropping attack success from 32.1% to 0.9% and raising attacked utility.
“It reduces ASR from 32.1% to 0.9% while increasing attacked utility from 60.9% to 63.4%; clean and validator utility remain within the required retention range.”
Caveats 2
- stress-or-guided evolution finds four utility-qualified harnesses with ASR at most 32/560, whereas the control finds one.
- Among candidates that match or exceed h⋆ on all three utility measures, the best ASR is 17/560 with stressor feedback and 146/560 without it.
What’s new here 4
- Combines safety-harness evolution with adaptive, utility-preserving stressor evolution.
- Introduces a utility-constrained Pareto-scheduled tree search for harness generation.
- Provides a feedback loop where discovered stressors guide subsequent harness evolution.
- Demonstrates cross-model transfer of evolved harnesses without further training.