Skip to content

SHE: A Trajectory-Driven Safety Guardrail Evolution Framework for LLM AgentsSHE: Trajectory-driven Safety Harness Evolution for LLM Agents

arXiv· arXiv:2608.09885· Wanying Qu, Qinghua Mao, Yu Li, Jiyao Liu, Xin Zhang, Dadi Guo, Yanxu Zhu, Qingyu Liu, Leitao Yuan, Xi Lin, Shanfeng Zhu, Yanwei Fu, Jing Shao, Xia Hu, Dongrui LiuShanghai Artificial Intelligence Laboratory; Fudan University; Shanghai Jiao Tong University; The Hong Kong University of Science and TechnologyIndexed by this site · 2026-10-01· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose Safety Harness Evolution (SHE), a framework that learns to evolve safety boundaries from rollout trajectories to improve the safety of LLM agents. SHE decomposes agent guardrails into four components with clear safety responsibilities—System Prompt, Rule Bank, Safety Memory, and Tool Policy—defining functional boundaries for local evolution. On this basis, SHE introduces an attribution-guided evolution loop that converts trajectory failures into structured diagnoses, learns component-specific boundary corrections, and filters evolved guardrails through safety and utility validation.

Questions
The safety of LLM agents depends not only on model weights but also on the harness that manages context, tools, and permissions; the authors argue that existing harnesses are static after deployment and have coupled component functions, making it difficult to locate and repair safety failures from execution trajectories.
Methods
SHE splits the harness into four artifacts with clearly defined responsibilities: System Prompt, Rule Bank, Safety Memory, and Tool Policy. It uses an evolution model to perform three-dimensional diagnosis of trajectory failures and route them to the corresponding artifacts, then iteratively updates through bounded edits, validity checks, and safety–utility selection.
Experiments and results
On Agent-SafetyBench, SHE (evolved) achieves an average ASR of 5.5% and an average UA of 47.6%, outperforming the static and evolution-based baselines listed in the paper; on held-out AgentHarm, Harm Score is 9.8% and Harm Refusal is 86.4%. The authors state that it can transfer to unseen risks and other agent models.
Limitations and future work
The paper does not specifically discuss limitations. Experimental coverage: the base agent evolved into DeepSeek-V3.2, and transfer was tested on 3 models; evolution used only 15 tasks and 20 rounds; Agent-SafetyBench used the official first 200 tasks; the judges were GPT-5.5 and GPT-4o, and the paper does not report agreement between the judges and humans.

Related papers

Show 3 more papers
Read originalarxiv.org