Prompt injection attacks span nine dimensions, most benchmarks cover only a small part
Prompt injection attacks vary across nine dimensions and existing benchmarks leave many attack combinations untested
Security & privacy arXiv 3 Nov 2026 Measurement Theory
Published as “The Devil is in the Context: Nine Dimensions of Prompt Injection Attacks”
Why it matters
The taxonomy enables developers to match defenses to specific attack properties and helps researchers design more comprehensive evaluations, reducing false confidence in security claims.
Summary
Most existing prompt-injection benchmarks cover only a narrow slice of the attack space, leaving 13% of pairwise category combinations untested. The authors’ nine-dimensional taxonomy reveals these gaps and, when used to generate targeted test cases, exposes attack success rates up to 20% that the original benchmarks miss. Their automated annotation pipeline and taxonomy-guided case generation show that defenses vary widely in both security (e.g., 2.5%-20% attack success) and utility, indicating that benchmark size alone is a poor proxy for coverage.
What they found 2
- 13% of pairwise category combinations remain untested across existing benchmarks
“13% of pairwise category combinations remain untested”
- Zero attack success on the original benchmark cases for all evaluated configurations
“zero attack success for all evaluated configurations on the selected original cases”
Caveats 3
- Attack success rates on generated cases reach 17.5% without defense and up to 20% with some defenses, showing that defenses are not universally effective despite strong results on original benchmarks.
- We do not claim that the nine dimensions exhaust all possible ways in which prompt injection attacks may differ.
- Our claim is narrower, and we believe more useful.
What’s new here 4
- Introduces a nine-dimensional taxonomy that jointly considers the injected instruction, user task, and system context, unlike prior taxonomies that focus only on the instruction.
- Provides an automated annotation pipeline that combines deterministic rules with an LLM judge to label benchmark samples.
- Demonstrates taxonomy-guided generation of new test cases that fill uncovered regions of the attack space.
- Quantifies benchmark coverage gaps (13% of category pairs untested) and shows how defenses perform on the generated cases.