mlsanityData to 14 Oct 2026

SHE: Trajectory-driven Safety Harness Evolution for LLM Agents

arXiv 2608.09885 ↗First posted 10 Aug 2026cs.AI cs.CVcited by 6

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

The safety of large language model (LLM) agents depends not only on model weights but also on the agent harness that manages context, memory, tools, permissions, and runtime control. Existing safety mechanisms often treat the harness as a fixed deployment artifact, limiting their ability to evolve with emerging risks. Moreover, coupled functions across harness components obscure safety responsibility attribution, making localized evolution difficult. We propose Safety Harness Evolution (SHE), a framework that learns evolving safe boundaries from rollout trajectories. SHE decomposes the harness into four artifacts with explicit safety responsibilities, including the System Prompt, Rule Bank, Safety Memory, and Tool Policy, defining clear functional boundaries for localized evolution. Based on this decomposition, SHE introduces an attribution-guided evolution loop that converts trajectory failures into structured diagnoses, learns artifact-specific boundary refinements, and selects evolved harnesses through safety-utility validation. Experiments on Agent-SafetyBench demonstrate that SHE effectively enhances safety through harness evolution, achieving a 3.1x ASR reduction compared with static SafeHarness, while also improving benign utility. The evolved harness further generalizes to unseen risks on the held-out AgentHarm benchmark and transfers across agent models without additional evolution.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 29 of its 40 references that are in the map. First posted on arXiv 10 Aug 2026.

Builds on

29 of 40 references.

Closest ancestors · 12

Same direction, newest first

  1. 2026AgentGuard: An Attribute-Based Access Control Framework for Tool-Use LLM-Based Agent27 May
  2. 2026SafeHarbor: Defining Precise Decision Boundaries via Hierarchical Memory-Augmented Guardrail for LLM Agent Safety7 May
  3. 2026SafeHarness: Lifecycle-Integrated Security Architecture for LLM-based Agent Deployment15 Apr
  4. 2026ClawGuard: A Runtime Security Framework for Tool-Augmented LLM Agents Against Indirect Prompt Injection13 Apr
  5. 2026ATBench: A Diverse and Realistic Agent Trajectory Benchmark for Safety Evaluation and Diagnosis2 Apr
  6. 2026AgentDoG: A Diagnostic Guardrail Framework for AI Agent Safety and Security26 Jan
  7. 2026ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedback15 Jan
  8. 2025LlamaFirewall: An open source guardrail system for building secure AI agents6 May
  9. 2025Progent: Securing AI Agents with Privilege Control16 Apr
  10. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
  11. 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
  12. 2024The AI risk repository: A meta-review, database, and taxonomy of risks from artificial intelligence14 Aug

Other references · 17

  1. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  2. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  3. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,207
  4. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
  5. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
  6. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
  7. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  8. 2024Defending Against Indirect Prompt Injection Attacks With Spotlightingcited by 267
  9. 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 243
  10. 2026SkillOpt: Executive Strategy for Self-Evolving Agent Skillscited by 148
  11. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 142
  12. 2026Self-Harness: Harnesses That Improve Themselvescited by 107
5 more
  1. 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 66
  2. 2026The MiniMax-M2 Series: Mini Activations Unleashing Max Real-World Intelligencecited by 61
  3. 2025EvoTest: Evolutionary Test-Time Learning for Self-Improving Agentic Systemscited by 37
  4. 2026ABSTRAL: Automatic Design of Multi-Agent Systems Through Iterative Refinement and Topology Optimizationcited by 6
  5. 2026Benchmarking Safety Risks of Knowledge-Intensive Reasoning under Malicious Knowledge Editingcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026EvoSafeHarness: Evolving Model- and Domain-Specific Harnesses for Securing Agents
  2. 2026HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention
  3. 2026HARDE: Optimizing Agent Harnesses for Runtime Risk Detection and Execution Control
  4. 2026S3: Improving Agent Safety through Multi-Stage Defense
  5. 2025AgentAlign: Navigating Safety Alignment in the Shift from Informative to Agentic Large Language Models
  6. 2026AutoSpec: Safety Rule Evolution for LLM Agents via Inductive Logic Programming
  7. 2026HarnessRisk: A Lifecycle-Oriented Benchmark for Agent Harness Safety
  8. 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deployment