RedAgent: Red Teaming Large Language Models with Context-aware Autonomous Language Agent
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Recently, advanced Large Language Models (LLMs) such as GPT-4 have been integrated into many real-world applications like Code Copilot. These applications have significantly expanded the attack surface of LLMs, exposing them to a variety of threats. Among them, jailbreak attacks that induce toxic responses through jailbreak prompts have raised critical safety concerns. To identify these threats, a growing number of red teaming approaches simulate potential adversarial scenarios by crafting jailbreak prompts to test the target LLM. However, existing red teaming methods do not consider the unique vulnerabilities of LLM in different scenarios, making it difficult to adjust the jailbreak prompts to find context-specific vulnerabilities. Meanwhile, these methods are limited to refining jailbreak templates using a few mutation operations, lacking the automation and scalability to adapt to different scenarios. To enable context-aware and efficient red teaming, we abstract and model existing attacks into a coherent concept called "jailbreak strategy" and propose a multi-agent LLM system named RedAgent that leverages these strategies to generate context-aware jailbreak prompts. By self-reflecting on contextual feedback in an additional memory buffer, RedAgent continuously learns how to leverage these strategies to achieve effective jailbreaks in specific contexts. Extensive experiments demonstrate that our system can jailbreak most black-box LLMs in just five queries, improving the efficiency of existing red teaming methods by two times. Additionally, RedAgent can jailbreak customized LLM applications more efficiently. By generating context-aware jailbreak prompts towards applications on GPTs, we discover 60 severe vulnerabilities of these real-world applications with only two queries per vulnerability. We have reported all found issues and communicated with OpenAI and Meta for bug fixes.
Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 35 of its 62 references that are in the map. First posted on arXiv 23 Jul 2024.
Builds on
35 of 62 references.
References · 35
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
- 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,106
23 more
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 533
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 520
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
- 2023Benchmarking Large Language Models for News Summarizationcited by 444
- 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 356
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 337
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
- 2023Large Language Models as Tool Makerscited by 293
- 2023Low-Resource Languages Jailbreak GPT-4cited by 290
- 2023Multilingual Jailbreak Challenges in Large Language Modelscited by 222
- 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 197
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
- 2023From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacycited by 137
- 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Modelscited by 128
- 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstructioncited by 95
- 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakerscited by 91
- 2024Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Modelscited by 77
- 2023Exploring the Feasibility of ChatGPT for Event Extractioncited by 76
Built on by
Citing papers per year: 2024: 5; 2025: 20; 2026: 14.
39 papers.
Sort:
By area:
- 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasurescited by 93
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
- 2025AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integrationcited by 38
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025Security Concerns for Large Language Models: A Surveycited by 26
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMscited by 18
- 2024Attack Atlas: A Practitioner's Perspective on Challenges and Pitfalls in Red Teaming GenAIcited by 14
- 2024Farmer.Chat: Scaling AI-Powered Agricultural Services for Smallholder Farmerscited by 12
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Modelscited by 11
- 2025RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Searchcited by 10
- 2025Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderationcited by 9
- 2025RedCodeAgent: Automatic Red-teaming Agent against Diverse Code Agentscited by 9
27 more
- 2024Recent advancements in LLM Red-Teaming: Techniques, Defenses, and Ethical Considerationscited by 8
- 2025IP Leakage Attacks Targeting LLM-Based Multi-Agent Systemscited by 8
- 2025Evolve the Method, Not the Prompts: Evolutionary Synthesis of Jailbreak Attacks on LLMscited by 7
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agentscited by 7
- 2026ProbeLLM: Automating Principled Diagnosis of LLM Failurescited by 7
- 2026GPT-Red: Automated Red Teaming via Self-Play at Scalecited by 5
- 2024Towards Action Hijacking of Large Language Model-based Agentcited by 4
- 2025AntiDote: Bi-level Adversarial Training for Tamper-Resistant LLMscited by 4
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 4
- 2025CrossGuard: Safeguarding MLLMs against Joint-Modal Implicit Malicious Attackscited by 4
- 2025Can Small Language Models Reliably Resist Jailbreak Attacks? A Comprehensive Evaluationcited by 3
- 2025Exploring the Vulnerability of the Content Moderation Guardrail in Large Language Models via Intent Manipulationcited by 3
- 2025Playing Devil's Advocate: Unmasking Toxicity and Vulnerabilities in Large Vision-Language Modelscited by 2
- 2025Tailored untruths: How personalisation challenges LLM safeguardscited by 2
- 2026ADR: An Agentic Detection System for Enterprise Agentic AI Securitycited by 2
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teamingcited by 2
- 2025MAD-MAX: Modular And Diverse Malicious Attack MiXtures for Automated LLM Red Teamingcited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2026Risk-Adjusted Harm Scoring for Automated Red Teaming for LLMs in Financial Servicescited by 1
- 2026SpecAlign: Efficient Specification-Grounded Alignment of Large Language Models via Synthetic Datacited by 1
- 2026FinRED: An Expert-Guided Benchmark Generation and Evaluation Framework for Financial LLM Red-Teamingcited by 1
- 2026One Turn Too Late: Learning When to Intervene Against Multi-Turn Malicious Intentcited by 0
- 2026Persona-Conditioned Adversarial Prompting: Multi-Identity Red-Teaming for Adversarial Discovery and Mitigationcited by 0
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolutioncited by 0
- 2026COMPASS: Cognitive MCTS-Guided Process Alignment for Safe Search Agentscited by 0
- 2026A Red Teaming Framework for Large Language Models: A Case Study on Faithfulness Evaluationcited by 0
- 2026Adversarial Stress Testing of Role-Playing Language Agents using Multi-Agent Evaluationcited by 0
- 2026Adversarial Stress Testing of Role-Playing Language Agents using Multi-Agent Evaluation4 Aug 2026
- 2026GPT-Red: Automated Red Teaming via Self-Play at Scale28 Jul 2026
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teaming13 Jul 2026
- 2026A Red Teaming Framework for Large Language Models: A Case Study on Faithfulness Evaluation24 Jun 2026
- 2026FinRED: An Expert-Guided Benchmark Generation and Evaluation Framework for Financial LLM Red-Teaming18 Jun 2026
- 2026SpecAlign: Efficient Specification-Grounded Alignment of Large Language Models via Synthetic Data15 Jun 2026
- 2026COMPASS: Cognitive MCTS-Guided Process Alignment for Safe Search Agents29 May 2026
- 2026ADR: An Agentic Detection System for Enterprise Agentic AI Security17 May 2026
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolution13 May 2026
- 2026Persona-Conditioned Adversarial Prompting: Multi-Identity Red-Teaming for Adversarial Discovery and Mitigation12 May 2026
- 2026One Turn Too Late: Learning When to Intervene Against Multi-Turn Malicious Intent7 May 2026
- 2026Risk-Adjusted Harm Scoring for Automated Red Teaming for LLMs in Financial Services11 Mar 2026
27 more
- 2026ProbeLLM: Automating Principled Diagnosis of LLM Failures13 Feb 2026
- 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs4 Jan 2026
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents20 Nov 2025
- 2025Evolve the Method, Not the Prompts: Evolutionary Synthesis of Jailbreak Attacks on LLMs16 Nov 2025
- 2025CrossGuard: Safeguarding MLLMs against Joint-Modal Implicit Malicious Attacks20 Oct 2025
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025Tailored untruths: How personalisation challenges LLM safeguards14 Oct 2025
- 2025RedCodeAgent: Automatic Red-teaming Agent against Diverse Code Agents2 Oct 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025AntiDote: Bi-level Adversarial Training for Tamper-Resistant LLMs6 Sep 2025
- 2025Security Concerns for Large Language Models: A Survey24 May 2025
- 2025Exploring the Vulnerability of the Content Moderation Guardrail in Large Language Models via Intent Manipulation24 May 2025
- 2025IP Leakage Attacks Targeting LLM-Based Multi-Agent Systems18 May 2025
- 2025RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Search21 Apr 2025
- 2025AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integration20 Mar 2025
- 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasures12 Mar 2025
- 2025Can Small Language Models Reliably Resist Jailbreak Attacks? A Comprehensive Evaluation9 Mar 2025
- 2025MAD-MAX: Modular And Diverse Malicious Attack MiXtures for Automated LLM Red Teaming8 Mar 2025
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Models3 Mar 2025
- 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety2 Feb 2025
- 2025Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderation28 Jan 2025
- 2025Playing Devil's Advocate: Unmasking Toxicity and Vulnerabilities in Large Vision-Language Models14 Jan 2025
- 2024Towards Action Hijacking of Large Language Model-based Agent14 Dec 2024
- 2024Recent advancements in LLM Red-Teaming: Techniques, Defenses, and Ethical Considerations9 Oct 2024
- 2024Attack Atlas: A Practitioner's Perspective on Challenges and Pitfalls in Red Teaming GenAI23 Sep 2024
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trends22 Sep 2024
- 2024Farmer.Chat: Scaling AI-Powered Agricultural Services for Smallholder Farmers13 Sep 2024
- 2025AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integrationcited by 38
- 2024Attack Atlas: A Practitioner's Perspective on Challenges and Pitfalls in Red Teaming GenAIcited by 14
- 2025Building Safe GenAI Applications: An End-to-End Overview of Red Teaming for Large Language Modelscited by 11
- 2025RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Searchcited by 10
- 2025Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderationcited by 9
- 2024Recent advancements in LLM Red-Teaming: Techniques, Defenses, and Ethical Considerationscited by 8
- 2025Evolve the Method, Not the Prompts: Evolutionary Synthesis of Jailbreak Attacks on LLMscited by 7
- 2025AntiDote: Bi-level Adversarial Training for Tamper-Resistant LLMscited by 4
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 4
- 2025Can Small Language Models Reliably Resist Jailbreak Attacks? A Comprehensive Evaluationcited by 3
- 2025Exploring the Vulnerability of the Content Moderation Guardrail in Large Language Models via Intent Manipulationcited by 3
- 2025Tailored untruths: How personalisation challenges LLM safeguardscited by 2
12 most cited of 18 All 18 (JSON)
- 2026A Red Teaming Framework for Large Language Models: A Case Study on Faithfulness Evaluation24 Jun 2026
- 2026FinRED: An Expert-Guided Benchmark Generation and Evaluation Framework for Financial LLM Red-Teaming18 Jun 2026
- 2026Model-Agnostic Lifelong LLM Safety via Externalized Attack-Defense Co-Evolution13 May 2026
- 2026Persona-Conditioned Adversarial Prompting: Multi-Identity Red-Teaming for Adversarial Discovery and Mitigation12 May 2026
- 2026Risk-Adjusted Harm Scoring for Automated Red Teaming for LLMs in Financial Services11 Mar 2026
- 2025Evolve the Method, Not the Prompts: Evolutionary Synthesis of Jailbreak Attacks on LLMs16 Nov 2025
- 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defenses17 Oct 2025
- 2025Tailored untruths: How personalisation challenges LLM safeguards14 Oct 2025
- 2025AntiDote: Bi-level Adversarial Training for Tamper-Resistant LLMs6 Sep 2025
- 2025Exploring the Vulnerability of the Content Moderation Guardrail in Large Language Models via Intent Manipulation24 May 2025
- 2025RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Search21 Apr 2025
- 2025AutoRedTeamer: Autonomous Red Teaming with Lifelong Attack Integration20 Mar 2025
12 newest of 18 All 18 (JSON)
- 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasurescited by 93
- 2025RedCodeAgent: Automatic Red-teaming Agent against Diverse Code Agentscited by 9
- 2025IP Leakage Attacks Targeting LLM-Based Multi-Agent Systemscited by 8
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agentscited by 7
- 2024Towards Action Hijacking of Large Language Model-based Agentcited by 4
- 2026ADR: An Agentic Detection System for Enterprise Agentic AI Securitycited by 2
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teamingcited by 2
- 2026COMPASS: Cognitive MCTS-Guided Process Alignment for Safe Search Agentscited by 0
- 2026Adversarial Stress Testing of Role-Playing Language Agents using Multi-Agent Evaluationcited by 0
- 2026Adversarial Stress Testing of Role-Playing Language Agents using Multi-Agent Evaluation4 Aug 2026
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teaming13 Jul 2026
- 2026COMPASS: Cognitive MCTS-Guided Process Alignment for Safe Search Agents29 May 2026
- 2026ADR: An Agentic Detection System for Enterprise Agentic AI Security17 May 2026
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents20 Nov 2025
- 2025RedCodeAgent: Automatic Red-teaming Agent against Diverse Code Agents2 Oct 2025
- 2025IP Leakage Attacks Targeting LLM-Based Multi-Agent Systems18 May 2025
- 2025A Survey on Trustworthy LLM Agents: Threats and Countermeasures12 Mar 2025
- 2024Towards Action Hijacking of Large Language Model-based Agent14 Dec 2024
- 2026GPT-Red: Automated Red Teaming via Self-Play at Scalecited by 5
- 2026GPT-Red: Automated Red Teaming via Self-Play at Scale28 Jul 2026
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
- 2025Security Concerns for Large Language Models: A Surveycited by 26
- 2024Farmer.Chat: Scaling AI-Powered Agricultural Services for Smallholder Farmerscited by 12
- 2026ProbeLLM: Automating Principled Diagnosis of LLM Failurescited by 7
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2026One Turn Too Late: Learning When to Intervene Against Multi-Turn Malicious Intentcited by 0
- 2026One Turn Too Late: Learning When to Intervene Against Multi-Turn Malicious Intent7 May 2026
- 2026ProbeLLM: Automating Principled Diagnosis of LLM Failures13 Feb 2026
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025Security Concerns for Large Language Models: A Survey24 May 2025
- 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trends22 Sep 2024
- 2024Farmer.Chat: Scaling AI-Powered Agricultural Services for Smallholder Farmers13 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2025CoP: Agentic Red-teaming for Large Language Models using Composition of Principles
- 2025Jailbreak-R1: Exploring the Jailbreak Capabilities of LLMs via Reinforcement Learning
- 2024Red Teaming GPT-4V: Are GPT-4V Safe Against Uni/Multi-Modal Jailbreak Attacks?
- 2025Evaluating Multi-Agent Defences Against Jailbreaking Attacks on Large Language Models
- 2025X-Teaming: Multi-Turn Jailbreaks and Defenses with Adaptive Multi-Agents
- 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Tools
- 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
- 2026AJAR: Adaptive Jailbreak Architecture for Red-teaming