PISmith: Reinforcement Learning-based Red Teaming for Prompt Injection Defenses
arXiv:2603. 13026v2 Announce Type: replace Abstract: Prompt injection poses serious security risks to real-world LLM applications, particularly autonomous agents.
PIPETTE is a prompt injection purple‑teaming framework designed to improve the robustness of large language model agents against indirect prompt injection attacks. It addresses the shortcomings of existing RL‑based red‑teaming methods, which often suffer from mode collapse and fail to provide diverse attack strategies for effective adversarial training. By using a dictionary‑learning reward to encourage diverse attacks and an on‑policy adversarial training pipeline, PIPETTE yields defenders that achieve near‑zero attack success rates while preserving legitimate task performance.
arXiv:2603. 13026v2 Announce Type: replace Abstract: Prompt injection poses serious security risks to real-world LLM applications, particularly autonomous agents.
arXiv:2608. 04317v1 Announce Type: cross Abstract: Autonomous cyber defense systems based on Deep Reinforcement Learning (DRL) have attracted significant research attention, yet remain evaluated almost exclusively against static, heuristic red agents, leaving their robustness against adaptive threats critically understudied.
Indirect prompt injection attacks hijack LLM-based agents by embedding malicious instructions in third-party data that the agent retrieves during task execution. Existing defenses report near-zero attack success rate on static benchmarks, yet recent adaptive evaluations show that these results collapse once the attacker is allowed to optimize against the deployed defense.
arXiv:2606. 15441v1 Announce Type: cross Abstract: Indirect prompt injection attacks hijack LLM-based agents by embedding malicious instructions in third-party data that the agent retrieves during task execution.
arXiv:2405.18540v3 Announce Type: replace-cross Abstract: Red-teaming, or identifying prompts that elicit harmful responses, is a critical step in ensuring the safe and responsible deployment of larg...
The paper introduces ReMAS, a reinforcement learning-based framework for black-box red-teaming of multi-agent systems (MAS) that fine-tunes attacker LLMs to craft adversarial prompts. ReMAS operates in two stages: a rewrite stage that refines base attack prompts to boost extraction success, and a template generation stage that builds attack templates to better invoke specific sub-agents and expose their system prompts. Experiments demonstrate that ReMAS significantly outperforms existing black-box attacks, showing high success rates and transferability across different backend LLMs and MAS structures.
arXiv:2506. 07121v2 Announce Type: replace Abstract: Ensuring the safety and robustness of large language models (LLMs) is a fundamental challenge and a critical prerequisite for the responsible deployment of artificial intelligence.
AutoPI is an adaptive red‑teaming tool that uses a taxonomy of prompt‑injection techniques (PIAtlas) to generate diverse attacks against large‑language‑model agents. Unlike existing red teamers that focus on maximizing attack success rate, AutoPI seeks to cover many different attack paths, iteratively refining failed attempts with an LLM judge. In evaluations on AgentDojo and IPI Arena, AutoPI achieved higher success rates and substantially greater technique coverage against both open‑weight and proprietary models, without requiring any training.
The paper introduces ARMs, an adaptive red‑teaming agent designed to evaluate and expose safety vulnerabilities in vision‑language models (VLMs). ARMs automatically generates diverse multimodal attack strategies—11 new patterns and 17 integrated algorithms—using a layered memory and epsilon‑greedy exploration to maximize attack success. Experiments demonstrate state‑of‑the‑art success rates, and the resulting ARMs‑Bench dataset contains over 30,000 instances across 51 risk categories, which can be used to fine‑tune VLMs for improved robustness without sacrificing utility.
The paper discusses the ongoing threat of prompt injection attacks on AI agents, noting that early simple attacks have plateaued but new, more capable adversaries can still succeed. It introduces a synthetic evaluation dataset that uses random non‑malicious actions as adversarial goals to test whether models respect instruction hierarchy independently of security knowledge. Experiments show that even agents considered robust on existing benchmarks can be tricked by advanced attackers, indicating that current defenses may need proactive, automated red‑teaming.
Autonomous cyber defense systems based on Deep Reinforcement Learning (DRL) have attracted significant research attention, yet remain evaluated almost exclusively against static, heuristic red agents, leaving their robustness against adaptive threats critically understudied. Meanwhile, recent advances in Reinforcement Learning with Verifiable Rewards (RLVR) have improved LLM reasoning, but their integration into cybersecurity remains elusive due to the absence of suitable benchmark environments and interaction datasets.
The paper introduces CoER, a framework that defends language‑model agents against adaptive indirect prompt injection (IPI) by employing attacker‑defender co‑evolution and refinement. CoER models IPI as a general‑sum Markov game, uses Co‑PPO to maintain historical opponent populations, and fine‑tunes defenders only on verified safe demonstrations. In experiments across seven domains, CoER cuts attack success from 38.5% to 0.2% while boosting task utility from 63.2% to 76.3%.