BIPIA
Models process untrusted external emails, web pages, tables, documents, and code containing hidden adversarial instructions, scored by overall attack success rate across 25 LLMs.
Evaluates indirect prompt injection across Email QA, Web QA, Table QA, Summarization, and Code QA. Lower attack success rate means stronger resistance to indirect injection.
- Made by
- Microsoft Research Asia
- Released
- December 2023
- Kind
- Jailbreaks and prompt injection
- Level
- Everyday
- Scored
- Checked automatically
- Answers
- Open-ended
- Tasks
- All public
- Measures
- Propensity
- Risk
- Cyber offence
- Behavior
- Harmful use
- Language
- English
- Interaction
- Single turn
- Items from
- Another benchmark, Generated
- Refresh
- One fixed set
- Run by
- Anyone
- Strongest model tested
- GPT-4 Jun 2023 #193 on the capability index
- Last model added
- September 2023
- Updated automatically
- No, from its paper
- Scores refreshed
- November 29th, 2026
In the authors’ words
The integration of large language models with external content has enabled applications such as Microsoft Copilot but also introduced vulnerabilities to indirect prompt injection attacks. In these attacks, malicious instructions embedded within external content can manipulate LLM outputs, causing deviations from user expectations. To address this critical yet under-explored issue, we introduce the first benchmark for indirect prompt injection attacks, named BIPIA, to assess the risk of such vulnerabilities. Using BIPIA, we evaluate existing LLMs and find them universally vulnerable. Our analysis identifies two key factors contributing to their success: LLMs' inability to distinguish between informational context and actionable instructions, and their lack of awareness in avoiding the execution of instructions within external content. Based on these findings, we propose two novel defense mechanisms-boundary awareness and explicit reminder-to address these vulnerabilities in both black-box and white-box settings. Extensive experiments demonstrate that our black-box defense provides substantial mitigation, while our white-box defense reduces the attack success rate to near-zero levels, all while preserving the output quality of LLMs. We hope this work inspires further research into securing LLM applications and fostering their safe and reliable use.
ChatGLM-6B leads with 5.32% among models released by September 2023 ChatGLM-6B leads with 5.32% among models released by September 2023
Best score per entry from the benchmark's paper, read on November 29th, 2026. A paper’s table doesn’t add newer models. Weighted overall indirect prompt injection attack success rate (%) across five tasks (Table 2, lower is better). 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 September 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
-
Gemini 4 Neon
- GPT-6.2 Astra
-
Gemini 4 Carbon
- and 16 more
- 1 ChatGLM-6B 5.32%
- 2 RWKV-4-Raven-14B 5.81%
- 3 StableLM-Tuned-Alpaca-7b 6.41%
- 4 chatglm2-6b 7.61%
- 5 WizardLM-13B 7.91%
- 6 WizardLM-70B 7.95%
- 7 Alpaca-13B 7.96%
- 8 Dolly-V2-12B 9.03%
- 9
Mistral 7B v0.1 9.66%
- 10
Code Llama 34B Instruct 10.1%
- 11 Guanaco-33B 10.2%
- 12
FastChat-T5-3B 10.4%
- 13 Vicuna-7B 10.5%
- 14 MPT-7B-Chat 12.9%
- 15 Vicuna-13B 12.9%
- 16 Koala-13B 13.5%
- 17 GPT4All-13B-Snoozy 14.1%
- 18
Llama 2-7B 15%
- 19 OpenAssistant-Pythia-12B 15.5%
- 20 MPT-30B-chat 16%
- 21 Vicuna-33B 16.2%
- 22
Llama 2-13B 16.8%
- 23
Llama 2-70B 18.7%
- 24 GPT-3.5-turbo (snapshot unspecified) 26.2%
- 25 GPT-4 Jun 2023 31%
Source: The BIPIA paper
- 1 ChatGLM-6B 5.32%
- 2 chatglm2-6b 7.61%
- 3
Mistral 7B v0.1 9.66%
- 4
Code Llama 34B Instruct 10.1%
- 5
FastChat-T5-3B 10.4%
- 6
Llama 2-7B 15%
- 7
Llama 2-13B 16.8%
- 8
Llama 2-70B 18.7%
- 9 GPT-4 Jun 2023 31%
Source: The BIPIA paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | ChatGLM-6B | 5.32% | Mar 2023 | Benchmark paper | |
| 2 | RWKV-4-Raven-14B | 5.81% | Benchmark paper | ||
| 3 | StableLM-Tuned-Alpaca-7b | 6.41% | Benchmark paper | ||
| 4 | chatglm2-6b | 7.61% | Jun 2023 | Benchmark paper | |
| 5 | WizardLM-13B | 7.91% | Benchmark paper | ||
| 6 | WizardLM-70B | 7.95% | Benchmark paper | ||
| 7 | Alpaca-13B | 7.96% | Benchmark paper | ||
| 8 | Dolly-V2-12B | 9.03% | Benchmark paper | ||
| 9 | | 9.66% | Sep 2023 | Benchmark paper | |
| 10 | | 10.1% | Aug 2023 | Benchmark paper | |
| 11 | Guanaco-33B | 10.2% | Benchmark paper | ||
| 12 | | 10.4% | Apr 2023 | Benchmark paper | |
| 13 | Vicuna-7B | 10.5% | Benchmark paper | ||
| 14 | MPT-7B-Chat | 12.9% | Benchmark paper | ||
| 15 | Vicuna-13B | 12.9% | Benchmark paper | ||
| 16 | Koala-13B | 13.5% | Benchmark paper | ||
| 17 | GPT4All-13B-Snoozy | 14.1% | Benchmark paper | ||
| 18 | | 15% | Jul 2023 | Benchmark paper | |
| 19 | OpenAssistant-Pythia-12B | 15.5% | Benchmark paper | ||
| 20 | MPT-30B-chat | 16% | Benchmark paper | ||
| 21 | Vicuna-33B | 16.2% | Benchmark paper | ||
| 22 | | 16.8% | Jul 2023 | Benchmark paper | |
| 23 | | 18.7% | Jul 2023 | Benchmark paper | |
| 24 | GPT-3.5-turbo (snapshot unspecified) | 26.2% | Benchmark paper | ||
| 25 | GPT-4 Jun 2023 | 31% | Jun 2023 | Benchmark paper |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | ChatGLM-6B | 5.32% | Mar 2023 | Benchmark paper | |
| 2 | chatglm2-6b | 7.61% | Jun 2023 | Benchmark paper | |
| 3 | | 9.66% | Sep 2023 | Benchmark paper | |
| 4 | | 10.1% | Aug 2023 | Benchmark paper | |
| 5 | | 10.4% | Apr 2023 | Benchmark paper | |
| 6 | | 15% | Jul 2023 | Benchmark paper | |
| 7 | | 16.8% | Jul 2023 | Benchmark paper | |
| 8 | | 18.7% | Jul 2023 | Benchmark paper | |
| 9 | GPT-4 Jun 2023 | 31% | Jun 2023 | Benchmark paper |
Rankings by part
We read 5 parts from the benchmark’s paper in 2 groups: text tasks and code tasks. Each ranks models on one part of the test. ChatGLM-6B leads 3 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.
Email QA
9 models we track have a score here.
- 1 ChatGLM-6B 1.86%
- 2 chatglm2-6b 2.60%
- 3
Code Llama 34B Instruct ↑1 3.08%
- 4
Mistral 7B v0.1 ↓1 5.52%
- 5
FastChat-T5-3B 5.80%
- 6
Llama 2-7B 9.65%
- 7
Llama 2-13B 10.8%
- 8
Llama 2-70B 12.9%
- 9 GPT-4 Jun 2023 15.2%
Web QA
9 models we track have a score here.
- 1 ChatGLM-6B 0.60%
- 2 chatglm2-6b 1.52%
- 3
Code Llama 34B Instruct ↑1 4.49%
- 4
Mistral 7B v0.1 ↓1 5.80%
- 5
FastChat-T5-3B 6.89%
- 6
Llama 2-7B 12.3%
- 7
Llama 2-13B 12.5%
- 8
Llama 2-70B 14.9%
- 9 GPT-4 Jun 2023 27.9%
Table QA
9 models we track have a score here.
- 1 chatglm2-6b ↑1 2.11%
- 2 ChatGLM-6B ↓1 2.66%
- 3
FastChat-T5-3B ↑2 7.61%
- 4
Code Llama 34B Instruct 8.22%
- 5
Mistral 7B v0.1 ↓2 8.70%
- 6
Llama 2-13B ↑1 11.6%
- 7
Llama 2-7B ↓1 11.6%
- 8
Llama 2-70B 20.6%
- 9 GPT-4 Jun 2023 34.7%
Summarization
9 models we track have a score here.
- 1 ChatGLM-6B 6.02%
- 2 chatglm2-6b 14%
- 3
Mistral 7B v0.1 16.3%
- 4
FastChat-T5-3B ↑1 18.3%
- 5
Code Llama 34B Instruct ↓1 20.3%
- 6
Llama 2-70B ↑2 22.4%
- 7
Llama 2-7B ↓1 26.4%
- 8
Llama 2-13B ↓1 30%
- 9 GPT-4 Jun 2023 39.2%
Code QA
9 models we track have a score here.
- 1
Llama 2-7B ↑5 6.71%
- 2
Mistral 7B v0.1 ↑1 10.5%
- 3
Code Llama 34B Instruct ↑1 12.8%
- 4
FastChat-T5-3B ↑1 13.2%
- 5
Llama 2-13B ↑2 14.8%
- 6
Llama 2-70B ↑2 21.7%
- 7 GPT-4 Jun 2023 ↑2 28.6%
- 8 ChatGLM-6B ↓7 30.6%
- 9 chatglm2-6b ↓7 30.6%
Everything the board measures
The benchmark’s paper publishes 6 numbers for each entry: the headline score and 5 parts of the test. 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.
- Headline
- Headline score
- Parts
- Email QA
- Web QA
- Table QA
- Summarization
- Code QA
- Headline
- Headline score
- Parts
- Email QA
- Web QA
- Table QA
- Summarization
- Code QA
- Headline
- Headline score
- Parts
- Email QA
- Web QA
- Table QA
- Summarization
- Code QA
- Z.ai
- LMSYS
- OpenAI
- Meta
- Mistral AI
- 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 BIPIA 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 BIPIA leaderboard
No lab model card reports it yet
We read the headline results of 665 launch posts from 86 labs, and none of them list this benchmark.
More in Safety and alignment
- WebTailBench-Refusals In use Computer-use agents receive 111 harmful browser tasks in seven policy categories, such as illegal activity and misinformation. Scored as the share of tasks safely refused.
Fara1.5-27B 100%
- BBQ (Bias Benchmark for QA) In use Ambiguous and disambiguated questions probing social stereotypes across nine attributes. Reports accuracy and bias scores.
DeepSeek-R1 96.6%
- 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%
- 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%
Data audit
8 of 9 checks pass, 1 warning. Look first at the Newest score check. The newest came 3 years ago, in September 2023, for Mistral 7B v0.1. 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 (25 entries).
- Pass Models scored 9 models we track, plus 16 other entries on its leaderboard.
- Warning Newest score The newest came 3 years ago, in September 2023, for Mistral 7B v0.1.
- Note Frontier models None of the top 10 has a score. The strongest tested is GPT-4 (#193).
- 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: 9 rows for models we track and 16 other entries at the last read.
- Pass Last read November 29th, 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.