Skip to content

AgentSafeEvo: Adversarial Co-Evolution for LLM Agent Safety

Oct 2026 · 0 citations · 46 references
Computer Science

TL;DR

This paper introduces AgentSafeEvo, a co-evolutionary reinforcement learning framework for agent safety built on an attacker-defender game spanning diverse tasks and attack types, and introduces learnability-guided task weighting, which uses within-task defender-reward variability to adjust each task's contribution to attacker and defender updates.

Abstract

Large language model (LLM) agents accomplish complex tasks through multi-turn interactions with external tools. However, malicious content embedded in user queries, tool descriptions, or environment observations can manipulate their decisions and induce unsafe actions. Adversarial co-evolution has emerged as an effective approach to strengthening LLM safety, but existing work primarily focuses on language-level safety or indirect prompt injection in web tasks. In this paper, we introduce AgentSafeEvo, a co-evolutionary reinforcement learning framework for agent safety built on an attacker-defender game spanning diverse tasks and attack types. The attacker learns to construct adversarial agent tasks that expose weaknesses in the defender's tool use, while the defender learns to complete tasks safely under these attacks. We further introduce learnability-guided task weighting, which uses within-task defender-reward variability to adjust each task's contribution to attacker and defender updates. Extensive experiments on agent safety and general capability benchmarks demonstrate that our method improves adversarial robustness while maintaining general agent capabilities.

View source

Similar papers

Preprint Sep 2026

CoER: Defending against Adaptive Indirect Prompt Injection via Adversarial Co-Evolution and Refinement

Language-model agents are vulnerable to indirect prompt injection (IPI) during tool use: adversarial instructions hidden in untrusted tool outputs can covertly redirect legitimate task execution. Existing work often trains and evaluates defenses against fixed attacks that do not adapt to the defender's behavior, so the...

Bo-Yang Zhang, Qing-Xin Xiao, Lingwei Dang et al. · 2 citations
Review Sep 2026

EvoSafeHarness: Evolving Model- and Domain-Specific Harnesses for Securing Agents

EvoSafeHarness is a safety-specific optimization framework that synthesizes a deployable harness for a frozen model in a target domain, guided by model behavior, domain specifications, and fresh-context adversarial review to reject benchmark-specific rules.

Nanxi Li, Ying-Zi Ma, Yu-Long Cao et al. · 3 citations · ⚡1
Conference Aug 2026

Experimental Analysis of Adversarial Attacks on Agentic AI Systems with Layered Defense Mechanisms

Agentic AI architectures leverage LLMs, tool execution, and decision-making mechanisms to handle a variety of tasks that go beyond text generation. The ability of these agents to accomplish such non-textual tasks poses new security concerns, particularly against adversarial prompting attacks. In this paper, we present...

Pradyut Guchhait, G. Saini · 0 citations
Preprint Oct 2026

Black-Box Red-Teaming of Multi-Agent Systems via Reinforcement Learning

Large language model (LLM) agents are increasingly deployed in multi-agent systems (MAS) to accomplish complex tasks. Prior black-box red-teaming attacks mainly focus on single agents, but we find that these methods are far less effective in MAS, where multiple sub-agents may not directly interact with the user. Theref...

Yu-Qi Jia, Hang-Sheng Zhang, Chen-Xi Liu et al. · 1 citation
#artificial intelligence Preprint Sep 2026

MADBench: Benchmarking the Security of Multi-Agent Debate

Multi-agent debate (MAD) can improve large language model (LLM) reasoning by allowing multiple agents to exchange and critique their answers to the same task. However, the interactions that enable agents to correct mistakes can also spread adversarial errors and steer the agents toward an incorrect answer. Although som...

Yu-Wan Liu, Jia-Ming Zhang, Yue Huang et al. · 0 citations
Open access Oct 2026

AgentBreaker: Evaluating Context-Aware Indirect Prompt Injection Risks in Modern Web Agents

Recent advances in large language models (LLMs) have enabled autonomous web agents to perform complex user tasks by leveraging their adaptive decision-making capabilities. Despite their growing use in crawling the Web, their security implications under indirect prompt injection (IPI) attacks remain largely understudied...

Yong-Bi Son, Changoo Lee, Dongwon Shin et al. · 0 citations

Related blog posts

Hugging Face Blog Oct 20, 2026

MPS in PyTorch 2.15

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.