Adversarial robustness and red-teaming
Attack the system deliberately to find and close jailbreaks.
Red-teaming means attacking an AI system on purpose, before and after release, to find ways it can be pushed into breaking its own rules. Adversarial robustness is the property the attacks test: how well the system holds up against people, or other AI systems, actively trying to make it misbehave. A safeguard that a determined user can bypass gives much less protection than it appears to.
How it works
Human experts red-team a model by hand, often under contract with the developer. Automated red-teaming uses one AI model to generate many test attacks against another and scores the replies; DeepMind showed in February 2022 that this could surface tens of thousands of offensive replies from a large chatbot. Public competitions and bug bounties pay outsiders for each successful break.
A jailbreak is an input that gets a model to do what its safety training forbids. A universal jailbreak works across many forbidden requests at once, so it is far more dangerous than a one-off trick. Known attack classes include automatically optimised text suffixes that transfer between models, many-shot jailbreaks that fill a long context window with fake dialogues, and prompt injection, where instructions hidden in a web page or file hijack an AI agent that reads it.
Developers then train or add defences and attack them again. Anthropic's Constitutional Classifiers (February 2025), for example, wrap a model in input and output filters. The filters are trained on synthetic examples generated from a written list of allowed and banned content. Anthropic then ran a two-month bug bounty and a public challenge to see whether people could still find a universal jailbreak.
Where research stands
Red-teaming is standard practice, and the field is crowded. Every major developer does it, and governments now run or sponsor it. Defences can raise the cost of attacks sharply. In Anthropic's bug bounty, 183 participants spent over 3,000 hours without finding a universal jailbreak of the classifier-guarded prototype. Against a determined, adaptive attacker, though, almost nothing holds. In Anthropic's public challenge in February 2025, one participant did find a universal jailbreak. In a March-April 2025 agent competition run by Gray Swan with the UK AI Security Institute, every one of 22 models was broken many times.
Many defences are tested only against fixed attack sets. In October 2025, researchers including Nicholas Carlini broke 12 published defences, most of which had reported near-zero attack success. AI agents that read untrusted content also face prompt injection, and their robustness tracks model size or capability only weakly. Anthropic's 2025 list of recommended research directions still says "there are still underexplored areas" in adversarial robustness, including jailbreak benchmarks that measure real harm rather than mere non-refusal.
Key results
- Using one language model to write test cases for another found tens of thousands of offensive replies from a 280-billion-parameter chatbot, launching automated red-teaming. Ethan Perez, Saffron Huang, Francis Song et al. (DeepMind), 2022
- An automated search for adversarial text suffixes, optimised on small open models, produced attacks that transferred to closed systems including ChatGPT, Bard and Claude. Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J. Zico Kolter, Matt Fredrikson, 2023
- Many-shot jailbreaking, which exploits long context windows, grows more effective with the number of examples following a power law; prompt classification cut one attack's success rate from 61% to 2%. Anthropic, 2024
- A Constitutional Classifiers prototype withstood over 3,000 hours of bug-bounty red-teaming with no universal jailbreak; an updated version added 0.38 percentage points to refusals and 23.7% extra compute, and a later public challenge produced one universal jailbreak. Mrinank Sharma, Meg Tong, Jesse Mu, Jerry Wei et al. (Anthropic), 2025
- A public competition logged 1.8 million prompt-injection attacks on 22 AI agents; nearly all agents broke policy for most behaviours within 10 to 100 queries, and attacks transferred well across models. Andy Zou, Maxwell Lin, Eliot Jones et al. (Gray Swan and UK AI Security Institute), 2025
- Adaptive attacks combining gradient methods, reinforcement learning, search and human red-teamers bypassed 12 recent defences with over 90% success for most, though most had reported near-zero attack success. Milad Nasr, Nicholas Carlini, Chawin Sitawarin, Sander Schulhoff, Jamie Hayes et al., 2025
Open problems
- Jailbreak benchmarks mostly measure whether a model refuses, not whether a successful attack gives real extra ability to cause harm. source
- Defences need evaluation against strong adaptive attackers, not fixed prompt sets, or their reported robustness misleads. source
- AI agents that read untrusted web pages, emails or tool outputs remain open to prompt injection, and robustness does not track model capability in a uniform way. source
- Safety training fails when helpfulness and safety goals compete, or when safety does not generalise to every domain the model can handle, and scaling alone is unlikely to fix this. source
See all open problems in this group
Criticisms
- Red-teaming practices vary so widely in purpose, method and follow-up that presenting red-teaming as a cure-all for generative-AI risk amounts to security theatre. Michael Feffer, Anusha Sinha, Wesley Hanwen Deng, Zachary Lipton, Hoda Heidari
- Published jailbreak defences routinely overstate robustness because their authors test them against weak, non-adaptive attacks. Milad Nasr, Nicholas Carlini, Florian Tramèr and co-authors
- Red-teaming is not safety benchmarking, and the work of securing AI systems will never be complete, so a clean red-team result is not proof of safety. Microsoft AI Red Team (Blake Bullwinkel et al.)
Who works on it
- Anthropic: Built Constitutional Classifiers, documented many-shot jailbreaking and ran public jailbreak bounties. Constitutional Classifiers: Defending against universal jailbreaks (2025)
- OpenAI: Has outside red teams test its models and systems, and published its design choices and limits. OpenAI's Approach to External Red Teaming for AI Models and Systems (2025)
- Google DeepMind: Pioneered automated red-teaming (2022) and runs continuous adaptive prompt-injection attacks against Gemini versions. Lessons from Defending Gemini Against Indirect Prompt Injections (2025)
- Microsoft (AI Red Team): Red-teamed more than 100 generative-AI products and published eight lessons and a threat ontology. Lessons From Red Teaming 100 Generative AI Products (2025)
- Center for AI Safety: Built HarmBench, a standard framework comparing 18 automated red-teaming attacks against 33 models and defences. HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusal (2024)
- Gray Swan AI: Runs the Gray Swan Arena public red-teaming competitions, including the 2025 agent challenge with the UK AI Security Institute. UK AISI x Gray Swan Agent Red-Teaming Challenge: Results Snapshot (2025)
- UK AI Security Institute: Main sponsor and judging partner of the 2025 agent red-teaming challenge, and co-author of its analysis. Security Challenges in AI Agent Deployment: Insights from a Large Scale Public Competition (2025)
- Center for Advancing Innovation and Standards for Super Intelligence (CAISSI, NIST, US; formerly the Center for AI Standards and Innovation): Co-judged the 2025 agent challenge (then as the US AI Safety Institute) and analysed another prompt-injection competition with Gray Swan and UK AISI. Insights into AI Agent Security from a Large-Scale Red-Teaming Competition (2026)
- Coefficient Giving (formerly Open Philanthropy): Its February 2025 technical AI safety request for proposals listed 'jailbreaks and unintentional misalignment' under adversarial machine learning. Open Philanthropy Technical AI Safety RFP - $40M Available Across 21 Research Areas (2025)
Status
Crowded; Anthropic still says "there are still underexplored areas"
Start reading
- Red-Teaming for Generative AI: Silver Bullet or Security Theater?, Michael Feffer, Anusha Sinha, Wesley Hanwen Deng, Zachary Lipton, Hoda Heidari (2024). Survey of what red-teaming is in practice, with a question bank for doing it well.
- Lessons From Red Teaming 100 Generative AI Products, Blake Bullwinkel, Amanda Minnich et al. (Microsoft) (2025). A practitioner's view of what red-teaming finds and where it stops.
- Jailbroken: How Does LLM Safety Training Fail?, Alexander Wei, Nika Haghtalab, Jacob Steinhardt (2023). The clearest account of why jailbreaks work at all.
- Constitutional Classifiers: Defending against universal jailbreaks, Anthropic (2025). A defence tested by bounty and public challenge, with results reported both ways.
- The Attacker Moves Second, Milad Nasr, Nicholas Carlini et al. (2025). Why defence results must be checked against adaptive attackers.
Related approaches
- Input and output classifiers (guardrails) Input and output classifiers are the main tested defence
- Latent adversarial training Latent adversarial training hardens models against attacks
- Circuit breakers and representation rerouting Circuit breakers are a robustness defence
- Dangerous-capability evaluations Jailbreaks decide whether dangerous capabilities are reachable
- Independent third-party evaluation and audit Outside red-teamers are a form of third-party evaluation
- AI control AI control uses red teams to stress-test safeguards
In their own words
Language Models (LMs) often cannot be deployed because of their potential to harm users in hard-to-predict ways. Prior work identifies harmful behaviors before deployment by using human annotators to hand-write test cases. ... In this work, we automatically find cases where a target LM behaves in a harmful way, by generating test cases ("red teaming") using another LM.
Ethan Perez, Saffron Huang, Francis Song, Trevor Cai, Roman Ring, John Aslanides, Amelia Glaese, Nat McAleese, Geoffrey Irving (DeepMind), Red Teaming Language Models with Language Models, 2022
To defend against these attacks, we introduce Constitutional Classifiers: safeguards trained on synthetic data, generated by prompting LLMs with natural language rules (i.e., a constitution) specifying permitted and restricted content. ... Our work demonstrates that defending against universal jailbreaks while maintaining practical deployment viability is tractable.
Mrinank Sharma et al. (Anthropic), Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teaming, 2025
Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).