OpenAI Builds GPT-Red to Attack and Improve Its Own AI Models

Jul 16, 2026
OpenAI has introduced GPT-Red, an automated AI security system designed to find and exploit vulnerabilities in the company’s own models. The model is used internally to boost the robustness of production models like GPT-5.6 against prompt injection attacks.
OpenAI Builds GPT-Red to Attack and Improve Its Own AI Models
Image: OpenAI

OpenAI has developed GPT-Red, an automated adversarial model built to identify and exploit weaknesses in its own AI systems, according to a company announcement. GPT-Red functions as an internal red-teaming agent that searches for prompt injection vulnerabilities before models are widely deployed.

The system is trained through self-play reinforcement learning. It faces off against a group of defensive models and is rewarded for successful attacks, while defenders earn rewards for resisting them. GPT-Red has been trained using a large compute scale typically reserved for production models, allowing it to discover sophisticated attack methods that human testers might miss.

In practical evaluations, GPT-Red successfully manipulated an AI agent operating a physical vending machine by altering prices and canceling orders. OpenAI disclosed these vulnerabilities and used the findings to improve safeguards. The model also demonstrated effectiveness against earlier OpenAI models, achieving higher success rates than human testers in controlled red-teaming tests.

OpenAI incorporated results from GPT-Red’s attacks to train GPT-5.6, which now shows significantly greater resistance to prompt injection attempts compared to prior versions. Despite GPT-Red’s strength, the company has stated it will not release the model publicly to prevent misuse of its offensive capabilities.

We hope you enjoyed this article

Free newsletter

Cybersecurity AI Weekly

Weekly newsletter about AI in Cybersecurity.

Industry analysis

2025 Global Business Services Agenda: Gen AI Takes Center Stage

The Hackett Group

This industry analysis by The Hackett Group explores the transformative impact of generative artificial intelligence (Gen AI) on global business services (GBS) in 2025. The study highlights the shift from exploration to acceleration of Gen AI initiatives, with 89% of executives advancing these projects to improve customer satisfaction, innovate products, and reduce costs. The report also discusses the challenges and strategies for successful Gen AI adoption, emphasizing the need for a technology-enabled operating model and the importance of reskilling the workforce.

Read more
Free, six days a week

Daily AI Brief: the AI news that matters, in your inbox.