paper-with-me

Papers

Your Agentic LLMs Secretly Encode Indirect Prompt-Injection Exposure in Hidden States

2026-08-01 · Jianshuo Dong, Yiming Liu, Maosen Zhang, Nan Deng, Peng Xu, Xiaoping Zhang, Tianwei Zhang, Jie Zhang, Han Qiu arxiv

Agentic LLMs are vulnerable to indirect prompt injection (IPI) attacks, e.g., malicious side-tasks hidden in external tool results. While many efforts have sought to address this threat, little is known about the internals of agentic LLMs when they are exposed to IPI attacks. For simplicity, we refer to this condition as IPI exposure. In this paper, we study IPI exposure from three perspectives. (1) Probing: Across eight models, including the 753B-parameter GLM-5.2 and the 2.8T-parameter Kimi-K3, simple linear probes trained on pre-generation hidden states can predict LLMs' IPI exposure. These probes achieve 0.90+ AUROC on unseen attacks, agent instructions, and task suites; they remain robustly predictive under adaptive attacks and in cross-lingual settings. (2) Defense: We reveal and diagnose a knowledge-action gap: post-trained LLMs encode signals predictive of IPI exposure, yet do not reliably bind these signals to safe agentic actions. We therefore introduce a probe-gated reasoning-based defense to bridge this gap at test time. On difficult AgentDojo settings, it substantially reduces attack success rate, e.g., from 34.6% to 0% on Qwen3.5-27B, and better preserves clean-task utility than the baselines. (3) Explanation: We introduce an analysis framework that identifies natural-language explanations strongly correlated with probe-captured signals. The resulting profiles differ across models: latent signals can align with either direct IPI-exposure sensing or indirect operational cues. Code is available at https://github.com/jianshuod/IPI-exposure-signal.

📄 PDF Abstract BibTeX arXiv:2608.02657

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Secret mixtures of experts inside your LLM

2025-12-20 · Enric Boix-Adsera arxiv

Despite being one of the earliest neural network layers, the Multilayer Perceptron (MLP) is arguably one of the least understood parts of the transformer architecture due to its dense computation and lack of easy visuali…

Your Large Language Model is Secretly a Fairness Proponent and You Should Prompt it Like One

2024-02-19 · Tianlin Li, XiaoYu Zhang, Chao Du, Tianyu Pang 외

The widespread adoption of large language models (LLMs) underscores the urgent need to ensure their fairness. However, LLMs frequently present dominant viewpoints while ignoring alternative perspectives from minority par…

FairnessLanguage ModelingLanguage ModellingLarge Language Model

RHO: Your Coding Agent is Secretly a Roboticist

2026-06-15 · Karim Elmaaroufi, Justin Svegliato, Sarunas Kalade, Graham Schelle 외 arxiv

Code-as-Policies (CaP) has shown that large language models (LLMs) can write code to solve robotics tasks by composing perception, planning, and control primitives. Recent CaP systems, however, rely on multi-turn code-ge…

Your Mouse and Eyes Secretly Leak Your Preference: LLM Alignment using Implicit Feedback from Users

2026-06-18 · Haw-Shiuan Chang, Jeffrey Gomez, Mehul Patwari, Aryan Sajith 외 arxiv

To align a Large Language Model (LLM), most existing methods collect explicit human feedback and train a reward model to predict the human preference based on the response text. These existing methods have two key limita…

Your Data Manifold is Secretly a Reward Model: Shell-LCC for Text-to-Video Generation

2026-06-29 · Shihao Zhang, Yuguang Yan, Junzhe Zhang, Wei Zhao 외 arxiv

Recent text-to-video (T2V) diffusion models rely heavily on auxiliary reward signals (e.g., via reward models or DPO) to align generated content with human aesthetics and improve realism. These signals, however, incur su…

Text-to-Video Generation