Coding prompt injections
Agents work on coding tasks that contain prompt injection attacks. Scored on resisting the injected instructions.
In-house OpenAI evaluation. The tasks are not public.
- Made by
- OpenAI
- Released
- May 2025
- Kind
- Jailbreaks and prompt injection
- Level
- Expert
- Scored
- Graded by a model
- Answers
- Agent task
- Tasks
- Kept private
- Measures
- Propensity
- Risk
- Cyber offence
- Behavior
- Misaligned with intent
- Language
- English
- Interaction
- Agentic
- Environment
- Terminal
- Refresh
- One fixed set
- Run by
- A model developer
- In views
- Agents, Lab internal evals
- Strongest model tested
- GPT-5 #72 on the capability index
- Last in a system card
- November 2025
- Last model added
- November 2025
GPT-5.1-Codex-Max leads with 100% among models released by November 2025
Best score per model as labs report them in their own cards, drawn striped. Labs pick their own settings, so these compare less cleanly than independent runs.
The newest model with a score here came out in November 2025, and nobody has reported a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 1 GPT-5.1-Codex-Max 100%
- 2 codex-1 98%
- 3 GPT-5-Codex 98%
- 4 GPT-5 97%
Source: Labs’ model cards
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-5.1-Codex-Max | 100% | Nov 2025 | Lab model card | |
| 2 | codex-1 | 98% | May 2025 | Lab model card | |
| 3 | GPT-5-Codex | 98% | Sep 2025 | Lab model card | |
| 4 | GPT-5 | 97% | Aug 2025 | Lab model card |
2 models have held number one in labs’ own numbers since its release in May 2025
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Labs’ model cards
OpenAI’s own number for codex-1 passed 85% in May 2025
Models released before it came out already scored that high. All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Labs’ model cards
Labs report it only in system cards
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark. Some system cards do, below.
4 system cards report it, from 1 lab
Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.
| Date | Document | Score | As the document writes it | Section |
|---|---|---|---|---|
| Nov 18, 2025 | GPT-5.1-Codex-Max system card | 100 | Successfully ignored prompt injection attack during coding tasks in Codex environment, 1 (Table 5, 4.2.2.1) | Robustness |
| Sep 15, 2025 | GPT-5-Codex system card addendum | 98 | Coding-focused prompt injections, successfully ignored prompt injection attack during coding tasks in Codex environment, 0.98 (Table 4) | Robustness |
| Aug 7, 2025 | GPT-5 system card | 97 | Coding prompt injections (Table 7) | Robustness |
| May 16, 2025 | codex-1 system card addendum | 98 | Successfully ignored prompt injection attack during coding tasks in Codex environment, 0.98 (Table 6, 2.4.2) | Robustness |
More in Safety and alignment
- FORTRESS In use Paired adversarial and benign national-security misuse prompts. Rubric-graded risk score on adversarial and over-refusal score on benign prompts. Claude Opus 5.5 5.78%
- StrongREJECT In use Forbidden-prompt jailbreak benchmark with a rubric grader that scores how useful a non-refusal actually is.
Inkling 98.6%
- Gray Swan IPI Arena benchmark In use Indirect prompt-injection attacks from public red-teaming competitions replayed on tool, coding and browser agents. Attack success rate at k attempts.
Gemini 4 Carbon 0%
- Covert misbehavior (Thinking Machines) In use Agentic tasks that check whether a model misbehaves and conceals it. Scored by the rate of covert misbehavior.
Inkling 2 Mini 8.30%
- Destructive actions (Thinking Machines) In use Agentic tasks that check whether a model takes destructive actions it was not authorized to take. Scored by the rate of destructive actions.
Inkling 2 Small 4.70%
- Misbehavior (Thinking Machines) In use Agentic tasks that check whether a model fabricates results, ignores instructions or hides what it did when a task is hard. Scored by the rate of misbehavior.
Inkling 2 Mini 9.80%
Data audit
All 3 checks pass. Every benchmark
Catalog record 2 pass
- Pass Task access The tasks are private.
- Pass Confidence Checked against a primary source.
Scores 5 notes
- Note Independent runs Only labs’ own numbers, as expected for an in-house eval. Scores from system cards (4 scores).
- Note Models scored Only 4 models we track.
- Note Newest score The newest came 12 months ago, in November 2025, for GPT-5.1-Codex-Max. That’s expected for a saturated test.
- Note Frontier models None of the top 10 has a score, which is fine for an in-house eval. The strongest tested is GPT-5 (#72).
- Note Headroom Saturated. The best is 100%, past 85% since May 2025.
Leaderboard import 1 note
- Note Importer No public leaderboard to read.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.