paper-with-me

Papers

Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attacks

2024-03-06 · Dario Pasquini, Martin Strohmeier, Carmela Troncoso

We introduce a new family of prompt injection attacks, termed Neural Exec. Unlike known attacks that rely on handcrafted strings (e.g., "Ignore previous instructions and..."), we show that it is possible to conceptualize the creation of execution triggers as a differentiable search problem and use learning-based methods to autonomously generate them. Our results demonstrate that a motivated adversary can forge triggers that are not only drastically more effective than current handcrafted ones but also exhibit inherent flexibility in shape, properties, and functionality. In this direction, we show that an attacker can design and generate Neural Execs capable of persisting through multi-stage preprocessing pipelines, such as in the case of Retrieval-Augmented Generation (RAG)-based applications. More critically, our findings show that attackers can produce triggers that deviate markedly in form and shape from any known attack, sidestepping existing blacklist-based detection and sanitation approaches.

📄 PDF Abstract BibTeX arXiv:2403.03792

Code (1)

pasquini-dario/llm_neuralexec 공식 구현 pytorch

Tasks

RAGRetrievalRetrieval-augmented Generation

Similar Papers 제목 키워드 기반

Injection-Execution Dissociation: A Mechanistic Evaluation of Persistent Memory Attacks and Defenses in Stateful LLM Agents

2026-05-08 · Jun Wen Leong arxiv

We discover that prompt-injection success and tool-execution success are separable safety properties: defenses that block injection do not necessarily block execution, and vice versa. We call this the injection-execution…

MUZZLE: Adaptive Agentic Red-Teaming of Web Agents Against Indirect Prompt Injection Attacks

2026-02-09 · Georgios Syros, Evan Rose, Brian Grinstead, Christoph Kerschbaumer 외 arxiv

Large language model (LLM) based web agents are increasingly deployed to automate complex online tasks by directly interacting with web sites and performing actions on users' behalf. While these agents offer powerful cap…

MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents

2025-02-07 · Kaijie Zhu, Xianjun Yang, Jindong Wang, Wenbo Guo 외

Recent research has explored that LLM agents are vulnerable to indirect prompt injection (IPI) attacks, where malicious tasks embedded in tool-retrieved information can redirect the agent to take unauthorized actions. Ex…

LivePI: More Realistic Benchmarking of Agents Against Indirect Prompt Injection

2026-05-18 · Lei Zhao, Abhay Bhaskar, Edgar Dobriban arxiv

AI agents such as OpenClaw are increasingly deployed in local workflows with access to external tools. This creates indirect prompt-injection (IPI) risk: an agent may execute harmful instructions embedded in untrusted in…

Agent Data Injection Attacks are Realistic Threats to AI Agents

2026-07-06 · Woohyuk Choi, Juhee Kim, Taehyun Kang, Jihyeon Jeong 외 arxiv

AI agents act on behalf of user prompts, consuming external data and taking actions based on the agent context. Prior research on AI agent security has primarily focused on indirect prompt injection (IPI). Its most well-…