arXiv AI

Defending against Adaptive Prompt Injection Attacks via Reasoning-enabled Task Alignment

arXiv:2606. 15441v1 Announce Type: cross Abstract: Indirect prompt injection attacks hijack LLM-based agents by embedding malicious instructions in third-party data that the agent retrieves during task execution.

Hugging Face Trending Papers
Jun 13

Defending against Adaptive Prompt Injection Attacks via Reasoning-enabled Task Alignment

Indirect prompt injection attacks hijack LLM-based agents by embedding malicious instructions in third-party data that the agent retrieves during task execution. Existing defenses report near-zero attack success rate on static benchmarks, yet recent adaptive evaluations show that these results collapse once the attacker is allowed to optimize against the deployed defense.

arXiv Machine Learning
Sep 16

CoER: Defending against Adaptive Indirect Prompt Injection via Adversarial Co-Evolution and Refinement

The paper introduces CoER, a framework that defends language‑model agents against adaptive indirect prompt injection (IPI) by employing attacker‑defender co‑evolution and refinement. CoER models IPI as a general‑sum Markov game, uses Co‑PPO to maintain historical opponent populations, and fine‑tunes defenders only on verified safe demonstrations. In experiments across seven domains, CoER cuts attack success from 38.5% to 0.2% while boosting task utility from 63.2% to 76.3%.

By Boyang Zhang, Qingxin Xiao, Lingwei Dang, Qingyao Wu
arXiv AI
4d ago

PIPETTE: Prompt Injection Purple-Teaming for Robust LLM Agents

PIPETTE is a prompt injection purple‑teaming framework designed to improve the robustness of large language model agents against indirect prompt injection attacks. It addresses the shortcomings of existing RL‑based red‑teaming methods, which often suffer from mode collapse and fail to provide diverse attack strategies for effective adversarial training. By using a dictionary‑learning reward to encourage diverse attacks and an on‑policy adversarial training pipeline, PIPETTE yields defenders that achieve near‑zero attack success rates while preserving legitimate task performance.

By Lipeng He, Yihan Wang, Jiawen Zhang, N. Asokan
arXiv AI
Sep 16

Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks

The paper proposes universal, tool‑based defenses for large language model agents that use external tools, addressing four types of adversarial attacks: direct and indirect prompt injection, memory poisoning, and backdoor attacks. Two main defenses are introduced: Attacker Tool Filtering, which uses anomaly detection to remove suspicious tools, and Normal Tool Recalling, which restores the agent’s original toolset before planning. The authors also add prompt‑based defenses such as Chain‑of‑Thought prompting and self‑reflection, and demonstrate that these methods dramatically lower attack success rates—often to 0%—across multiple open‑source and proprietary LLMs while maintaining or improving task performance.

By Xiaoyan Li, Yunli Wang
Hugging Face Trending Papers
Nov 9

Scaling Adaptive Prompt Injection Attacks with Agent Swarms

The paper discusses the ongoing threat of prompt injection attacks on AI agents, noting that early simple attacks have plateaued but new, more capable adversaries can still succeed. It introduces a synthetic evaluation dataset that uses random non‑malicious actions as adversarial goals to test whether models respect instruction hierarchy independently of security knowledge. Experiments show that even agents considered robust on existing benchmarks can be tricked by advanced attackers, indicating that current defenses may need proactive, automated red‑teaming.

arXiv AI
Oct 12

LLMail-Inject: A Dataset from a Realistic Adaptive Prompt Injection Challenge

LLMail-Inject is a large-scale benchmark comprising 208,095 human-written prompt injection attacks gathered from a public red‑teaming challenge with 839 participants. The dataset tests the full attack chain—retrieving prompts from an email database, bypassing production defenses, and triggering unauthorized tool calls with correct arguments. Evaluation shows that models performing well on smaller benchmarks struggle on LLMail-Inject, with GPT‑4o achieving 58% attack success and Meta SecAlign 32%.

By Sahar Abdelnabi, Aideen Fay, Ahmed Salem, Egor Zverev, Kai-Chieh Liao, Chi-Huang Liu, Chun-Chih Kuo, Jannis Weigend, Danyael Manlangit, Alex Apostolov, Haris Umair, Jo\~ao Donato, Masayuki Kawakita, Athar Mahboob, Tran Huu Bach, Tsun-Han Chiang, Myeongjin Cho, Hajin Choi, Byeonghyeon Kim, Hyeonjin Lee, Benjamin Pannell, Conor McCauley, Mark Russinovich, Andrew Paverd, Giovanni Cherubin
Hugging Face Trending Papers
Jun 2

RogueMerge: Robust and Unified Attacks against LLM Model Merging

Model merging composes specialized capabilities into a single LLM by aggregating task vectors sourced from unverified public platforms, exposing a critical supply-chain attack surface: Because any malicious behavior can be encoded into a task vector, and merging grants third-party vectors direct write access to model weights, an attacker-provided task vector can enable or amplify diverse downstream threats. Prior work studies only backdoor attacks against model merging for classifiers using static arithmetic heuristics, which fail to effectively handle diverse attacks on generative LLMs for three reasons.