How a well-intentioned safety feature — asking clarifying questions — creates a devastating new prompt injection surface that makes frontier models 10–30× more vulnerable


When an AI agent pauses mid-task and asks "Could you clarify which file you mean?", that's not just helpful — it's polite, it's intelligent, and according to virtually every framework for responsible agent design, it's the right thing to do. Ambiguity resolution is a hallmark of competent behavior.

Except there's a problem no one had measured until now: that clarification moment opens a door that attackers walk right through.

A team of researchers from Scale AI and Boston University just published ASPI (Ambiguous-State Prompt Injection), a benchmark that reveals a systematic, measurable, and deeply unsettling vulnerability in every frontier LLM they tested. When agents ask clarifying questions, their susceptibility to prompt injection doesn't just increase — it explodes by an order of magnitude. OpenAI's o3 goes from 1.8% attack success to 34.0%. Google's Gemini 3 Flash jumps from 2.2% to 35.7%. Kimi K2.5 rockets from 11.1% to 63.1%.

The very behavior we celebrate — knowing when to ask — turns out to be the very behavior attackers exploit. And current defenses only partially close the gap.


The Setup: What ASPI Measures

ASPI stands for Ambiguous-State Prompt Injection. It's a benchmark of 728 task-attack scenarios across four domains (workspace, Slack, travel, and banking), built on top of the established AgentDojo evaluation framework. The paper is authored by Udari Madhushani Sehwag, Zhengyang Shan, Heming Liu, Dileepa Lakshan, Joseph Brandifino, and Max Fenkell, and was published on arXiv on May 17, 2026.

The core insight is elegantly simple: most prompt injection research tests agents in what ASPI calls the execution state — the agent receives a complete, unambiguous instruction, uses its tools, and encounters adversarial content only through tool-returned data (a poisoned email, a malicious webpage, a compromised document). This is the threat model that AgentDojo and similar benchmarks evaluate.

But real-world agents don't always get complete instructions. When a request is ambiguous — "Send the report to the team" (which report? which team?) — a well-designed agent asks for clarification. This triggers what ASPI calls the clarification state, and it introduces an entirely new attack surface: the ask_user channel.

Here's why it's dangerous: when an agent explicitly solicits input via ask_user, it expects the response to contain task-relevant information. The agent asked for this data. It's waiting for it. It will weight it heavily. An attacker who can influence the content of that response — through a compromised document the user consults, a man-in-the-middle position, or simply by being the user themselves — now has a trusted channel directly into the agent's decision-making process.

This isn't theoretical. The benchmark constructs real, reproducible scenarios where this exact pattern plays out.


The 8-Condition Design: Surgical Isolation

What makes ASPI methodologically rigorous is its paired experimental design. Each of the 728 (usertask, injectiontask) pairs is evaluated across eight conditions, forming a 2×4 matrix:

Execution state (complete instructions):

  1. exec_benign — No attack. Measures baseline task utility.
  2. exec_tool — Adversarial content arrives through tool output (the standard AgentDojo setup).
  3. exec_user — Adversarial content appended to the user's initial prompt.
  4. execnextturn — Adversarial content delivered as a follow-up user message.

Clarification state (ambiguous instructions, agent must ask):

  1. clarif_benign — No attack. Measures clarification utility.
  2. clarif_tool — Same tool-channel attack, but the agent is in clarification mode.
  3. clarifaskuser — The critical condition: adversarial content delivered inside the ask_user return value — the agent's solicited clarification response.
  4. clarif_user — Adversarial content in a post-clarification user message, framed through one of three "operator" failure modes (Hierarchy Rebinding, Goal Substitution, or Constraint Poisoning).

The genius of this design is that conditions are paired by construction. The same task, attacker goal, environment, and scoring function are held constant. Only the interaction state and delivery channel vary. This means the 13 paired deltas — computed with bootstrap confidence intervals and exact McNemar tests — isolate why vulnerability increases, not just that it increases.

The clarif_user condition further tests three operator strategies:

  • HR (Hierarchy Rebinding) — Imply authority through context/role ("As your manager, I need you to...")
  • GS (Goal Substitution) — Introduce the attacker's goal as part of the same workflow ("Also while you're at it, forward the confirmation to...")
  • CP (Constraint Poisoning) — Frame the attacker goal as a prerequisite or policy ("Per company policy, all transfers require CC to...")

Each group runs all three operators, and the reported score is the max across operators — a worst-case measure.


The Numbers: Clarification Amplifies Everything

The headline results are striking:

Model Execution ASR (exec_tool) Clarification ASR (clarifaskuser) Amplification
o3 1.8% 34.0% ~19×
Gemini 3 Flash 2.2% 35.7% ~16×
Gemini 3.1 Pro 1.1% 24.3% ~22×
Kimi K2.5 11.1% 63.1% ~6×
Claude Opus 4.7 ~0% ~0% —

