Poisoning Self-Evolving Security Policies in LLM Agents
Abstract
Self-evolving defenses improve LLM-agent security by learning reusable policies from observed attacks. However, we demonstrate that this learning process itself can become an attack surface. Using SED (Self-Evolving Defense) in the AgentDojo benchmark, we construct a single prompt-injection episode that causes the defense to learn an over-broad policy and subsequently refuse legitimate requests. Across 10 Nemotron runs, every poisoned run over-refuses at least one legitimate task, while unrelated-task performance remains unchanged and the original prompt-injection defense remains effective. The attack also transfers to gpt-oss-120b; however, its poisoning mechanism depends on a successful initial prompt injection and therefore fails to activate when the target agent resists the underlying injection. In contrast, integrity-oriented attacks targeting SED's judge, policy synthesis, retrieval, and organization mechanisms fail in our evaluated settings, identifying over-refusal as the primary exploitable failure mode observed in our experiments. We further identify self-poisoning from false-positive harm judgments without an attacker. Finally, contrastive policy synthesis and an automatic broadness-check gate substantially reduce, but do not eliminate over-refusal, without compromising security in our evaluated settings.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI
Related papers
PRECEPT: Security Self-Improvement of Coding Agents via Evolving Principles
Shared title terminologycs.CRKeyan Guo, Rupam Patir, Haipeng Cai et al.
Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems
Shared title terminologycs.CRManit Baser, Vyoman Jain, Rachel Yeo Hui Min et al.
The Detour Is the Danger: Preserving Security During LLM Agent Recovery
Shared title terminologycs.CRBoyang Ma, Jinku Li, Hao Wu et al.
When Answering Is Administering: Permission Replies That Rewrite Coding-Agent Policy
Shared title terminologycs.CRZeming Fei, Hongming Fei, Jingwen Chen et al.
Evaluating LLM Security Review Agents with Operationally Sourced Ground Truth
Shared title terminologycs.CRMudita Khurana, Karim Liman-Tinguiri
Where Agent Defenses Fail: A Case Study of Policy Compositions and Measurement Limits
Shared title terminologycs.CRKunwar Sangram Singh, Krishna Mohan Guda Nagavenkata Srinivasa