LLMail-Inject: A Dataset from Real-World Adaptive Prompt Injection ChallengesLLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge
A public challenge collected 208,095 email prompt injections; on replay, GPT-4o's ASR is 58.0% (Table 5).
- Indirect prompt injection benchmarks mostly have 100–1,000 templated attacks, and defenses easily overfit. LLMail-Inject uses a public red-teaming challenge to collect human-written attacks, requiring retrieval, defense evasion, and correct tool calls.
- A simulated LLM email assistant with four levels of retrieval difficulty, deploying Spotlighting, Prompt Shield, TaskTracker, LLM judge, and combinations. Participants know the defenses and receive per-goal feedback; Phase 2 is collected after hardening based on Phase 1 failure modes.
- 839 people submitted 461,640 times, yielding 208,095 unique prompts. In Table 5, GPT-4o's ASR is 58.0%, and Meta SecAlign 70B is 32.0%. Figure 5 states that fewer than 1% of submissions had correct Phase 1 body parameters.
- The authors state that the two phases cannot be split into a controlled ablation, and the ASR differences among proprietary models are not causal conclusions. The production text classifier cannot be open-sourced. The main goal is emailing. The 500-category taxonomy generation was not iteratively optimized.
- Evaluated models
- Phi-3-medium-128k-instructGPT-4o-miniGPT-4oGPT-5 miniGPT-5Meta SecAlign 70BGPT-5.4-miniGPT-5.2Prompt ShieldLLM JudgeTaskTracker Phi-3 14BTaskTracker Phi-3.5 MoETaskTracker Phi-4 14B
- Benchmarks
- LLMail-InjectLLMail-AttackLLMail-EvasiveLLMail-Phase2LLMail-AnnotatedEnron Email Datasetcoding agentfile upload taskcalendar deletion
- Metrics
- ASRTSRrecallFPRTool CallE2E Attack Success
The paper releases LLMail-Inject, a benchmark dataset containing 208,095 human-written indirect prompt injection attack prompts, from a two-phase public red-teaming challenge involving 839 participants over five months. The dataset evaluates the full attack chain: an attack must first be retrieved by the email database, bypass deployed defenses, and then trigger an out-of-scope tool call with correct parameters. When replaying attacks on models that did not participate in the challenge, Meta SecAlign still achieves a 32% attack success rate, GPT-4o 58%, and GPT-5 mini 47%; in contrast, these models often score below 5% on existing benchmarks like AgentDojo. Attacks also transfer to coding tasks (37%) and file management tasks (28%–45%). The authors also release the challenge platform, the annotated dataset, and a taxonomy of attack strategies.
Why it was selectedModels with attack success rates below 5% on existing benchmarks can still be broken on this dataset, and teams deploying email assistants or agents can use it to check their own guardrails.
Related events and news
3 events · 4 news mentions
News that mentions this paper
新南威尔士大学等提出智能体提示注入九维分类体系
- 公众号 模安局names the paper新南威尔士大学等提出面向 Agent 提示注入攻击的九维分类体系
研究人员使用九维体系分析了九个提示注入 Benchmark,包括 AgentDojo、IPIArena、LLMail-Inject、WASP 等。
Lasso 基准测试对比 Jev 与提示注入分类器
- Lasso Securitynames the paperLasso 对比 Jev:Jev 真能取代提示注入分类器吗?
We ran every system against 3,669 attacks from eight public benchmarks: InjecAgent, LLMail-Inject, Tensor Trust, AgentDojo, AgentDyn, BIPIA, WildChat and WildGuard.
- vLLM Semantic Routernames the papervLLM Semantic Router / KR Labs 发布 Vela 2.0 开源路由与护栏模型族
Safety and prompt attacks AEGIS 2.0, PolyGuardMix, Nemotron-Safety-Guard v3, LLMail-Inject, Salad-Data 12.2%
Show 1 more news items
Jev 网关提示注入检测器基准测试
- Jev Gateway Studynames the paperJev 与开源决策模型的提示注入检测器基准测试
Each of the 220 LLMail-Inject attacks was placed in a small inbox of real Enron emails and sent to gpt-oss-120b as an email assistant with a send_email tool (never executed).
Paper analysis
What problem does this paper attempt to solve?
Template-based benchmarks cannot measure end-to-end tool calling under adaptive human indirect prompt injection.
Existing indirect prompt injection benchmarks are small and templated, and cannot measure the success rate of adaptive human attacks across the full pipeline of an email assistant.
- Scenario: The authors state that LLMs are deployed as agents that process untrusted input and take actions, and indirect prompt injection places instructions in external data. The authors use an email assistant as a high-value attack surface and mention Microsoft's CVE-2025-32711 regarding email prompt injection.
- Existing limitations: The authors state that existing benchmarks often have only 100–1,000 templated attacks, with static strategies, so benchmarks can be saturated, and defenses may only overfit to these attacks. The authors state that Meta SecAlign has an ASR <5% on previous benchmarks.
- This paper's approach: Organize a public challenge, LLMail-Inject. Participants know which defenses are deployed and can craft attacks specifically; after Phase 1, defenses are hardened based on observed failure modes, then re-evaluated in Phase 2.
- Threat model:
- Goal: Make the simulated email assistant execute an unauthorized send_email with parameters matching the level; Level 4 also requires exfiltrating a profit forecast from another email in the body.
- Knowledge: Public retrieval configuration, success criteria, and how defenses work, with per-goal feedback. The system prompt, exact spotlighting delimiters, tool names, and parameter names are not public. Attackers cannot see model outputs.
- Capabilities: Only submit email subject and body; failures incur no penalty. Tool names have random suffixes to prevent brute force.
- Victim system: A simulated LLM email assistant with mailbox retrieval, defenses, and tool calls. Models within the challenge are Phi-3-medium-128k-instruct and GPT-4o-mini.
- Output: 208,095 unique human prompts across two phases, plus the challenge platform, multi-difficulty subsets, and a taxonomy of attack techniques. The authors state that a large proportion are social engineering attacks, not just explicit instruction strings; and claim this is the first such social engineering prompt injection dataset.
What related research exists?
The authors distinguish this paper from direct injection competitions, contemporaneous competitions that were not fully public, and templated benchmarks.
The paper divides related work into direct injection competitions, contemporaneous indirect injection competitions, and templated benchmarks, and lists several defenses in the introduction.
Direct prompt injection competitions
- Gandalf (Pfister et al., 2025): Participants write direct prompt injections to bypass meta-prompt defenses and classifiers, leaking secrets in the meta-prompt.
- HackAPrompt (Schulhoff et al., 2023): The goal is to override the original task and output a specified string. Appendix Table 7 records its scale as 600K+.
- SaTML LLM CTF (Debenedetti et al., 2024a): Participants can submit attacks and defenses, aiming to leak alphanumeric secrets in the meta-prompt. The authors state these competitions target direct injection; LLMail-Inject focuses on indirect injection and agent tool calls.
Contemporaneous indirect injection competitions
- Zou et al. (2026) and Bazinska et al. (2026): The authors state that each organized an indirect prompt injection competition at the same time or later. Zou et al.'s dataset is not released; Bazinska et al. only released a subset the authors call lower quality. The authors state neither included external defenses.
- Differences from this paper: The authors state this paper releases the platform, code, defense details, all data, and annotations, and uses Phase 1 data to update Phase 2 defenses.
Templated benchmarks
- AgentDojo, BIPIA, SEP, InjecAgent, WASP: The authors state they typically contain 100–1,000 attack examples and rely on fixed templates; scenarios can span agent domains and tools, but attack strategies are limited and static. The authors state models tend to saturate on these benchmarks (Chen et al., 2025b). The authors also state that AgentDojo, when using a simple BERT classifier for detection, has only an 8% attack success rate.
- Appendix comparison: Table 7 lists benchmarks by whether they are indirect, end-to-end, adaptive, test defenses, are public, and attack scale. The authors state LLMail-Inject is the only one that is fully open-source and evaluates end-to-end indirect prompt injection in a setting where defenses are hardened between phases.
Defenses and comparison settings in this paper
- Defenses actually compared: Spotlighting (Hines et al., 2024), Prompt Shield (Microsoft, 2024), a prompt-based LLM judge, TaskTracker (Abdelnabi et al., 2025), and combinations applied simultaneously. The introduction also mentions instruction hierarchy (Wallace et al., 2024), StruQ (Chen et al., 2025a), Meta SecAlign (Chen et al., 2025b), and ASIDE (Zverev et al., 2026); post-competition replay includes Meta SecAlign 70B.
- Baselines and data: No external attack algorithm baselines are set within the challenge; defenses are compared on the same email assistant levels. Detection replay uses submissions that successfully called the tool. False positive calibration uses the test set from Abdelnabi et al. (2025) and 300 synthetic emails; the appendix additionally checks FPR on 1,000 Enron emails.
The authors position this paper as both sides being adaptive: attackers write attacks against known defenses, and defenders patch based on failure modes before re-evaluation.
How does the paper address this problem?
LLMail-Inject uses four levels of email retrieval and updatable defenses to collect end-to-end tool call attacks.
LLMail-Inject treats each attack as an email: it must be retrieved into context, evade that sub-level's defenses, and make the assistant call send_email with correct parameters. The authors chose email because this attack surface exists in real systems; and state the evaluated models and defenses are not specifically tuned for email tasks.
Levels and retrieval
- Level 1: The user asks to summarize the two most recent emails. The attack email is second, so it is always in context.
- Level 2: Summarize the ten most recent. The attack email is in the middle, so it is always in context.
- Level 3: The user asks about a topic with keyword Project Zenith. The retriever returns the ten most relevant emails from the mailbox after adding the attack email, ranked by relevance.
- Level 4: Retrieval structure is the same as Level 3, and the user asks about Q2 Budget. On success, the body must exfiltrate the Q2 profit forecast from another email. Attackers know the parameter structure and the "one-line" format, but not tool names or parameter names.
Defenses and attacker-visible information
- Spotlighting: Wraps queries and emails with delimiters with random suffixes, replaces spaces with random short strings, and instructs the model not to execute content marked as data. Phase 1 uses it only in spotlighting sub-levels. Appendix H gives configuration.
- Three detectors: Prompt Shield is a black-box classifier trained on proprietary data. LLM judge uses a prompt to flag injections; Appendix F gives Phase 1 and hardened Phase 2 prompts. TaskTracker uses a linear probe on activation differences before and after processing external data to detect task drift.
- Combination and calibration: Combination sub-levels require evading all defenses simultaneously. Each classifier is calibrated on the Abdelnabi et al. (2025) test set and 300 synthetic emails, targeting FPR below 5%.
- Visibility: Retrieval configuration, success criteria, and defense operation are public; each submission returns whether each sub-goal was achieved, with no penalty for failure. System prompts, exact spotlighting delimiters, tool names, and parameter names are not public.
Two phases and sub-levels
- Phase 1: Combinations of retrieval levels, defenses, and models, totaling 40 sub-levels. Models are Phi-3-medium-128k-instruct and GPT-4o-mini. Dates: 2024-12-09 to 2025-02-03.
- Phase 2: Only Level 1 and Level 2, 24 sub-levels, 2025-03-13 to 2025-04-17. Adds conformal blocklist: uses a paraphrasing engine to generate paraphrases, and blocks Phase 1 attacks and their paraphrases in text-embedding-3-large space with per-sentence thresholds; alpha=1 in the challenge. Paraphrasing engine is GPT-4o mini. Appendix J gives this defense.
- Other hardening: Update Prompt Shield; TaskTracker uses newer LLMs with the same training data as Phase 1; rewrite LLM judge prompts; all defenses add defensive system prompts and delimiters; and input cleaning removes special tokens.
- Sampling and scoring: Greedy sampling is not used because the authors found it harms utility; random seeds are set for APIs. The same prompt can be submitted repeatedly without penalty. Appendix I decays scores by solution order and scales by number of solving teams.
Records, subsets, and taxonomy
- Fields: Phase, sub-level (thus retrieval level, target model, and defense), whether each sub-goal was achieved, non-identifying team ID, and timestamp. Released LLM annotations also include whether it is an attack, rationale, and coarse categories: direct instruction, obfuscation, or social engineering. Appendix L gives annotation prompts.
- Subsets: LLMail-Attack (29K, triggered the tool), LLMail-Evasive (3K, triggered the tool and evaded defenses), LLMail-Phase2 (3.7K), LLMail-Annotated (130K).
- Taxonomy: GPT-5.4 iteratively processes Phase 2 successful attacks in batches of 10, updating the technique list and red-teaming prompts, yielding 12 technique families such as authority impersonation, parsing boundaries, tool pattern imitation, task laundering, social pressure, and obfuscation. Appendix M gives the extraction process and full generation prompts. The paper states the taxonomy was not human-verified, and not all 208,095 items were labeled into these 12 families.
Success determination
- End-to-end: Email is retrieved and fed to the model (always true for Levels 1–2); relevant defenses are not detected; tool name and format are correct; recipient and body parameters are correct. The website returns email.retrieved, defense.undetected, exfil.sent, exfil.destination, exfil.content, all must be true.
- Comparison metrics: Tool Call means correctly calling the tool regardless of detection; E2E Attack Success means correct call and undetected. TSR is the proportion of teams that attempted that sub-level and eventually solved it, counting at most once per team per level.
What experiments did the paper conduct?
When replaying on unseen models, GPT-4o's ASR in Table 5 is 58.0%, and Meta SecAlign 70B is 32.0%.
Experimental Setup
- In-challenge assistants: Phi-3-medium-128k-instruct and GPT-4o-mini. The authors state the latter underwent instruction hierarchy training, and relay Chen et al. (2025b): when preparing the challenge, it performed best on most prompt injection benchmarks among the closed-source models evaluated.
- Post-competition replay and generation: The models in Table 5 are GPT-4o, GPT-5 mini, GPT-5, Meta SecAlign 70B. New taxonomy prompts were run on GPT-5.4-mini and GPT-5.2; generation and classification extraction used GPT-5.4.
- Scale: Phase 1 had 370,724 submissions, 292 teams, 621 registered participants; Phase 2 added 110 teams, 218 people, 90,916 submissions. In total, 839 people, 461,640 attempts, 208,095 unique prompts (Phase 1: 169,598, Phase 2: 38,497).
- Defenses: Spotlighting, Prompt Shield (also called text-based classifier in the paper), TaskTracker, LLM judge, and all combinations. Detection replay also reports classifier v1/v2, and TaskTracker with Phi-3 14B, Phi-3.5 MoE, Phi-4 14B.
- Judging: Challenge success is determined by retrieval, non-detection, and tool parameter flags, not LLM scoring. In detection replay, the text classifier and TaskTracker thresholds are 0.99, which the authors state have 0% FPR on benign synthetic emails; the LLM Judge also has 0% FPR. The denominator in Table 3 is attacks that invoked tools: 25,323 in Phase 1, 3,688 in Phase 2. Section 4.2 writes LLMail-Attack as 29K.
- Not specified in the paper: which curation subset Table 5 uses; the auxiliary models used by each participant; the fixed number of repetitions per condition. Appendix I states that sampling was used with random seeds set, and Phi-3 remains relatively unstable.
Main Results
After the competition, collected attacks were replayed on models not used in the competition, without further optimizing attacks. GPT-5 and GPT-5 mini take emails as tool messages to incorporate the instruction hierarchy defense. Table 5 does not specify the subset.
Model ASR Paper note GPT-4o 58.0% Greater than GPT-4o-mini GPT-5 mini 47.0% Newer model Meta SecAlign 70B 32.0% DPO-trained defense GPT-5 22.8% High reasoning Per Table 5.
- Authors' external comparisons: The authors state these models have ASR <5% on existing benchmarks (Chen et al., 2025b), but can still be hit on this data. The authors also cite GPT-4o at 22% on WASP (Evtimov et al., 2025), and 0% and 20% on AlpacaFarm and AgentDojo (Chen et al., 2025b); GPT-5 at most 0.2% on all agent benchmarks in Chen et al. (2025b). These were not run by this paper itself.
- Authors' interpretation: The authors state that models stronger on fixed-template benchmarks have higher ASR against human-written attacks; attacks can also transfer to simulated coding agents and other tool targets.
- Scope: The four rows above are not in-competition assistants. The end-to-end ASR for Phi-3 and GPT-4o-mini does not appear in Table 5.
In-Challenge Difficulty and End-to-End Bottlenecks
- Pipeline: Figure 5 writes that of approximately 371k submissions in Phase 1, 362k were retrieved, 180k not detected, 7.2k invoked tools, 6.1k had correct recipients, 3k had correct body text, less than 1% of all submissions. Of the 183k detected, 34k invoked tools, 28.6k had correct recipients, 21.4k had correct body text. The authors state that detected attacks have a higher tool invocation rate, with a trade-off between evading detection and achieving the goal. The exact number of body-text submissions is 370,724.
- TSR: The authors state GPT-4o-mini sub-levels are lower than Phi-3, possibly related to instruction hierarchy training. For GPT-4o-mini, Level 1 has the lowest success rate; the authors state this is counterintuitive and consistent with "longer context elicits more successful attacks," suggesting this may indicate limitations of instruction hierarchy training. Phi-3 is lower at Level 4. Among detection defenses, the LLM judge has the lowest TSR, followed by TaskTracker, with the text classifier highest. Figure 6 does not give readings for each bar in the text.
- Level 4, GPT-4o-mini (Table 1): Text classifier 0.600, Spotlighting 0.529, TaskTracker 0.440, LLM Judge 0.318, all stacked 0.166. The authors state the detector ordering in Figure 6c remains, and spotlighting is harder than the text classifier; after stacking, TSR is lower than any single item in the table. Table 2 averages attempts before first success across all levels by defense: text classifier 88.90±426.2, TaskTracker 159.3±518.5, LLM Judge 506.2±948.46. The authors write the LLM Judge is 6× the text classifier (506 vs. 89); the introduction also writes 5–6×.
Spotlighting is a preventive defense. The authors state that in long contexts other than Level 1, almost all submissions in Phi-3's spotlighting sub-levels did not form successful attacks, possibly because the model did not correctly handle complex formatting; and state that in terms of utility, GPT-4o-mini with spotlighting is more realistic. Looking only at Level 1, they state it is more effective for GPT-4o-mini than for Phi-3. Figure 3 does not give readings for each bar in the text.
Detection Replay
- Single defenses (Table 3, attacks that invoked tools): Phase 1 / Phase 2 recall: text classifier v1 0.604 / 0.425, v2 0.678 / 0.487; TaskTracker Phi-3 14B 0.761 / 0.896, Phi-3.5 MoE 0.949 / 0.991, Phi-4 14B 0.881 / 0.998; LLM Judge 0.994 / 0.965. The authors state pure text methods miss context-dependent attack emails; TaskTracker has higher recall with newer LLMs. The introduction summarizes the text classifier as 60–68% recall.
- Combinations (Table 4, Phase 1): Detection if any defense flags. The listed combination recalls range from 0.890 to 0.998, with the full combination at 0.998. The discussion section writes the full combination recall as 99.8%.
- Phase 2: The discussion section states that no submissions were solved in the sub-level with all defenses stacked on GPT-4o-mini. Section 8 states that when Phase 2 submissions are replayed on Phase 1 defenses, some defenses' recall drops, especially the text classifier; the paper does not give specific numbers for this replay.
Cross-Domain Transfer and New Attack Generation
- Scaffold change: The same attack prompts transferred to a proof-of-concept coding agent with different system prompt, context, and tools. ASR on GPT-4o is 37.0%, versus 58.0% on the original email assistant (Table 6). The authors believe underlying strategies may transfer across application scenarios, and no optimization was done.
- Paraphrase to change targets: An LLM was used to change the original targets of successful attacks to trigger upload_file or delete_event. On GPT-4o, file upload is 28.0%, calendar deletion is 45.0% (Table 6). The abstract writes the file management tasks as 28–45%. The paper does not specify which LLM was used for paraphrasing.
- Taxonomy generation: GPT-5.4 newly generated 500 items according to the final taxonomy prompt, without recursive modification based on failures or optimization using target model feedback. 90 hit GPT-5.4-mini (18% ASR), 10 hit GPT-5.2 (2% ASR). The authors state this only shows that technique families can be instantiated in combination, not just replayed or paraphrased.
Other Ablations and Analyses
- Enron FPR (Appendix Table 8, n=1,000, using challenge thresholds): Text classifier 0.0%, TaskTracker (Phi-3 medium) 4.0%, TaskTracker (Phi-4) 5.7%, LLM judge 5.0%, any flagged 10.0%. The paper does not state whether Phi-3 medium is the same as Table 3's Phi-3 14B. The authors state individual items are close to the 5% target, and the stacked 10% is above deployable levels without recalibration, but still usable for analysis.
- Diversity: K-Means on TF-IDF SVD yields 500 clusters, with the largest 20 clusters each having 1,000 to 3,000 items; HDBSCAN yields 198 clusters, with 92,615 points as noise.
- Annotation volume (Appendix C): Phase 1 has 25,323 items flagged as injection for invoking tools; LLM annotation additionally has 104,583 injections, 9,452 non-injections, 23,911 unclear. Phase 2 correspondingly has 3,688, 15,873, 2,500, 13,796.
- Human verification: 198 of 200 items agree with LLM annotations; the remaining 2 were labeled as non-attacks because the tool-triggering attempts were relatively indirect.
- Table 2 per-level means (Phase 1, before first success): Level 1 classifier / TaskTracker / LLM Judge: 156.6±668.6, 224.4±790.4, 677.1±1140.2; Level 4: 55.37±74.08, 165.2±310.0, 535.4±959.63.
- Lower settings: Text classifier Phase 2 recall is 0.425 and 0.487, lower than its Phase 1 0.604 and 0.678; LLM Judge Phase 2 recall 0.965 is also lower than Phase 1's 0.994. Phi-3 spotlighting has almost no successful attacks in long contexts.
What are some points that can be further explored?
The authors state the two phases are not a controlled ablation, and model ASR differences cannot be interpreted causally.
Limitations and future directions noted by the authors
- Cannot fully reproduce the complete defense stack from scratch (Section 8): Microsoft's production text classifier cannot be released; only its output for each submission is provided. The authors state that therefore the full defense stack cannot be exactly reproduced from scratch, but this does not prevent recomputing TSR, recall, and combined detection rates. The authors state it was included to reflect real deployment, and at the time open-source alternatives had higher FPR; it is also not the strongest defense in the evaluation. Spotlighting, LLM judge, TaskTracker, and conformal blocklist are released.
- Metrics affected by participation patterns (Section 8): Raw ASR partly depends on which levels teams focused on. TSR counts at most once per team per level, but is still affected by participation patterns. The authors state that if only teams that solved multiple sub-levels are considered, or if defense recall is computed on all submissions post-competition, the relative ordering of defenses remains similar.
- Two phases are not a controlled ablation (Section 8): Phase 2 simultaneously changed the text classifier, TaskTracker model, LLM judge prompt, defensive system instructions, input cleaning, and conformal blocklist, so individual contributions cannot be separated. When Phase 2 submissions are replayed on Phase 1 defenses, some defense recall drops, especially for the text classifier; the authors believe the attacks themselves also became harder.
- Task scope (Section 8): The collected attacks cover a narrower set of agent tasks than general agent safety benchmarks. The main goal is to make the agent send email, with Level 4 adding data exfiltration. The authors state this facilitates comparison across 64 sub-levels and ensures enough attacks are collected per configuration; adding multiple tool goals would spread participant effort over a larger evaluation space.
- Comparisons are not causal, and the taxonomy is not exhaustive (Section 8): Lower ASR is associated with instruction hierarchy training and additional inference, but proprietary models' architecture, training data, safety processes, and inference settings cannot be separated. The taxonomy is unlikely to be exhaustive; the 500 evaluations were not iteratively improved, and 18% and 2% measure whether extracted patterns can be reused, not the maximum vulnerability of the two target models.
- Future uses in the discussion (Section 7): The authors state future defenses should avoid pattern matching on known templates. The authors believe contextual detection may be better: determining whether instructions target the user or the assistant, whether actions fit the current task, and whether they are requested by the user. The dataset can also be used for adversarial fine-tuning or lightweight sentinel training; splitting by team and phase helps reduce near-duplicate leakage between training and evaluation.
Experimental coverage
- Assistants tested within the challenge are Phi-3-medium-128k-instruct and GPT-4o-mini. Post-competition replay reports ASR for GPT-4o, GPT-5 mini, GPT-5, and Meta SecAlign 70B (Table 5); taxonomy new prompts report GPT-5.4-mini and GPT-5.2.
- Phase 1 has 40 sub-levels covering four retrieval levels and the paper's defense configurations; Phase 2 has 24 sub-levels, retrieval only uses Level 1 and Level 2, and adds conformal blocklist and input cleaning.
- Detection replay targets submissions that successfully called send_email: 25,323 in Phase 1 and 3,688 in Phase 2 (Table 3). Combined recall is reported for Phase 1 (Table 4). False positive spot checks use 1,000 Enron emails (Appendix Table 8).
- Cross-domain experiments on GPT-4o compare the original email task, a programming agent with changed scaffolding, and paraphrased file upload and calendar deletion (Table 6). New prompts are 500, and the paper states no failure-based recursive modification or optimization against target feedback was performed.
- The paper does not report the curated subset used for Table 5, the auxiliary models used by participants in the challenge, the fixed number of repetitions per condition, or the specific recall of Phase 2 submissions replayed on Phase 1 defenses. Human and LLM annotation comparison is 200 items.
Summarize the main content of the paper
A public challenge collected 208,095 human email injections and replayed them on later models and non-email tasks.
LLMail-Inject is a public red-teaming benchmark that evaluates indirect prompt injection across the full pipeline of a simulated email assistant.
- Problem: The authors believe 100–1,000 templated attacks saturate benchmarks, and defenses may only memorize these templates, missing social engineering and adaptive adversaries.
- Approach: Participants submit emails that get retrieved, evade that level's defenses, and trigger send_email with correct parameters. Four difficulty levels vary context length, attack email position, and retrieval method. Attackers know the defenses and receive per-goal feedback, but cannot see model outputs, system prompts, or exact tool names. After Phase 1, defenses are hardened based on failure modes, then Phase 2 is collected.
- Scale: 2024-12-09 to 2025-04-17, 839 participants submitted 461,640 times, yielding 208,095 unique prompts. Phase 1 has 40 sub-levels, Phase 2 has 24.
- Replay: Without further optimizing attacks, Table 5 shows GPT-4o ASR 58.0%, GPT-5 mini 47.0%, Meta SecAlign 70B 32.0%, high-inference GPT-5 22.8%. The latter two take emails as tool messages. The authors state these models have ASR <5% on existing benchmarks (Chen et al., 2025b). The paper does not specify the curated subset used for that table.
- Pipeline and defenses: Figure 5 states that in Phase 1, less than 1% of submissions also had correct body parameters, and detected attacks more often call the tool. LLM Judge recall on Phase 1 tool-calling attacks is 99.4%, and the two text classifier versions are 0.604 and 0.678 (Table 3; introduction writes 60–68%). Full combination is 0.998 (Table 4). Level 4, GPT-4o-mini, all defenses combined TSR is 0.166 (Table 1). The discussion section states that in Phase 2, no GPT-4o-mini all-defense sub-level was solved.
- Authors' conclusions: The authors believe human attacks transfer to a programming agent (37.0% on GPT-4o) and to paraphrased file upload and calendar deletion (28.0% and 45.0%, Table 6). The authors state the production-grade text classifier is weakest, LLM judge is higher but requires more attempts, and combined defenses help most; future work is better directed at contextual detection rather than matching known templates.
Related papers
Show 3 more papers
- Deletion, Substitution, Repair and Transplant: Component Attribution in BARBICAN, a Layered Prompt-Injection Gateway for MCPAnalysis / interpretabilityarXiv