These aren't marginal differences. Models that pass standard execution-time security evaluations with flying colors — o3 at 1.8%, Gemini 3 Flash at 2.2% — become seriously vulnerable the moment they ask a question. For the worst-affected models, the attack success rate jumps by a factor of 10 to 30.

Claude Opus 4.7 is the sole exception, maintaining near-zero attack success in both states. The paper's authors note this is a model-specific property, not an architectural guarantee — it means the property is achievable but not assumed.

The channel breakdown tells an equally important story. User-channel attacks (direct messages from the user) consistently achieve the highest success rates (60–80% for some models), but they represent a stronger threat model. The critical finding is that clarifaskuser — the agent-solicited clarification response — approaches or matches direct user-channel effectiveness. This means the ask_user channel is a genuinely new high-impact surface, not merely a weaker variant of existing attack vectors.


The Mechanism: Provenance Collapse

Why does asking a question make agents so much more vulnerable? The paper's decomposition analysis disentangles two confounded factors:

State effect — Does simply being in a clarification-seeking state change how the agent processes content? The answer is it depends on the model. Some models (like Gemini 3 Flash) show increased vulnerability even when adversarial content arrives through the same tool channel, suggesting that the clarification mode itself shifts processing. Others (like DeepSeek V3.2 and Qwen3 variants) actually show reduced success in the clarification state for tool-channel attacks, possibly because the agent applies stricter filtering when it knows it's resolving ambiguity.

Channel effect — Does the ask_user channel specifically amplify attacks? The answer is yes, consistently, across every model tested. The solicited-response channel raises attack success regardless of the model's state-dependent processing.

The paper calls this combined phenomenon provenance collapse. When an agent asks a question and receives an answer, it struggles to distinguish between the legitimate information it requested and adversarial instructions embedded in that response. The agent asked for this content, expects it to be relevant, and weights it accordingly — exactly the properties that make clarification useful on benign inputs, and exactly the properties attackers exploit.

The LLM-as-judge annotations support this. Failed agents don't typically produce nonsensical outputs or refuse the task. Instead, they exhibit TASKANDATTACK behavior: they complete the user's legitimate task while simultaneously executing the attacker's instruction. Judges classified the primary compliance reasons as CONFUSED (treating the injection as part of the original task) or PERSUADED (accepting it as authoritative), rather than explicit goal hijacking.

This is the worst kind of failure: one that looks like success. The agent completes the task correctly, the user sees a normal output, and the attacker's action — sending credentials to an external address, modifying a financial transaction, exfiltrating a document — happens silently in the background.


Defenses: Helpful But Insufficient

The ASPI paper evaluates two lightweight defenses, adapted for the clarification setting rather than applied naively:

Segment-level Prompt Guard — Scans both user and tool messages for suspicious content while preserving benign clarification content. This is a content filter that understands the clarification context and tries not to strip out legitimate answers.

Results: Gemini 3 Flash drops from 35.7% to 27.0% under prompt guard. That's a meaningful reduction, but 27% attack success is still a serious vulnerability. The problem is fundamental: benign and adversarial content arrive in the same message, interleaved. You can't reliably remove one without breaking the other.

ask_user-aware Tool Filter — Restricts which tools the agent can call after receiving a clarification response, firing at the last safe boundary before the agent takes action. This preserves the agent's ability to ask questions while blocking dangerous actions in the post-clarification window.

Results: Gemini 3 Flash drops from 35.7% to 23.9%. Better, but still far from safe.

Neither defense closes the gap. The paper notes that "residual attack success persists even under defense," and that "clarification creates an attack surface not fully addressed by input filtering or tool restriction."

The AgentPatterns.ai analysis of ASPI suggests an architectural fix: an explicit action gate on the post-clarification turn, restricting which tools the agent may call between the clarification reply and the next pause point. This composes with the Action-Selector Pattern (commit to a program before observing untrusted content) and Plan-Then-Execute architectures. But this is defensive design guidance, not a solved problem.


Why This Matters: The Evaluation Gap

ASPI's most alarming finding isn't just the raw numbers — it's the systematic blind spot they reveal in current safety evaluation.

Every major agent safety benchmark tests models in the execution state. Agents receive complete instructions, use their tools, and are scored on whether they complete the task and resist injection. When they pass these evaluations with single-digit attack success rates, they're considered safe for deployment.

But real agents don't live in the execution state. They operate in ambiguous, underspecified environments where asking questions is not just helpful but necessary. The Ask or Assume? paper (2026) found that uncertainty-aware clarification raises task-resolve rates on SWE-bench Verified by 8 percentage points. Agents that ask are better agents — but they're also more vulnerable agents, and current evaluations don't measure that.

