Researchers demonstrate ContextLure indirect prompt injection reaching 87.3% attack success on InjecAgent
Researchers introduced ContextLure, a red-teaming framework that exploits benign conversation history to strengthen indirect prompt injections against LLM agents. It reports 87.3% attack success on InjecAgent and 67.4% on AgentDojo without poisoning earlier turns. The result highlights a security gap in agents that retain and reuse interaction context.
Researchers introduced ContextLure, a framework in which an attacker silently observes an existing benign conversation, extracts evidence from it, and builds a malicious injection. The method targets LLM agents that use tools and maintain longer interactions, where prior turns may contain task results, user concerns, and operational constraints. The paper says the attack does not require changing earlier benign turns or poisoning the conversation before the injection.
The paper reports 67.4% attack success rate (ASR) on AgentDojo and 87.3% on InjecAgent across evaluated conditions. ContextLure selects evidence along two dimensions, user and system preferences, using three selection policies. It also uses an urgency/priority matrix with four rewriting strategies to turn selected information into a request for unauthorized action. The authors frame the challenge as choosing useful evidence and presenting it as reasons for action without altering prior conversation.
Indirect prompt injection is a class of attacks in which an agent is manipulated by content it encounters while completing a task, rather than by a direct malicious user prompt. The result matters because tool-using agents can connect actions to external systems, and longer interactions create reusable context. The paper does not claim a universal real-world success rate; it measures selected benchmark environments and red-team conditions.
The stakes center on enterprise security and trust in autonomous systems. The paper shows that an attacker can use benign history as leverage without first poisoning it, which shifts the security boundary from new inputs alone to the context an agent carries. It also affects users whose ordinary requests may become attack surface when agents retain memory across sessions. The paper presents a red-team method and benchmark scores, not a disclosed incident or exploit in a named product.
Enterprises and users of AI agents face a wider attack surface because ordinary conversation history can be reused to make malicious requests look justified. The finding points to security controls that must consider retained context, not only new inputs.
Sources (1)
- [1]ContextLure: Exploiting Benign Conversation History for Indirect Prompt Injection(https://arxiv.org/abs/2611.31424)