Rethinking Indirect Prompt Injection as a Test-Time Search Problem
Duong M. Nguyen, Joon Sik Kim, Blazej Manczak, Vaikkunth Mugunthan
Abstract
We formulate indirect prompt injection as a test-time search over a task-dependent attack surface induced by the environment, user task, and injection task. To operationalize this formulation, we introduce an agentic attacker with a dedicated search harness that performs environment reconnaissance, structured reasoning over attack strategies, and adaptive evaluation using victim-agent feedback. Across heterogeneous tasks, we find that increasing attacker test-time compute improves vulnerability discovery and exploitation, while ablations show that explicit strategy management is important for avoiding redundant search and sustaining gains at larger budgets. These results suggest that agentic security evaluations should characterize both the attacker's search procedure and compute budget, rather than treating attack success as a budget-independent property of the victim. More broadly, our findings identify the attacker's adaptive search over the system attack surfaces as an important and underexplored security risk for tool-using agents.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.CR
Related papers
ContextLure: Exploiting Benign Conversation History for Indirect Prompt Injection
Shared title terminologycs.AIYi Han, Zhen Sun, Zhijie Deng et al.
A Removal Based Approach to Improve LLM Faithfulness at Test-Time
Shared title terminologycs.AIQinglan Luo, S M A Nahian, John Guttag et al.
Efficient Test-Time Adaptation through Human-Agent Interaction
Shared title terminologycs.AIZora Zhiruo Wang, Apurva Gandhi, Rulin Shao et al.
A Prompt-Engineering Approach to Develop Scalable, Flexible, and Real-Time Hybrid Micro-Level Personalization in a General Purpose AI Teaching Assistant
Shared title terminologycs.AISaptarshi Basu, Sandeep Kakar, Ashok Goel
From Rule-based to Agentic: LLM Agent based Real-time Control of Urban Drainage Systems for Flooding and Sewer Overflow Mitigation
Shared title terminologycs.AIWenchong Tian, Shixun Li, Ruozhou Lin et al.
CAPE: Coordinating Calibration and Search for Tool-Use Policies
Shared title terminologycs.AIJiahao Wang, Xiaoxuan Chen, Aijun Yang et al.