LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge

Sahar Abdelnabi, Aideen Fay, Ahmed Salem, Egor Zverev, Kai-Chieh Liao +20 more
6/11/2025
cs.CRcs.AI

No official code found. Best implementation: microsoft/llmail-inject-challenge (25 stars, MIT, last commit 2026-04-09). 1 more below.

Abstract

Indirect Prompt Injection attacks exploit the inherent limitation of Large Language Models (LLMs) to distinguish between instructions and data in their inputs. Despite numerous defense proposals, the systematic evaluation against adaptive adversaries remains limited, even when successful attacks can have wide security and privacy implications, and many real-world LLM-based applications remain vulnerable. We present the results of LLMail-Inject, a public challenge simulating a realistic scenario in which participants adaptively attempted to inject malicious instructions into emails in order to trigger unauthorized tool calls in an LLM-based email assistant. The challenge spanned multiple defense strategies, LLM architectures, and retrieval configurations, resulting in a dataset of 208,095 unique attack submissions from 839 participants. We release the challenge code, the full dataset of submissions, and our analysis demonstrating how this data can provide new insights into the instruction-data separation problem. We hope this will serve as a foundation for future research towards practical structural solutions to prompt injection.

View on arXivView PDF

Code Implementations(2)

MIT

Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge

255CSS, VueMay 1, 20256 months agoMIT
llm-securityprompt-injection
MIT

Data Analysis of the results of llmail-inject challenge

111Python, Jupyter NotebookMay 13, 20251 years agoMIT
llmprompt-injection-llm-security

Similar Papers

Cite this paper

@article{abdelnabi2025llmailinject,
  title  = {LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge},
  author = {Sahar Abdelnabi and Aideen Fay and Ahmed Salem and Egor Zverev and Kai-Chieh Liao and Chi-Huang Liu and Chun-Chih Kuo and Jannis Weigend and Danyael Manlangit and Alex Apostolov and Haris Umair and João Donato and Masayuki Kawakita and Athar Mahboob and Tran Huu Bach and Tsun-Han Chiang and Myeongjin Cho and Hajin Choi and Byeonghyeon Kim and Hyeonjin Lee and Benjamin Pannell and Conor McCauley and Mark Russinovich and Andrew Paverd and Giovanni Cherubin},
  year   = {2025},
  eprint = {2506.09956},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.09956v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.09956.svg)](https://codeofpaper.com/paper/2506.09956)

Discussion