paper-with-me

홈 › Papers

Transferable Direct Prompt Injection via Activation-Guided MCMC Sampling

2025-09-09 · Minghui Li, Hao Zhang, Yechao Zhang, Wei Wan, Shengshan Hu, pei Xiaobing, Jing Wang arxiv

Direct Prompt Injection (DPI) attacks pose a critical security threat to Large Language Models (LLMs) due to their low barrier of execution and high potential damage. To address the impracticality of existing white-box/gray-box methods and the poor transferability of black-box methods, we propose an activations-guided prompt injection attack framework. We first construct an Energy-based Model (EBM) using activations from a surrogate model to evaluate the quality of adversarial prompts. Guided by the trained EBM, we employ the token-level Markov Chain Monte Carlo (MCMC) sampling to adaptively optimize adversarial prompts, thereby enabling gradient-free black-box attacks. Experimental results demonstrate our superior cross-model transferability, achieving 49.6% attack success rate (ASR) across five mainstream LLMs and 34.6% improvement over human-crafted prompts, and maintaining 36.6% ASR on unseen task scenarios. Interpretability analysis reveals a correlation between activations and attack effectiveness, highlighting the critical role of semantic patterns in transferable vulnerability exploitation.

📄 PDF Abstract BibTeX arXiv:2509.07617

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

PRISM: Recovering Instruction Sets from Language Model Activations

2026-06-08 · Gilad Gressel, Rahul Pankajakshan, Julia Diament, Efim Hudis 외 arxiv

As LLMs are deployed as agents, reliable monitoring requires knowing not only what they output, but which instructions are steering their behavior. This is difficult when models infer unintended subgoals, follow contextu…

Transmuting prompts into weights

2025-10-09 · Hanna Mazzawi, Benoit Dherin, Michael Munn, Adrian Goldwaser 외 arxiv

A growing body of research has demonstrated that the behavior of large language models can be effectively controlled at inference time by directly modifying their internal states, either through vector additions to their…

In-Browser LLM-Guided Fuzzing for Real-Time Prompt Injection Testing in Agentic AI Browsers

2025-10-15 · Avihay Cohen arxiv

Large Language Model (LLM) based agents integrated into web browsers (often called agentic AI browsers) offer powerful automation of web tasks. However, they are vulnerable to indirect prompt injection attacks, where mal…

Zero-Shot Embedding Drift Detection: A Lightweight Defense Against Prompt Injections in LLMs

2026-01-18 · Anirudh Sekar, Mrinal Agarwal, Rachel Sharma, Akitsugu Tanaka 외 arxiv

Prompt injection attacks have become an increasing vulnerability for LLM applications, where adversarial prompts exploit indirect input channels such as emails or user-generated content to circumvent alignment safeguards…

Bypassing Prompt Injection Detectors through Evasive Injections

2026-01-31 · Md Jahedur Rahman, Ihsen Alouani arxiv

Large language models (LLMs) are increasingly used in interactive and retrieval-augmented systems, but they remain vulnerable to prompt injection attacks, where injected secondary prompts force the model to deviate from …