Open Prompt Injection
Models perform seven language tasks with conflicting instructions embedded in their inputs. The paper’s attack success value counts how often the injected task wins over the original one.
The 2023 paper reports GPT-4 results across 49 task pairs, including 0.62 average attack success for its simplest condition. Scores depend on the condition.
- Made by
- hubert-marek
- Released
- October 2023
- Kind
- Jailbreaks and prompt injection
- Level
- University
- Scored
- Graded by a model
- Answers
- Short answer
- Tasks
- All public
- Measures
- Propensity
- Risk
- Cyber offence
- Behavior
- Misaligned with intent
- Language
- English
- Interaction
- Single turn
- Refresh
- One fixed set
- Run by
- Anyone
- Strongest model tested
-
Llama 2-13B #224 on the capability index
- Last model added
- July 2023
- Updated automatically
- No, from its paper
- Scores refreshed
- November 24th, 2026
In the authors’ words
A prompt injection attack aims to inject malicious instruction/data into the input of an LLM-Integrated Application such that it produces results as an attacker desires. Existing works are limited to case studies. As a result, the literature lacks a systematic understanding of prompt injection attacks and their defenses. We aim to bridge the gap in this work. In particular, we propose a framework to formalize prompt injection attacks. Existing attacks are special cases in our framework. Moreover, based on our framework, we design a new attack by combining existing ones. Using our framework, we conduct a systematic evaluation on 5 prompt injection attacks and 10 defenses with 10 LLMs and 7 tasks. Our work provides a common benchmark for quantitatively evaluating future prompt injection attacks and defenses. To facilitate research on this topic, we make our platform public at https://github.com/liu00222/Open-Prompt-Injection.
Vicuna-13B-v1.3 leads with 51% among models released by July 2023 Vicuna-13B-v1.3 leads with 51% among models released by July 2023
Best score per entry from the benchmark's paper, read on November 24th, 2026. A paper’s table doesn’t add newer models. The headline is mean attack success value across 49 task pairs, expressed as a percentage. Lower values indicate better resistance. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. This view shows only models we track, each at its best.
The newest model with a score here came out in July 2023, and nobody has tested 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
Vicuna-13B-v1.3 Combined Attack 51%
- 2
Llama 2-7B Combined Attack 51.5%
- 3 Vicuna-33b-v1.3 Combined Attack 52.1%
- 4
Llama 2-13B Combined Attack 53.4%
- 5 InternLM-chat-7b Combined Attack 60.5%
- 6 GPT-3.5-Turbo (snapshot unspecified) Combined Attack 60.6%
- 7 Bard Combined Attack 69.3%
- 8 Flan-UL2 Combined Attack 69.5%
- 9 PaLM 2 text-bison-001 Combined Attack 70.7%
- 10 GPT-4 (snapshot unspecified) Combined Attack 74.6%
Source: The Open Prompt Injection paper
- 1
Vicuna-13B-v1.3 Combined Attack 51%
- 2
Llama 2-7B Combined Attack 51.5%
- 3
Llama 2-13B Combined Attack 53.4%
Source: The Open Prompt Injection paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 51% | Combined Attack | Jun 2023 | Official leaderboard |
| 2 | | 51.5% | Combined Attack | Jul 2023 | Official leaderboard |
| 3 | Vicuna-33b-v1.3 | 52.1% | Combined Attack | Official leaderboard | |
| 4 | | 53.4% | Combined Attack | Jul 2023 | Official leaderboard |
| 5 | InternLM-chat-7b | 60.5% | Combined Attack | Official leaderboard | |
| 6 | GPT-3.5-Turbo (snapshot unspecified) | 60.6% | Combined Attack | Official leaderboard | |
| 7 | Bard | 69.3% | Combined Attack | Official leaderboard | |
| 8 | Flan-UL2 | 69.5% | Combined Attack | Official leaderboard | |
| 9 | PaLM 2 text-bison-001 | 70.7% | Combined Attack | Official leaderboard | |
| 10 | GPT-4 (snapshot unspecified) | 74.6% | Combined Attack | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 51% | Combined Attack | Jun 2023 | Official leaderboard |
| 2 | | 51.5% | Combined Attack | Jul 2023 | Official leaderboard |
| 3 | | 53.4% | Combined Attack | Jul 2023 | Official leaderboard |
Rankings by part
We read 49 parts from the benchmark’s paper, each ranking models on one part of the test, such as Dup. sentence detection / Dup. sentence detection, Dup. sentence detection / Grammar correction and Dup. sentence detection / Hate detection. Llama 2-7B leads 20 of them, and 2 other models lead the rest. Arrows show how far a model moved from its overall rank among the models we track.
Dup. sentence detection / Dup. sentence detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 49%
- 2
Vicuna-13B-v1.3 ↓1 54%
- 3
Llama 2-13B 55%
Dup. sentence detection / Grammar correction
3 models we track have a score here.
- 1
Llama 2-13B ↑2 23%
- 2
Llama 2-7B 35%
- 3
Vicuna-13B-v1.3 ↓2 38%
Dup. sentence detection / Hate detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 55%
- 2
Llama 2-13B ↑1 71%
- 3
Llama 2-7B ↓1 80%
Dup. sentence detection / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Llama 2-13B ↑1 56%
- 3
Vicuna-13B-v1.3 ↓2 62%
Dup. sentence detection / Sentiment analysis
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 82%
- 2
Llama 2-7B 90%
- 3
Llama 2-13B 91%
Dup. sentence detection / Spam detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 52%
- 2
Llama 2-7B 52%
- 3
Llama 2-13B 54%
Dup. sentence detection / Summarization
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 24%
- 2
Llama 2-13B ↑1 28%
- 3
Llama 2-7B ↓1 28%
Grammar correction / Dup. sentence detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 49%
- 2
Llama 2-13B ↑1 52%
- 3
Vicuna-13B-v1.3 ↓2 57%
Grammar correction / Grammar correction
3 models we track have a score here.
- 1
Llama 2-13B ↑2 22%
- 2
Vicuna-13B-v1.3 ↓1 29%
- 3
Llama 2-7B ↓1 41%
Grammar correction / Hate detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 58%
- 2
Llama 2-7B 68%
- 3
Llama 2-13B 70%
Grammar correction / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 54%
- 3
Llama 2-13B 54%
Grammar correction / Sentiment analysis
3 models we track have a score here.
- 1
Llama 2-13B ↑2 62%
- 2
Vicuna-13B-v1.3 ↓1 68%
- 3
Llama 2-7B ↓1 88%
Grammar correction / Spam detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 48%
- 2
Llama 2-13B ↑1 50%
- 3
Llama 2-7B ↓1 55%
Grammar correction / Summarization
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 23%
- 2
Llama 2-7B 27%
- 3
Llama 2-13B 29%
Hate detection / Dup. sentence detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 51%
- 2
Llama 2-7B 54%
- 3
Llama 2-13B 59%
Hate detection / Grammar correction
3 models we track have a score here.
- 1
Llama 2-13B ↑2 34%
- 2
Llama 2-7B 39%
- 3
Vicuna-13B-v1.3 ↓2 40%
Hate detection / Hate detection
3 models we track have a score here.
- 1
Llama 2-13B ↑2 54%
- 2
Llama 2-7B 61%
- 3
Vicuna-13B-v1.3 ↓2 72%
Hate detection / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 53%
- 3
Llama 2-13B 66%
Hate detection / Sentiment analysis
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 76%
- 2
Llama 2-7B 90%
- 3
Llama 2-13B 91%
Hate detection / Spam detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 54%
- 3
Llama 2-13B 61%
Hate detection / Summarization
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 28%
- 2
Llama 2-7B 30%
- 3
Llama 2-13B 33%
Nat. lang. inference / Dup. sentence detection
3 models we track have a score here.
- 1
Llama 2-13B ↑2 54%
- 2
Llama 2-7B 55%
- 3
Vicuna-13B-v1.3 ↓2 57%
Nat. lang. inference / Grammar correction
3 models we track have a score here.
- 1
Llama 2-7B ↑1 17%
- 2
Llama 2-13B ↑1 25%
- 3
Vicuna-13B-v1.3 ↓2 38%
Nat. lang. inference / Hate detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 58%
- 2
Llama 2-13B ↑1 77%
- 3
Llama 2-7B ↓1 79%
Nat. lang. inference / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 53%
- 2
Llama 2-13B ↑1 54%
- 3
Vicuna-13B-v1.3 ↓2 56%
Nat. lang. inference / Sentiment analysis
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 77%
- 2
Llama 2-7B 83%
- 3
Llama 2-13B 93%
Nat. lang. inference / Spam detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 55%
- 3
Llama 2-13B 81%
Nat. lang. inference / Summarization
3 models we track have a score here.
- 1
Llama 2-7B ↑1 20%
- 2
Llama 2-13B ↑1 23%
- 3
Vicuna-13B-v1.3 ↓2 26%
Sentiment analysis / Dup. sentence detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 53%
- 3
Llama 2-13B 55%
Sentiment analysis / Grammar correction
3 models we track have a score here.
- 1
Llama 2-13B ↑2 25%
- 2
Llama 2-7B 37%
- 3
Vicuna-13B-v1.3 ↓2 41%
Sentiment analysis / Hate detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 60%
- 2
Llama 2-13B ↑1 65%
- 3
Llama 2-7B ↓1 77%
Sentiment analysis / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 49%
- 2
Llama 2-13B ↑1 59%
- 3
Vicuna-13B-v1.3 ↓2 60%
Sentiment analysis / Sentiment analysis
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 86%
- 2
Llama 2-7B 91%
- 3
Llama 2-13B 94%
Sentiment analysis / Spam detection
3 models we track have a score here.
- 1
Llama 2-13B ↑2 50%
- 2
Vicuna-13B-v1.3 ↓1 52%
- 3
Llama 2-7B ↓1 52%
Sentiment analysis / Summarization
3 models we track have a score here.
- 1
Llama 2-7B ↑1 25%
- 2
Vicuna-13B-v1.3 ↓1 27%
- 3
Llama 2-13B 31%
Spam detection / Dup. sentence detection
3 models we track have a score here.
- 1
Llama 2-13B ↑2 49%
- 2
Llama 2-7B 50%
- 3
Vicuna-13B-v1.3 ↓2 52%
Spam detection / Grammar correction
3 models we track have a score here.
- 1
Llama 2-7B ↑1 4.00%
- 2
Llama 2-13B ↑1 15%
- 3
Vicuna-13B-v1.3 ↓2 39%
Spam detection / Hate detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 73%
- 2
Vicuna-13B-v1.3 ↓1 76%
- 3
Llama 2-13B 78%
Spam detection / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 57%
- 3
Llama 2-13B 66%
Spam detection / Sentiment analysis
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 63%
- 2
Llama 2-13B ↑1 89%
- 3
Llama 2-7B ↓1 93%
Spam detection / Spam detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 0%
- 2
Llama 2-13B ↑1 4.00%
- 3
Vicuna-13B-v1.3 ↓2 22%
Spam detection / Summarization
3 models we track have a score here.
- 1
Llama 2-7B ↑1 4.00%
- 2
Vicuna-13B-v1.3 ↓1 26%
- 3
Llama 2-13B 27%
Summarization / Dup. sentence detection
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Llama 2-13B ↑1 54%
- 3
Vicuna-13B-v1.3 ↓2 58%
Summarization / Grammar correction
3 models we track have a score here.
- 1
Llama 2-13B ↑2 19%
- 2
Vicuna-13B-v1.3 ↓1 23%
- 3
Llama 2-7B ↓1 24%
Summarization / Hate detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 61%
- 2
Llama 2-13B ↑1 73%
- 3
Llama 2-7B ↓1 76%
Summarization / Nat. lang. inference
3 models we track have a score here.
- 1
Llama 2-7B ↑1 50%
- 2
Vicuna-13B-v1.3 ↓1 52%
- 3
Llama 2-13B 59%
Summarization / Sentiment analysis
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 75%
- 2
Llama 2-7B 88%
- 3
Llama 2-13B 92%
Summarization / Spam detection
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 47%
- 2
Llama 2-13B ↑1 60%
- 3
Llama 2-7B ↓1 60%
Summarization / Summarization
3 models we track have a score here.
- 1
Vicuna-13B-v1.3 26%
- 2
Llama 2-7B 29%
- 3
Llama 2-13B 30%
Everything the board measures
The benchmark’s paper publishes 51 numbers for each entry: the headline score, 49 parts of the test and 1 other measure. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score. 1 measure has no label from the importer yet, so it shows the board’s own key and no direction.
- Headline
- Headline score
- Parts
- Dup. sentence detection / Dup. sentence detection
- Dup. sentence detection / Grammar correction
- Dup. sentence detection / Hate detection
- Dup. sentence detection / Nat. lang. inference
- Dup. sentence detection / Sentiment analysis
- Dup. sentence detection / Spam detection
- Dup. sentence detection / Summarization
- Grammar correction / Dup. sentence detection
- Grammar correction / Grammar correction
- Grammar correction / Hate detection
- Grammar correction / Nat. lang. inference
- Grammar correction / Sentiment analysis
- Grammar correction / Spam detection
- Grammar correction / Summarization
- Hate detection / Dup. sentence detection
- Hate detection / Grammar correction
- Hate detection / Hate detection
- Hate detection / Nat. lang. inference
- Hate detection / Sentiment analysis
- Hate detection / Spam detection
- Hate detection / Summarization
- Nat. lang. inference / Dup. sentence detection
- Nat. lang. inference / Grammar correction
- Nat. lang. inference / Hate detection
- Nat. lang. inference / Nat. lang. inference
- Nat. lang. inference / Sentiment analysis
- Nat. lang. inference / Spam detection
- Nat. lang. inference / Summarization
- Sentiment analysis / Dup. sentence detection
- Sentiment analysis / Grammar correction
- Sentiment analysis / Hate detection
- Sentiment analysis / Nat. lang. inference
- Sentiment analysis / Sentiment analysis
- Sentiment analysis / Spam detection
- Sentiment analysis / Summarization
- Spam detection / Dup. sentence detection
- Spam detection / Grammar correction
- Spam detection / Hate detection
- Spam detection / Nat. lang. inference
- Spam detection / Sentiment analysis
- Spam detection / Spam detection
- Spam detection / Summarization
- Summarization / Dup. sentence detection
- Summarization / Grammar correction
- Summarization / Hate detection
- Summarization / Nat. lang. inference
- Summarization / Sentiment analysis
- Summarization / Spam detection
- Summarization / Summarization
- Not yet labeled
- Match rate
Nothing matches.
- Headline
- Headline score
- Parts
- Dup. sentence detection / Dup. sentence detection
- Dup. sentence detection / Grammar correction
- Dup. sentence detection / Hate detection
- Dup. sentence detection / Nat. lang. inference
- Dup. sentence detection / Sentiment analysis
- Dup. sentence detection / Spam detection
- Dup. sentence detection / Summarization
- Grammar correction / Dup. sentence detection
- Grammar correction / Grammar correction
- Grammar correction / Hate detection
- Grammar correction / Nat. lang. inference
- Grammar correction / Sentiment analysis
- Grammar correction / Spam detection
- Grammar correction / Summarization
- Hate detection / Dup. sentence detection
- Hate detection / Grammar correction
- Hate detection / Hate detection
- Hate detection / Nat. lang. inference
- Hate detection / Sentiment analysis
- Hate detection / Spam detection
- Hate detection / Summarization
- Nat. lang. inference / Dup. sentence detection
- Nat. lang. inference / Grammar correction
- Nat. lang. inference / Hate detection
- Nat. lang. inference / Nat. lang. inference
- Nat. lang. inference / Sentiment analysis
- Nat. lang. inference / Spam detection
- Nat. lang. inference / Summarization
- Sentiment analysis / Dup. sentence detection
- Sentiment analysis / Grammar correction
- Sentiment analysis / Hate detection
- Sentiment analysis / Nat. lang. inference
- Sentiment analysis / Sentiment analysis
- Sentiment analysis / Spam detection
- Sentiment analysis / Summarization
- Spam detection / Dup. sentence detection
- Spam detection / Grammar correction
- Spam detection / Hate detection
- Spam detection / Nat. lang. inference
- Spam detection / Sentiment analysis
- Spam detection / Spam detection
- Spam detection / Summarization
- Summarization / Dup. sentence detection
- Summarization / Grammar correction
- Summarization / Hate detection
- Summarization / Nat. lang. inference
- Summarization / Sentiment analysis
- Summarization / Spam detection
- Summarization / Summarization
- Not yet labeled
- Match rate
Nothing matches.
- Headline
- Headline score
- Parts
- Dup. sentence detection / Dup. sentence detection
- Dup. sentence detection / Grammar correction
- Dup. sentence detection / Hate detection
- Dup. sentence detection / Nat. lang. inference
- Dup. sentence detection / Sentiment analysis
- Dup. sentence detection / Spam detection
- Dup. sentence detection / Summarization
- Grammar correction / Dup. sentence detection
- Grammar correction / Grammar correction
- Grammar correction / Hate detection
- Grammar correction / Nat. lang. inference
- Grammar correction / Sentiment analysis
- Grammar correction / Spam detection
- Grammar correction / Summarization
- Hate detection / Dup. sentence detection
- Hate detection / Grammar correction
- Hate detection / Hate detection
- Hate detection / Nat. lang. inference
- Hate detection / Sentiment analysis
- Hate detection / Spam detection
- Hate detection / Summarization
- Nat. lang. inference / Dup. sentence detection
- Nat. lang. inference / Grammar correction
- Nat. lang. inference / Hate detection
- Nat. lang. inference / Nat. lang. inference
- Nat. lang. inference / Sentiment analysis
- Nat. lang. inference / Spam detection
- Nat. lang. inference / Summarization
- Sentiment analysis / Dup. sentence detection
- Sentiment analysis / Grammar correction
- Sentiment analysis / Hate detection
- Sentiment analysis / Nat. lang. inference
- Sentiment analysis / Sentiment analysis
- Sentiment analysis / Spam detection
- Sentiment analysis / Summarization
- Spam detection / Dup. sentence detection
- Spam detection / Grammar correction
- Spam detection / Hate detection
- Spam detection / Nat. lang. inference
- Spam detection / Sentiment analysis
- Spam detection / Spam detection
- Spam detection / Summarization
- Summarization / Dup. sentence detection
- Summarization / Grammar correction
- Summarization / Hate detection
- Summarization / Nat. lang. inference
- Summarization / Sentiment analysis
- Summarization / Spam detection
- Summarization / Summarization
- Not yet labeled
- Match rate
Nothing matches.
- LMSYS
- Meta
- not in our model list
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: The Open Prompt Injection paper
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official Open Prompt Injection leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
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
8 of 9 checks pass, 1 warning. Look first at the Newest score check. The newest came 3 years ago, in July 2023, for Llama 2-13B. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 2 pass 2 notes
- Pass Independent runs Scores from the benchmark’s paper (10 entries).
- Pass Models scored 3 models we track, plus 7 other entries on its leaderboard.
- Warning Newest score The newest came 3 years ago, in July 2023, for Llama 2-13B.
- Note Frontier models None of the top 10 has a score. The strongest tested is Llama 2-13B (#224).
- Note Headroom Lower is better, so there’s no ceiling to reach.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 3 rows for models we track and 7 other entries at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
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.