AI Security
Large-Scale Prompt Injection Dataset Reveals Vulnerabilities Even in Hardened AI Models
Researchers release a new benchmark of over 200,000 real-world attack prompts, showing that popular language models remain susceptible to indirect injection attacks despite defensive measures.
A new benchmark exposes significant gaps in how well modern AI models resist indirect prompt injection attacks—a type of security vulnerability where malicious instructions embedded in untrusted sources can cause language models to execute unauthorized actions.
The Scale of the Problem#
Researchers have released LLMail-Inject, a large-scale evaluation dataset containing over 208,000 distinct adversarial prompts. Unlike previous security benchmarks that relied on small, template-based attack sets (typically 100–1,000 examples), this new dataset was compiled through a public red-teaming challenge that attracted 839 participants, capturing the diversity and adaptive nature of realistic attacks.
The benchmark doesn't simply test whether a model can spot a malicious prompt in isolation. Instead, it evaluates the full attack chain: prompts must be successfully retrieved from an email database, bypass production-level defensive mechanisms, and ultimately trigger unauthorized tool invocations with the correct parameters.
Widespread Vulnerability Across Models#
The findings are sobering. Even models specifically trained to defend against injection attacks show marked exposure. Meta's SecAlign—designed explicitly to mitigate prompt injection—still fell victim to attacks 32% of the time. OpenAI's GPT-4o registered a 58% attack success rate, while GPT-4 mini achieved 47%. These figures represent substantial increases compared to performance on older, smaller benchmarks, suggesting that existing evaluations significantly underestimate real-world risk.
Cross-Domain Threats#
Attack effectiveness extends beyond email scenarios. The researchers demonstrated that successful injection techniques transfer to other domains: proof-of-concept coding tasks saw 37% attack success rates, while file management operations ranged from 28% to 45% success rates.
Advancing Defenses#
The researchers have made their evaluation platform, curated subsets at varying difficulty levels, and the full annotated dataset available to the broader research community, providing a foundation for developing more robust defenses against this evolving threat.
