Your Agentic LLMs Can Latently Detect Indirect Prompt-Injection Attacks
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:52 UTC · 89119497c12f ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "yoJP018EVw"- }- ],- "title": "Your Agentic LLMs Can Latently Detect Indirect Prompt-Injection Attacks",- "authors": [],- "abstract": "Agentic LLMs are vulnerable to indirect prompt injection (IPI) attacks, \\eg, malicious side-tasks hidden in external tool results.\nWhile many efforts have sought to address this threat, little is known about the internals of these LLMs when they are exposed to IPI attacks (named IPI exposure for simplicity).\nIn this paper, we study IPI exposure from three perspectives.\n(1) \\textbf{Probing}: \nAcross eight models, including 753B \\llm{GLM-5.2} and 2.8T \\llm{Kimi-K3}, simple linear probes trained on LLMs' pre-generation hidden states can predict their IPI exposure.\nThese probes achieve 0.90+ AUROC on unseen attacks, agent instructions, and task suites; notably, they can remain robustly predictive under adaptive attacks and in cross-lingual settings.\n(2) \\textbf{Defense}: Our CoT-monitoring analysis diagnoses the knowledge--action gap: these LLMs often fail to reliably bind these signals to safe agentic actions.\nWe therefore introduce a probe-gated reasoning-based defense to bridge this gap at test time.\nOn difficult \\dataset{AgentDojo} settings, the simple defense can substantially reduce attack success rate, \\eg, from 34.6\\% to 0\\% on \\llm{Qwen3.5-27B}, and better preserves clean-task utility than the baselines.\n(3) \\textbf{Explanation}: We introduce an analysis framework that identifies natural-language explanations strongly correlated with probe-captured signals.\nThe resulting profiles differ across probes trained on different model-layer combinations: latent signals can align with either direct IPI-exposure sensing or indirect operational cues.\nCode is available: \\url{https://anonymous.4open.science/r/IPI-exposure}.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "3b15f1b4-fda6-4c85-8055-e2ddc897cc20"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Your Agentic LLMs Can Latently Detect Indirect Prompt-Injection Attacks",+ "authors": [],+ "abstract": "Agentic LLMs are vulnerable to indirect prompt injection (IPI) attacks, \\eg, malicious side-tasks hidden in external tool results.\nWhile many efforts have sought to address this threat, little is known about the internals of these LLMs when they are exposed to IPI attacks (named IPI exposure for simplicity).\nIn this paper, we study IPI exposure from three perspectives.\n(1) \\textbf{Probing}: \nAcross eight models, including 753B \\llm{GLM-5.2} and 2.8T \\llm{Kimi-K3}, simple linear probes trained on LLMs' pre-generation hidden states can predict their IPI exposure.\nThese probes achieve 0.90+ AUROC on unseen attacks, agent instructions, and task suites; notably, they can remain robustly predictive under adaptive attacks and in cross-lingual settings.\n(2) \\textbf{Defense}: Our CoT-monitoring analysis diagnoses the knowledge--action gap: these LLMs often fail to reliably bind these signals to safe agentic actions.\nWe therefore introduce a probe-gated reasoning-based defense to bridge this gap at test time.\nOn difficult \\dataset{AgentDojo} settings, the simple defense can substantially reduce attack success rate, \\eg, from 34.6\\% to 0\\% on \\llm{Qwen3.5-27B}, and better preserves clean-task utility than the baselines.\n(3) \\textbf{Explanation}: We introduce an analysis framework that identifies natural-language explanations strongly correlated with probe-captured signals.\nThe resulting profiles differ across probes trained on different model-layer combinations: latent signals can align with either direct IPI-exposure sensing or indirect operational cues.\nCode is available: \\url{https://anonymous.4open.science/r/IPI-exposure}.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}