arXiv AI

Divide and Inject: Can Agents Reconstruct an Indirect Prompt Injection from Fragments?

arXiv AI
Oct 28

AgentSentry: Mitigating Indirect Prompt Injection in LLM Agents via Temporal Causal Diagnostics and Context Purification

AgentSentry is an inference‑time defense for tool‑augmented large language model agents that mitigates indirect prompt injection (IPI) attacks. It uses temporal causal diagnostics by performing counterfactual re‑executions at tool‑return boundaries to detect mediator‑sensitive proposals, purifies implicated content, and resumes execution from a sanitized state. Evaluations on AgentDojo show zero successful attacks (ASR = 0%) and an average Utility Under Attack of 76.10%, outperforming baselines while maintaining low false‑positive rates.

By Tian Zhang, Yiwei Xu, Juan Wang, Keyan Guo, Xiaoyang Xu, Bowen Xiao, Quanlong Guan, Jinlin Fan, Jiawei Liu, Zhiquan Liu, Hongxin Hu
arXiv AI
Oct 16

INFUSE: A Unified Surface Benchmark for Indirect Prompt Injection in Agentic Systems

INFUSE is a new benchmark that tests indirect prompt injection (IPI) in large‑language‑model agents performing long‑horizon workflows. It contains 40 realistic tasks and 56 attack scenarios across five threat categories, with attacks injected through realistic interaction surfaces rather than just initial prompts. The study evaluated 19 LLMs, generating over 41,000 adversarial trajectories and found mean attack success rates of 19.6% (LLM evaluation) and 15.4% (heuristic verification), while prompt‑level hardening reduced success from 58.2% to 14.3%.

By Thuy Dung Nguyen, Jingyi Guo, Rana Seda Dubauskas, Sreepriya Damuluru, Taylor T. Johnson, Kevin Leach
arXiv AI
Sep 7

Rethinking Indirect Prompt Injection as a Test-Time Search Problem

The paper redefines indirect prompt injection as a test-time search problem, framing it as exploration over a task-dependent attack surface shaped by the environment, user task, and injection task. It introduces an agentic attacker equipped with a search harness that conducts environment reconnaissance, structured reasoning on attack strategies, and adaptive evaluation using victim-agent feedback. Experiments across diverse tasks show that higher attacker compute leads to better vulnerability discovery, and that managing search strategies is crucial to avoid redundancy and maintain gains at larger budgets.

By Duong M. Nguyen, Joon Sik Kim, Blazej Manczak, Vaikkunth Mugunthan
arXiv Machine Learning
Oct 16

Towards Reliable Context Compression for Long-Horizon Agents: An Empirical Study of Execution Instability

The paper investigates how recurrent context compression affects long‑horizon agents, finding that compression can diminish the impact of recent interactions, leading to more blocked actions, repeated exploration, and run‑to‑run instability. To address this, the authors propose TRACE, a verifier‑guided framework that evaluates individual compression events via paired closed‑loop continuations and optimizes a natural‑language compression prompt while keeping all models frozen. Early experiments on AppWorld demonstrate that TRACE improves task performance, multi‑run reliability, and context‑execution efficiency compared to existing compression baselines.

By Guanghui Min, Liang Wu, Mayank Darbari, Chen Chen, Liangjie Hong