← Back to all posts
News

OpenAI Trained an AI to Break Its Own Models. It Out-Hacked Human Red-Teamers 84% to 13%.

July 16, 2026 · News
OpenAI Trained an AI to Break Its Own Models. It Out-Hacked Human Red-Teamers 84% to 13%.

TL;DR

On July 15, OpenAI revealed GPT-Red, a model it trained to attack its own systems. Dropped into a self-play loop against defender models, GPT-Red hunts prompt-injection flaws, and it is unnervingly good at it: on OpenAI's internal red-team scenarios it succeeded 84% of the time where expert humans managed 13%. It also invented an entire attack class researchers had not thought of, and OpenAI used it to make GPT-5.6 land far fewer prompt injections than last summer's model. The headline is not the attacker itself. It is that model hardening just became a training loop that never stops.


What GPT-Red actually is

Prompt injection is still the unsolved problem of the agent era: hide an instruction inside a web page, an email, or a tool result, and a model that reads it may quietly obey the attacker instead of you. Finding those holes has always been slow, manual, and bottlenecked on a handful of security experts. GPT-Red is OpenAI's attempt to take the human out of the loop, a model trained specifically to be the attacker.

The mechanism is self-play. GPT-Red is set loose against defender models: its job is to prompt-inject them, their job is to resist. Every time it lands an attack, that success becomes training signal that hardens the defenders, which forces GPT-Red to go find something nastier. Picture a fencing coach who is contractually obligated to beat you and gets a little sharper every time you improve, so your only move is to keep leveling up. The arena is not a toy, either: GPT-Red operates with web browsing, email, and a code editor, the same surfaces a real agent touches.

GPT-Red attacks Defender learns Loop hardens both
Self-play: each landed attack trains the defender, forcing GPT-Red to invent a harder one. The loop never ends.

84% to 13%

The number that will get quoted everywhere is the head-to-head. On the same set of red-team scenarios, GPT-Red found a working prompt-injection attack 84% of the time. Human red-teamers, running the same playbook, landed one 13% of the time. That is not a slightly-better result, it is a different league, and it quantifies how far automated adversarial testing has already outpaced the manual kind.

prompt-injection attacks that succeeded, same scenarios GPT-Red84% Human team13%
Automated red-teaming versus experienced humans on identical prompt-injection scenarios.

The attack it found that humans missed

The most striking result is not a score, it is a discovery. GPT-Red independently surfaced a novel attack class OpenAI calls the fake chain of thought, before any human researcher had named it. A model's chain of thought is the scratchpad where it reasons step by step and jots down partial results. The attack inserts a spoofed entry into that scratchpad so the model reads its own fabricated "reasoning" as already-verified fact and acts on it.

"It's like if I told you that 1+1=3 and that you have verified this already. The model's like, 'Oh, okay, of course,' and it just spits out 3." Chris Choquette-Choo, OpenAI

Left undefended, the fake chain of thought worked on more than 95% of attempts against GPT-5.1. After OpenAI trained the newer models against it, the same attack class now succeeds on fewer than 10% of attempts against GPT-5.6 Sol. An attacker nobody designed found a hole nobody was looking for, and then closed it.

fake chain-of-thought attack: share that succeeded GPT-5.1>95% GPT-5.6 Sol<10%
Before and after training defenders against the attack GPT-Red invented.

What it did to GPT-5.6

GPT-Red was not a lab curiosity. It was central to hardening the current model. Attacks that beat GPT-5, last summer's model, more than 90% of the time now land under 23% of the time on GPT-5.6. OpenAI frames the broader gain as roughly six times fewer failures on direct prompt-injection benchmarks than the model from just four months earlier. The point of the self-play design is that this is not a pre-launch checkpoint you pass once. Because the attacker keeps evolving against the defender, hardening becomes a continuous process baked into training rather than a box you tick before shipping.

Where it still falls short

OpenAI is straight about the limits, and they matter. GPT-Red struggles with back-and-forth conversational attacks that build over several turns. It is weak on image-based prompt injections, where the malicious instruction hides in a picture rather than text. And human red-teamers still find attacks it misses entirely. The takeaway is not that red-teaming is solved, it is that the cheap, tireless part of it can now be automated while people concentrate on the failure modes machines are still bad at.

Why builders should care

Two things follow, and they point in opposite directions. The good news: if you build agents, the defense side of prompt injection just got a scalable engine behind it, and the models you depend on are getting measurably harder to hijack. The uncomfortable news: the capability is dual-use by construction. If a frontier lab can train a model that lands prompt injections 84% of the time, you should assume that same recipe is reproducible by people who are not going to publish a safety blog about it.

So treat prompt injection as a moving target, not a checkbox. The attack surface your agent exposes, every web page it reads, every tool result it trusts, every email it parses, is now being probed by attackers who can iterate as fast as GPT-Red does. OpenAI is careful to note that humans still catch things its attacker misses, which is the kind of reassurance that lands a little differently right after you have read the 84-to-13 line.

Key Takeaways

  • Self-play red-teaming works: GPT-Red trains as the attacker while defender models learn to resist, so hardening becomes a loop that never stops instead of a one-time gate.
  • 84% versus 13%: on identical scenarios, GPT-Red found working prompt-injection attacks 84% of the time to human red-teamers' 13%.
  • It found a new attack: the fake chain of thought, spoofing a model's own reasoning scratchpad, was discovered by GPT-Red before humans named it.
  • Real hardening gains: attacks that beat GPT-5 over 90% of the time now succeed under 23% on GPT-5.6, and the fake-CoT class dropped from over 95% to under 10%.
  • Honest limits: GPT-Red is weak on multi-turn conversational attacks and image-based injections, and humans still catch what it misses.
  • Dual-use reality: the same technique that hardens defenders is a blueprint for automated attackers, so assume prompt injection stays a live threat model for anything you ship.

Sources: OpenAI, MIT Technology Review, StartupHub.ai, AI Weekly

AIOpenAIsecurityprompt injectionred teamingGPT-5.6agentsself-play
CONSOLE
$