Benchmark Almanac

Coding prompt injections

GPT-5.1-Codex-Max 100% leads since Nov 2025 Only in system cards

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 Aug 2025 Jailbreaks and prompt injection Tasks kept private Last in a system card Nov 2025 Last model added Nov 2025
Level
Expert Specialists with years of training, often over hours of work
Scored
Graded by a model A language model scores each response, usually against a rubric.
Answers
Agent task Many steps in a terminal, browser, desktop, app, game or robot.
4
Models scored in lab cards
4
System cards report it, from 1 lab

GPT-5.1-Codex-Max leads with 100% among models released by Nov 2025

Best score per model as labs report them in their own cards. Labs pick their own settings, so these compare less cleanly than independent runs.

The newest model with a score here came out in Nov 2025, and nobody has reported a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:

  1. 1 GPT-5.1-Codex-Max 100%
  2. 2 codex-1 98%
  3. 3 GPT-5-Codex 98%
  4. 4 GPT-5 97%
#ModelScoreSettingDateSource
1 GPT-5.1-Codex-Max 100% Nov 2025 Model card
2 codex-1 98% May 2025 Model card
3 GPT-5-Codex 98% Sep 2025 Model card
4 GPT-5 97% Aug 2025 Model card

2 models have held number one since its release in Aug 2025

Lab claims count from the day the card came out, independent runs from the model’s release.

OpenAI
Lab claims Passed 85% in Aug 2025, by codex-1

The best score passed 85% in May 2025

All the scores we have, one dot each, so a model tested at several settings appears more than once.

Reported by the lab in its model card Best so far
0% 20% 40% 60% 80% 100% 2025 2026 Near the ceiling (85%) GPT-5.1-Codex-Max codex-1 0% 20% 40% 60% 80% 100% 2025 2026 Near the ceiling (85%) GPT-5.1-Codex-Max

Labs report it only in system cards

We read the headline results of 479 launch posts from 51 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.

DateDocumentScoreAs the document writes itSection
18 Nov 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
15 Sep 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
7 Aug 2025 GPT-5 system card 97 Coding prompt injections (Table 7) Robustness
16 May 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

All 444 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%
  • AgentDojo In use Agents do tool-use tasks while tools and data carry prompt injections. Attack success rate counts hijacked runs. Grok 4 Fast 0%
  • MASK In use Measures whether a model contradicts its own elicited beliefs under pressure to lie. Honesty separated from accuracy. Muse Spark Open 98.1%
  • 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. GPT-6 Astra 8.50%
  • Agentic misalignment suite (Anthropic) In use Agents in simulated company settings face threats or goal conflicts that invite blackmail, leaking or sabotage. Score is the misaligned action rate. Claude Sonnet 4.5 0%