OpenAI built GPT-Red, an internal automated red-teaming model designed to discover vulnerabilities in AI systems before they reach production. The system targets prompt injections hidden in emails, webpages, files, and tool outputs.

GPT-Red operates through self-play reinforcement learning, attacking defender models while both systems train simultaneously. The red-teaming model receives rewards for causing valid failures, while defenders earn rewards for resisting attacks and completing original tasks.

In testing against previously unseen scenarios, GPT-Red successfully attacked GPT-5.1 in 84% of cases, compared with just 13% for human red-teamers. The system broke nearly every tested OpenAI model through GPT-5.5.

The model demonstrated real-world attack capabilities against agentic systems. It manipulated an AI-operated vending machine to reduce prices to $0.50, ordered items worth over $100 at that price, and cancelled other customers' orders.

In separate tests, GPT-Red caused a Codex CLI agent powered by GPT-5.4 mini to exfiltrate sensitive data across custom scenarios.

Training more robust models

OpenAI has incorporated GPT-Red's attacks into production model training since GPT-5.3. GPT-5.6 Sol recorded six times fewer failures on the company's hardest direct prompt-injection benchmark than the leading production model from four months earlier.

The newer model's failure rate against GPT-Red's direct prompt injections fell to 0.05%. An earlier GPT-Red version discovered "Fake Chain-of-Thought" attacks that succeeded over 95% of the time against GPT-5.1, but dropped below 10% with GPT-5.6 Sol.

OpenAI reports these robustness improvements did not reduce general model capabilities or cause broader refusal behavior. The company trained GPT-Red using compute comparable to some of its largest post-training runs.

GPT-Red will remain internal-only because it was deliberately trained with malicious capabilities. OpenAI plans to continue scaling the system alongside human red-teaming, layered safeguards, and real-time monitoring to train more robust future releases.