Skip to content
Preprint

Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming

Aug 2026 · 0 citations · 50 references
Computer Science

TL;DR

PIMiner is developed, an agentic system for prompt injection red-teaming that builds a strategy library from scratch during training and can be directly transferred to a previously unseen target LLM without additional training at test time.

Abstract

Prompt injection poses significant security risks to LLM agents. Efficient and effective red-teaming is therefore critical, both for evaluating these risks and for collecting training data to improve defenses. Existing state-of-the-art prompt injection red-teaming methods primarily rely on reinforcement learning (RL), producing attacker models that often generalize poorly to new target LLMs. In this work, we develop PIMiner, an agentic system for prompt injection red-teaming. During training, PIMiner is trained on a sequence of (dataset, target model) pairs and builds a strategy library from scratch. At test time, the learned strategy library can be directly transferred to a previously unseen target LLM without additional training. PIMiner requires only a small number of queries to a target agent (e.g., 10) per test sample. Experimental results demonstrate that PIMiner achieves strong performance. On IPIArena, it attains a 76.2% ASR against Gemini-2.5-Pro, 61.9% ASR against GPT-5.1, and 42.9% ASR against Claude-Sonnet-4.5. On AgentDojo, it achieves an 86.7% ASR against Gemini-2.5-Pro, 53.3% ASR against GPT-5.1, and 40.0% ASR against Claude-Sonnet-4.5.

View source

Similar papers

Jul 2026

GPT-Red: Automated Red Teaming via Self-Play at Scale

GPT-Red, an automated red-teaming agent that is trained to discover novel prompt injection attacks against frontier LLMs, is introduced, a scalable self-play algorithm where the model is tasked with attacking a diverse population of simultaneously-trained defender agents.

Eric Wallace, Christopher A. Choquette-Choo, Nikhil Kandpal et al. · 2 citations
Preprint Aug 2026

When Prompts Control Robots: Prompt Injection Attacks in Multi-Agent Robotic Systems

This first study that systematically investigates prompt injection attacks in a multi-agent LLM-based robotic system finds that attacks can propagate from one agent to others through shared prompt structures, with impacts varying depending on prompt composition and the targeted agent.

N. Nagaraja, Amisha Bagari, Hayretdin Bahşi · 1 citation
#artificial intelligence Preprint Aug 2026

SIR: Self-improving Red-teaming for Compute Use Agents

SIR is presented, a black box IPI attack that composes stealthy injections from a small library of reusable principles stated in plain language and wraps composition in an iterative feedback loop that diagnoses the victim's failed trajectories and distills the bypasses into new, named strategies that are reapplied acro...

Chen Xiong, Zhi-Yuan He, Pin-Yu Chen et al. · 0 citations
Preprint Aug 2026

REDAgentBench: Executable Red Teaming and Faithful Measurement of LLM Agent Systems

RedAgentBench is introduced, an executable framework for autonomous red-teaming and faithful measurement that shows that executable evaluation can improve safety measurement and identify actionable intervention points.

Zixing Chen, Xingyuan Liu, Jie Zhu et al. · 3 citations
#machine learning Preprint Jul 2026

Belayer: Efficient Fault Tolerance for LLM Agentic RL Training

Belayer handles failures in both rollout engines and environment execution while targeting low failure-free overhead, and shows low measured overhead during failure-free training, a worker-recovery-time reduction of up to 42 times faster compared with a full engine cold start, and 1.5 to 3.5 times faster recovery from...

Jiecheng Zhou, Qi Hu, Peng Sun et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Do Agents Know When They Succeed? Calibrating Agent Confidence from Internal Representations

This paper investigates whether model's internal representations provide stronger signals of eventual task success in multi-turn agentic setups, and introduces two complementary methods: Latent Trajectory Dynamics (LTD) and the Action Representation Probe (ARP), which predicts success from representations formed at act...

Priyanka Mary Mammen, Emil Joswin, Srujananjali Medicherla · 0 citations

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