MPIB: A Benchmark for Medical Prompt Injection Attacks and Clinical Safety in LLMs

Junhyeok Lee, Han Jang, Kyu Sung Choi


Abstract
Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) systems are increasingly integrated into clinical workflows. However, prompt injection attacks can steer these systems toward clinically unsafe or misleading outputs. We introduce the Medical Prompt Injection Benchmark (MPIB), a dataset-and-benchmark suite for evaluating clinical safety under both direct prompt injection and indirect, RAG-mediated injection across clinically grounded tasks. MPIB emphasizes outcome-level risk via the Clinical Harm Event Rate (CHER), which measures high-severity clinical harm events under a clinically grounded taxonomy, and reports CHER alongside ASR2 to distinguish moderate-or-worse from high-severity outcomes. The benchmark comprises 9,697 curated instances constructed through multi-stage quality gates and clinical safety linting. Evaluating MPIB across a diverse set of baseline LLMs and defense configurations, we find that ASR2 and CHER3 can diverge substantially, and that observed rates vary depending on whether adversarial instructions appear in the user query or in retrieved context. The MPIB dataset and evaluation code are available on Hugging Face and GitHub, respectively.
Anthology ID:
2026.findings-emnlp.1670
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
35610–35628
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1670/
DOI:
10.18653/2026.findings-emnlp.1670
Bibkey:
Cite (ACL):
Junhyeok Lee, Han Jang, and Kyu Sung Choi. 2026. MPIB: A Benchmark for Medical Prompt Injection Attacks and Clinical Safety in LLMs. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 35610–35628, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
MPIB: A Benchmark for Medical Prompt Injection Attacks and Clinical Safety in LLMs (Lee et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1670.pdf