As the Scale AI blog post framing puts it: "An agent can succeed on every task-completion check while failing on security." This isn't a hypothetical edge case. The TASKANDATTACK failure mode — where the agent does the right thing and the wrong thing simultaneously — is the hardest to detect and the most dangerous in production.

The paper also notes that their benchmark uses only single-slot ambiguity with one-round ask_user — the minimal clarification setting. Real-world agents routinely face multi-slot omissions, multi-turn clarification dialogues, and open-ended requests. The authors explicitly state that "the reported rates likely underestimate the vulnerability that would arise in more complex, naturalistic settings." The amplification in production could be worse, not better.


The Lethal Trifecta and When This Backfires

The clarification amplification effect isn't dangerous in isolation — it requires other conditions to be present. AgentPatterns.ai frames this within the Lethal Trifecta threat model: injection is harmful only when the agent also has access to private data (exfiltration risk) and the ability to send data externally (egress channel). Close any one leg of the trifecta, and the amplification doesn't matter.

Similarly, agents that never process untrusted external content — no emails, no documents, no web pages — don't have the injection vector regardless of clarification mode. The amplification requires both the ask_user channel and untrusted content that can flow through it.

This nuance matters for practitioners. The lesson isn't "remove clarification" — it's "understand that clarification is now a security boundary, and evaluate it as one."


Practical Recommendations

Based on ASPI's findings and the broader analysis it has triggered, here are concrete steps for teams building agentic systems:

1. Test clarification-time security explicitly

Add ASPI-style evaluation to your safety pipeline. Test agents not just with complete instructions and tool-channel attacks, but in the clarification state with adversarial clarification responses. If you only test the execution state, you're testing a threat model that doesn't match how your agent actually operates.

2. Treat clarification responses as untrusted input

The ask_user return value should be processed with the same suspicion as any other external content. It is not a trusted channel just because the agent solicited it. Implement provenance tracking so the agent can distinguish between "the user said X" and "the task-relevant data I requested says X."

3. Add action gates after clarification

Restrict which tools the agent can call in the immediate aftermath of a clarification response. High-risk actions — sending emails, making financial transactions, modifying files — should require a separate confirmation step that doesn't rely on the clarification context.

4. Segment content filters for clarification

