TRANSMISSION // 2611.31424v1
When Benign Chat History Becomes Attack Material
Source published
ContextLure tests whether attackers can reuse details from ordinary AI-agent conversations to make later prompt injections more persuasive. Benchmark results indicate a risk, but do not show how often it occurs in real-world use.

Conversation history helps AI agents keep track of tasks. But could an attacker who can read that history use its details to persuade an agent to take an unauthorized action later? A new preprint tests this scenario in benchmark environments.
The security risk in an ordinary conversation
AI agents can use tools and retain context to carry tasks across multiple steps. That history may include a user’s preferences, a failed task, an outstanding request or an operational constraint. ContextLure, a red-teaming framework described in a preprint, asks whether an attacker could repurpose such details to make a later malicious instruction seem like a reasonable next step.
In the researchers’ scenario, the attacker does not plant an instruction in the earlier conversation or change what was said. Instead, the attacker reads a benign interaction and later places one malicious message in an untrusted source, such as a webpage, email or tool response. The message cites something from the conversation to justify an action the user did not authorize.
A record that a task failed, for example, might be used to make an unauthorized follow-up sound necessary. The detail could be genuine; that does not make the requested action legitimate. The study focuses on the gap between information being true and permission being granted.
How the researchers tested the idea
ContextLure breaks attack construction into stages. It identifies possible evidence in a conversation and selects one item. The paper groups evidence into six types: events, operational context, preferences, relationships, task status and the user’s goal. The attacker knows its fixed malicious objective while selecting evidence.
The framework then builds a single message connecting the chosen detail to that objective. The researchers tested different ways of framing the request, including as important, time-sensitive or critical. They evaluated the resulting attacks using AgentDojo and InjecAgent, benchmarks for testing prompt injections against tool-using agents. They also examined agents’ stated reasons for rejecting attacks; such explanations describe what a model said, but do not prove why it behaved as it did.
The conversations were simulated, text-only interactions constructed from task-oriented dialogue scenarios and frozen before the attack was created. The attacker could not edit earlier turns, and each case involved one later injection, not repeated attempts within that case.
What the results show—and what they don’t
In the paper’s model-level AgentDojo results, ContextLure had an attack success rate (ASR) of 33.8% for Qwen3.5-27B, compared with 20.3% for the benchmark method on that same model. These are model-specific results, not an overall estimate across the evaluated models. ASR is the share of evaluated attacks that met the benchmark’s malicious-goal criterion; it does not indicate the share of real users or conversations likely to be successfully attacked.
For InjecAgent, the authors report an overall ASR of 87.3%. This comes from a separate benchmark and should not be compared directly with the AgentDojo figure. Results also varied with evidence selection, message framing and test condition. In matched AgentDojo comparisons, time-sensitive framing produced the largest reported overall gain over a low-impact reference. Individual model-and-policy results are not universal estimates.
The researchers tested five defenses in AgentDojo. For the combined evidence-selection-and-rewriting condition, ASR ranged from 6.2% with a prompt-injection detector to 27.6% with data delimiting, compared with 44.6% without a defense. These are point estimates; the paper does not provide cell-level denominators or confidence intervals for those defense results. They describe these tests, not proven performance in deployed systems.
Important limits
The results show that benign conversation details can serve as attack material under the tested conditions. They do not establish how often attackers can access conversation histories, or how the method would perform with natural human conversations, multimodal memory or real-world, stateful tool use. The authors identify the synthetic, text-only interactions as a limitation and say their findings do not identify one definitive mechanism behind the agents’ behavior.
The paper is labeled a preprint, so its findings should be treated as provisional, not as peer-reviewed conclusions. Benchmark performance also cannot establish what would happen across all agents, tasks or defenses.
The authors argue that provenance—being able to trace a detail to its source—is not the same as authorization. They recommend checking proposed actions against the user’s task and permissions, limiting tool access, and seeking confirmation for high-impact actions. These are design recommendations; the paper does not demonstrate that the proposed authorization controls have been validated in production.
- AI agents
- prompt injection
- AI security
- conversation history
- red teaming
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Why more AI attacks don’t always make agents safer
Source published
Shared keywords: ai agents, ai security, prompt injection, red teaming
When an AI Agent’s Safety Checks Become Part of the Attack
Source published
Shared keywords: ai agents, ai security, prompt injection, red teaming
When malicious text sounds like an AI’s own reasoning
Source published
Shared keywords: ai agents, ai security, prompt injection
When an AI Defense Learns to Refuse Too Much
Source published
Shared keywords: ai agents, ai security, prompt injection
How Should AI Agents Keep Their Permissions as They Change?
Source published
Shared keywords: ai agents, ai security, prompt injection