paper-with-me

Papers

Maatphor: Automated Variant Analysis for Prompt Injection Attacks

2023-12-12 · Ahmed Salem, Andrew Paverd, Boris Köpf

Prompt injection has emerged as a serious security threat to large language models (LLMs). At present, the current best-practice for defending against newly-discovered prompt injection techniques is to add additional guardrails to the system (e.g., by updating the system prompt or using classifiers on the input and/or output of the model.) However, in the same way that variants of a piece of malware are created to evade anti-virus software, variants of a prompt injection can be created to evade the LLM's guardrails. Ideally, when a new prompt injection technique is discovered, candidate defenses should be tested not only against the successful prompt injection, but also against possible variants. In this work, we present, a tool to assist defenders in performing automated variant analysis of known prompt injection attacks. This involves solving two main challenges: (1) automatically generating variants of a given prompt according, and (2) automatically determining whether a variant was effective based only on the output of the model. This tool can also assist in generating datasets for jailbreak and prompt injection attacks, thus overcoming the scarcity of data in this domain. We evaluate Maatphor on three different types of prompt injection tasks. Starting from an ineffective (0%) seed prompt, Maatphor consistently generates variants that are at least 60% effective within the first 40 iterations.

📄 PDF Abstract BibTeX arXiv:2312.11513

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

QueryIPI: Query-agnostic Indirect Prompt Injection on Coding Agents

2025-10-27 · Yuchong Xie, Zesen Liu, Mingyu Luo, Zhixiang Zhang 외 arxiv

Modern coding agents integrated into IDEs orchestrate powerful tools and high-privilege system access, creating a high-stakes attack surface. Prior work on Indirect Prompt Injection (IPI) is mainly query-specific, requir…

Assessing Automated Prompt Injection Attacks in Agentic Environments

2026-06-09 · David Hofer, Edoardo Debenedetti, Florian Tramèr arxiv

Indirect prompt injection poses a critical threat to LLM agents that interact with untrusted external data, yet automated attack methods--proven effective for jailbreaking--remain underexplored in realistic agentic setti…

Learning to Inject: Automated Prompt Injection via Reinforcement Learning

2026-02-05 · Xin Chen, Jie Zhang, Florian Tramèr arxiv

Prompt injection is a critical vulnerability in LLM agents, yet the strongest methods still rely on human red-teamers and hand-crafted prompts. Adapting automated jailbreak optimizers does not close this gap: jailbreaks …

Reinforcement Learning

Prompt Injection in Automated Résumé Screening with Large Language Models: Single and Multi-Injection Settings

2026-06-25 · Preet Baxi, Jiannan Xu, Jane Yi Jiang, Stefanus Jasin arxiv

Large language models (LLMs) are increasingly used to screen and rank job applicants, creating incentives for candidates to strategically manipulate algorithmic hiring systems. We study prompt injection in automated résu…

PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections

2026-06-10 · Pengfei He, Lesly Miculicich, Vishesh Sharma, Ash Fox 외 arxiv

Large Language Models (LLMs) are rapidly evolving into agentic systems that interact with external tools and environments, introducing new security risks such as indirect prompt injection attacks through untrusted extern…