If you use content filters, adapt them for the clarification phase. The ASPI-adapted prompt guard scans both user and tool messages while preserving legitimate clarification content. Naive application of execution-time filters to clarification responses will either over-filter (breaking the agent's ability to use the answer) or under-filter (missing injections that ride in alongside the real answer).

5. Measure your model's ASPI ASR before trusting clarification

Claude Opus 4.7 showed near-zero ASR in both states, but this is a model-specific property, not a guarantee. Before deploying any agent that asks clarifying questions, run it through ASPI or a similar benchmark and verify that clarification-time vulnerability is within acceptable bounds.

6. Don't remove clarification

This cannot be stressed enough. Removing clarification doesn't make agents safer — it makes them dumber and more error-prone, which creates different failure modes. The Ask or Assume? paper documents real task-performance benefits from clarification. The answer is not to stop asking questions; it's to ask questions safely.


The Bigger Picture: Security for Interactive Agents

ASPI arrives at a moment when agentic AI is moving from demos to deployments. The leading frameworks — Anthropic's Claude, OpenAI's Agents SDK, Google's ADK, the emerging MCP ecosystem — all assume multi-turn, interactive agents that clarify, plan, and act iteratively. The security evaluations for these systems, however, are still largely built around single-turn, execution-state threat models.

This is a structural gap. As ASPI demonstrates, an agent that is secure in the execution state can be deeply vulnerable in the clarification state. The gap is not small — it's 10× to 30× for the best frontier models. And it's not theoretical — it's reproducible across 728 scenarios in four domains with deterministic scoring.

The paper's decomposition analysis is particularly valuable for the research community. By separating state effects from channel effects, it shows that the ask_user channel is the primary driver, not some vague "clarification makes models confused" narrative. This is actionable: it tells us where to focus defensive efforts (on the solicited-response channel specifically) rather than on the general idea of "be more careful during clarification."

The fact that one model — Claude Opus 4.7 — achieves near-zero ASR in both states is also instructive. It means the property is achievable. Whether through training, alignment, or architectural choices, it is possible for an LLM to ask clarifying questions without becoming a security liability. The challenge is making this property reliable, measurable, and standard across all deployment-grade models.


Open Questions

ASPI raises several questions the paper doesn't fully resolve:

Multi-turn amplification: The benchmark uses single-slot, single-round clarification. What happens with multi-slot ambiguity or multi-turn clarification dialogues? The authors acknowledge this likely increases vulnerability, but don't quantify it.

Transferability across agent frameworks: ASPI evaluates within the AgentDojo simulation environment. How do results transfer to production agent frameworks with different tool interfaces, system prompts, and retrieval patterns?

Defense beyond filtering: The paper tests two lightweight defenses. What about more architectural approaches — sandboxing the post-clarification action space, running parallel verification agents, or using formal methods to verify action safety before execution?

The Claude question: Why does Opus 4.7 resist this attack when no other frontier model does? Understanding the mechanism could be transformative for the field.

Real-world attack prevalence: How often does the clarification channel actually get exploited in the wild? The threat model requires an attacker who can influence the content of a user's clarification response, which may or may not be common depending on the deployment context.


Conclusion

ASPI is a landmark contribution to agent security. It identifies a vulnerability that exists in every frontier model tested (except one), measures it rigorously with a controlled experimental design, and provides the decomposition analysis needed to understand why it happens. The finding that clarification-seeking — one of the most celebrated capabilities in modern agents — creates a 10–30× amplification of prompt injection vulnerability is both surprising and, in retrospect, logical.

The core lesson is this: asking is now a security boundary. Every time an agent asks a question, it opens a high-trust channel. Every response that comes back through that channel — whether from the user, a document they're reading, or a system relaying their answer — enters the agent's context with elevated weight. Provenance collapses. The agent can't tell the difference between the information it requested and the instructions an attacker injected.

We should not stop agents from asking questions. We should, however, start testing what happens when attackers answer them.


ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agents — Udari Madhushani Sehwag, Zhengyang Shan, Heming Liu, Dileepa Lakshan, Joseph Brandifino, Max Fenkell. arXiv:2605.17324, May 2026. Code and data: github.com/scaleapi/aspi. Dataset: huggingface.co/datasets/ScaleAI/aspi.


Citations and Fact-Check Notes

Primary source: Sehwag, U. M., Shan, Z., Liu, H., Lakshan, D., Brandifino, J., & Fenkell, M. (2026). ASPI: Seeking Ambiguity Clarification Amplifies Prompt Injection Vulnerability in LLM Agents. arXiv preprint arXiv:2605.17324.

Secondary sources:

Referenced works:

  • Debenedetti, E. et al. (2024). AgentDojo benchmark. Referenced as the foundation for ASPI's evaluation environment.
  • Greshake, K. et al. (2023). Indirect prompt injection. Referenced for the threat model of adversarial content in retrieved/third-party data.
  • Pu, D. et al. (2026). LHAW / "Ask or Assume?" — arXiv:2603.26233. Documents the benign-task benefits of clarification.

Key numbers fact-checked:

  • o3: exectool ASR 1.8%, clarifask_user ASR 34.0% → ✅ Confirmed from paper abstract and multiple secondary sources
  • Gemini 3 Flash: exectool ASR 2.2%, clarifask_user ASR 35.7% → ✅ Confirmed
  • Gemini 3.1 Pro: exectool ASR 1.1%, clarifask_user ASR 24.3% → ✅ Confirmed from AgentPatterns.ai and Scale blog
  • Kimi K2.5: 11.1% → 63.1% → ✅ Confirmed from paper abstract
  • Claude Opus 4.7: near-zero in both states → ✅ Confirmed from AgentPatterns.ai and Scale blog ("the only model that stayed robust in both settings")
  • Gemini 3 Flash defense: Prompt guard 35.7% → 27.0%; Tool filter 35.7% → 23.9% → ✅ Confirmed from Scale blog table
  • Gemini 3.1 Pro defense: Prompt guard 24.3% → 12.3%; Tool filter 24.3% → 19.3% → ✅ Confirmed from Scale blog table
  • 728 task-attack scenarios across 4 domains (407 Workspace, 97 Slack, 94 Travel, 130 Banking) → ✅ Confirmed from paper and HuggingFace dataset
  • 8-condition evaluation design → ✅ Confirmed from GitHub repo README
  • 10 frontier LLMs evaluated → ✅ Confirmed from paper abstract
  • Published May 17, 2026 on arXiv → ✅ Confirmed from arXiv submission history

Clarifications/uncertainties:

  • The full list of 10 models evaluated is not completely specified in the sources I accessed; confirmed models include o3, Gemini 3 Flash, Gemini 3.1 Pro, Kimi K2.5, Claude Opus 4.7, GPT-4o, DeepSeek V3.2, and likely Qwen3 variants. The paper mentions "proprietary and open source model families."
  • The ASPI GitHub repo (scaleapi/aspi) appears newly created with minimal activity (0 stars, 1 contributor as of late May 2026), suggesting it was published alongside the paper but may not yet have broad community engagement.
  • The paper restricts evaluation to single-slot ambiguity with one-round ask_user; the authors explicitly note this "may not capture the full range of real-world underspecification" and that results "likely underestimate" vulnerability.