Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

EvoSafeHarness Evolves Custom Safety Harnesses for LLM Agents

AI By Crimson AI Hugging Face Papers 11 September 2026 · 00:00 29 views
Share: X Telegram

A new framework jointly searches natural-language policies and executable enforcement code to build safety harnesses tailored to a frozen model and target domain, outperforming fixed expert-designed defenses across four agent benchmarks.

EvoSafeHarness Evolves Custom Safety Harnesses for LLM Agents

Key points

Researchers have introduced EvoSafeHarness, a safety-specific optimization framework that synthesizes a deployable safety harness for a frozen language model operating in a target domain. The work addresses a persistent gap in agent safety: system-level harnesses that enforce policy beyond model-level defenses are typically designed once by experts and applied uniformly across heterogeneous models and domains.

According to the paper, effective protection is deployment-dependent. Models differ in how much enforcement they can tolerate before utility declines, and domains differ in the effects, state, and action sequences that must be governed. A harness strict enough for one model may over-block another, while a policy that transfers across domains may miss application-specific safety relations.

EvoSafeHarness jointly searches a natural-language policy and executable code logic, guided by model behavior, domain specifications, and fresh-context adversarial review intended to reject benchmark-specific rules. The model itself remains frozen; the harness writes both the policy and the code that enforces it on every tool call.

Across four agent benchmark families, the evolved harnesses achieved a stronger safety-utility frontier than fixed expert-designed defenses such as CaMeL, DRIFT, and Progent. On DecodingTrust-Agent, average attack success rate fell from 45.6% to 10.0% at a 3.3-point utility cost, with the best score in 14 of 15 cells. On AgentDojo, it reached 82.8% utility at 0.0% ASR — twice CaMeL's utility at the same operating point — and transferred unchanged to unseen AgentDyn suites. It also achieved the best score on Agent-SafetyBench for every victim and kept mean ASR below 20% under adaptive PAIR attacks with a refinement budget of 16.

Analysis in the paper indicates that domain semantics determine which safety relations and trajectory state are needed, while model and runtime behavior determine how and where those relations should be enforced. The authors frame the work around a simple premise: as LLM agents move money, edit files, and act on real systems, one-size-fits-all safety harnesses are insufficient.

BenchmarkResultBaseline / Comparison
DecodingTrust-AgentASR reduced from 45.6% to 10.0%; 3.3-point utility cost; best score in 14 of 15 cellsFixed expert-designed defenses
AgentDojo82.8% utility at 0.0% ASR; transfers unchanged to unseen AgentDyn suitesCaMeL (half the utility at same operating point)
Agent-SafetyBenchBest score for every victimFixed expert-designed defenses
Adaptive PAIR attacksMean ASR below 20% with refinement budget of 16—
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

6
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

7
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

8