Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
Summary
This paper introduces PIMiner, an agentic system for automatic prompt injection red-teaming that builds a strategy library during training and transfers to unseen target LLMs at test time, achieving strong attack success rates against models like Gemini-2.5-Pro, GPT-5.1, and Claude-Sonnet-4.5.
View Cached Full Text
Cached at: 08/06/26, 05:49 AM
Paper page - Agent Against Agent: An Agentic System for Automatic Prompt Injection Red Teaming
Source: https://huggingface.co/papers/2608.05108
Abstract
PromptinjectionposessignificantsecurityriskstoLLMagents.Efficientandeffectivered-teamingisthereforecritical,bothforevaluatingtheserisksandforcollectingtrainingdatatoimprovedefenses.Existingstate-of-the-artpromptinjectionred-teamingmethodsprimarilyrelyonreinforcementlearning(RL),producingattackermodelsthatoftengeneralizepoorlytonewtargetLLMs.Inthiswork,wedevelopPIMiner,anagenticsystemforpromptinjectionred-teaming.Duringtraining,PIMineristrainedonasequenceof(dataset,targetmodel)pairsandbuildsastrategylibraryfromscratch.Attesttime,thelearnedstrategylibrarycanbedirectlytransferredtoapreviouslyunseentargetLLMwithoutadditionaltraining.PIMinerrequiresonlyasmallnumberofqueriestoatargetagent(e.g.,10)pertestsample.ExperimentalresultsdemonstratethatPIMinerachievesstrongperformance.OnIPIArena,itattainsa76.2%ASRagainstGemini-2.5-Pro,61.9%ASRagainstGPT-5.1,and42.9%ASRagainstClaude-Sonnet-4.5.OnAgentDojo,itachievesan86.7%ASRagainstGemini-2.5-Pro,53.3%ASRagainstGPT-5.1,and40.0%ASRagainstClaude-Sonnet-4.5.
View arXiv pageView PDFGitHub1Add to collection
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2608.05108 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2608.05108 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2608.05108 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
GPT-Red: Automated Red Teaming via Self-Play at Scale
This paper introduces GPT-Red, an automated red-teaming agent trained via self-play at scale to discover novel prompt injection attacks against frontier LLMs, and uses it to adversarially train GPT-5.6, achieving the largest documented LLM safety training run.
@OpenAI: Introducing GPT-Red An internal automated red teamer on a mission to find our models’ prompt injection vulnerabilities …
OpenAI introduces GPT-Red, an automated red-teaming model that finds prompt injection vulnerabilities at scale and is used to adversarially train models like GPT-5.6 Sol, achieving 6x fewer failures on hard prompt injection benchmarks.
I red-teamed AI agents with hidden prompt injection. One frontier model completed the task perfectly AND leaked data to the attacker, 5/5 runs.
A red-teaming exercise found that a frontier AI agent model successfully completed a task despite a hidden prompt injection and leaked data to the attacker in all five test runs.
@MAXdeg0: THIS IS F**KING DANGEROUS FOUND AN AI RED TEAM THAT NEEDS ZERO HUMAN INPUT PentAGI. Scanner —> Exploiter —> Reporter —>…
An autonomous AI red teaming system named PentAGI uses three agents to scan, exploit, and report vulnerabilities, making serious security testing more accessible while stressing authorized use only.
Insights on Indirect Prompt Injection (12 minute read)
Zico Kolter and Matt Fredrikson, leaders at Gray Swan and experts in AI security, discuss the state of AI red-teaming and indirect prompt injection, a critical vulnerability for AI agents. They explain why AI security requires a different mindset, how automated red-teaming can beat humans, and introduce tools like Shade for adversarial testing.