The Research Report
AttackEval: Mapping Which Prompt Injections Actually Work
A systematic taxonomy of 250 attack prompts reveals that obfuscation and emotional manipulation bypass intent-aware defenses at alarming rates—and composite attacks reach 97.6% success.
Prompt injection is the top vulnerability in LLM deployments according to OWASP, yet the research landscape is lopsided: dozens of defense papers, very few systematic studies of what makes an attack effective. AttackEval (arXiv:2604.03598) flips that lens. Instead of asking "how do we defend?", it asks "what actually breaks through, and why?" The answers are uncomfortable.
The Gap AttackEval Fills
Most prompt injection research operates ad hoc. A researcher crafts a few attack prompts, tests them against a target, reports success rates, and draws conclusions. The problem: those conclusions don't generalize. An attack that works against one defense tier may fail against another. An attack that works against one model may not transfer. Without a systematic framework, the field accumulates anecdotes, not knowledge.
AttackEval provides that framework. It introduces a structured taxonomy of prompt injection attacks, populates each category with carefully crafted prompts, and evaluates all of them under a consistent, progressively hardened defense setup. The result is a map of attack effectiveness that reveals both expected patterns and genuinely surprising blind spots.
Taxonomy: Ten Attack Categories, Three Groups
The authors organize prompt injection attacks into three parent groups, each capturing a different mechanism of action:
Syntactic attacks exploit structural or formatting tricks to evade detection. This category includes Obfuscation (OBF), where attack payloads are encoded or transformed to bypass keyword filters, and Context Overflow (CO), which buries malicious instructions in lengthy context to dilute defensive signals.
Contextual attacks manipulate the surrounding prompt environment. Subcategories include Prompt Prefix Injection (PPI), where attacker text is placed before the system prompt; Prompt Suffix Injection (PSI), appended after it; and Context Switching (CS), which attempts to redirect the model into a different operational mode.
Semantic/Social attacks exploit natural language understanding and social dynamics. This is the most diverse group: Emotional Manipulation (EM) uses appeals to empathy or urgency; Reward Framing (RF) reframes the attack as a beneficial or correct action; Role Play (RP) instructs the model to adopt a persona that overrides safety constraints; Instruction Induction (II) embeds directives within seemingly innocuous content; and Authority Impersonation (AI) invokes fake credentials or hierarchical pressure.
Each category is populated with 25 carefully crafted prompts, yielding 250 total attack instances. This is not a scrape-and-dump dataset; the prompts are designed to represent the core mechanism of each category while varying surface features.
Methodology: Four Defense Tiers
The evaluation uses a simulated production victim system with four progressively stronger defense tiers:
- No defense — the raw LLM with only its system prompt.
- Keyword-based filtering — checks for known attack phrases.
- Structural anomaly detection — flags prompts with unusual formatting or structure.
- Intent-aware semantic defense — uses a secondary model to assess whether user input attempts to override system instructions.
This progression matters because it lets us see not just whether an attack works, but where it breaks down. An attack that succeeds against keyword filtering but fails against semantic analysis tells a different story than one that sails through all four tiers.
Key Findings
The results challenge several assumptions in the field.
Obfuscation is the single most effective attack category. OBF achieves an attack success rate (ASR) of 0.76 even against intent-aware defenses—the strongest tier tested. This is striking because obfuscation is often dismissed as a naïve technique. The reason it works: encoded payloads defeat keyword matching by construction, and the obfuscated surface is sufficiently dissimilar to known attack semantics that similarity checks also fail. It's a dual-evasion strategy that neither structural nor semantic defenses catch reliably.
Semantic/Social attacks persist against semantic defenses. Emotional Manipulation and Reward Framing maintain ASRs of 0.44–0.48 against the intent-aware tier. The explanation is instructive: these attacks are written in natural, grammatical language. There are no structural anomalies to detect, and the semantic content—while manipulative—doesn't cleanly match override patterns. The defense model sees a plausible request, not an attack.
Composite attacks are devastating. Combining two complementary strategies yields dramatic ASR boosts. The OBF + EM pair reaches 97.6% success. Obfuscation handles the structural evasion; emotional manipulation handles the semantic evasion. Together, they cover each other's blind spots. This isn't additive; it's multiplicative.
Stealth correlates with residual effectiveness. The authors find a positive correlation (r = 0.71) between an attack's stealth—how similar it looks to benign input—and its success rate against semantic defenses. This implies that current behavioral defenses are largely relying on surface-level signals. Attacks that look normal act normal, and the defense has no way to distinguish them.
Implications for AI Security
AttackEval's findings carry several actionable implications:
- Intent-aware defenses are not enough. The field has been moving toward semantic analysis as the gold standard for injection defense. AttackEval shows that semantic defenses remain vulnerable to attacks that maintain a natural language surface—particularly social engineering variants. Defense design needs to go beyond semantic similarity.
- Defense evaluation must include composite attacks. Testing against individual attack categories systematically overestimates defense robustness. Real adversaries will combine strategies. The 97.6% ASR for OBF + EM against all tested defenses demonstrates that single-attack evaluation is insufficient.
- Obfuscation deserves more attention. Despite being considered a basic technique, obfuscation achieves the highest single-category ASR against the strongest defenses. Defenses that rely on readable input are fundamentally fragile.
- Stealth is the key metric. The correlation between stealth and residual ASR suggests that future defenses must jointly optimize for structural anomaly detection and behavioral outcome monitoring. It's not enough to check what the input looks like; we need to track what the model actually does in response.
What Comes Next
AttackEval is a measurement framework, not a defense. But measurement is a prerequisite for progress. By providing a consistent taxonomy, prompt set, and evaluation protocol, the paper gives the community a shared language for comparing attacks and defenses on equal footing. The findings also point directly at where defense research should focus: composite attack resilience, obfuscation-hardened filters, and behavioral monitoring that goes beyond surface semantics.
The uncomfortable takeaway: current defenses have more blind spots than most practitioners assume. AttackEval maps them with precision.
Source: Wang, M. et al., "A Systematic Empirical Study of Prompt Injection Attack Effectiveness Against Large Language Models," arXiv:2604.03598, April 2026.