mlsanityData to 7 Oct 2026

Detecting and Localizing Segment-Level Poisoning in Multi-Source LLM-Agent Inputs

arXiv 2609.14723 ↗First posted 13 Sep 2026cs.CRcited by 0

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Modern large language model (LLM) agents often construct prompts by aggregating retrieved passages, user reviews, and documents from multiple external sources. This paradigm exposes them to segment-level poisoning attacks, in which an adversary controlling only a small subset of sources injects malicious content to manipulate model outputs. Existing defenses mainly rely on textual patterns, external embeddings, or auxiliary detectors and may therefore fail against fluent, semantically plausible poisoned segments. They also provide limited support for locating the responsible segments. We observe that successful corrupted-evidence and adversarial-instruction attacks induce structured shifts in the LLM's internal activations, forming a consistent activation-space pattern that we call the poison direction. Based on this observation, we propose ActProbe, an internal-state-based framework for detecting and localizing poisoned segments in multi-source LLM inputs. ActProbe projects MLP activations onto a learned poison direction and uses a lightweight linear SVM trained on a small calibration set to detect contaminated prompts. It then applies BinRoL, which combines recursive replacement ablation, Mahalanobis-distance-based branch pruning, and MAD-based robust leaf detection to locate poisoned segments. ActProbe requires no modification to the backend LLM and reduces localization overhead from O(n) exhaustive probing to O(k log n) forward passes. Across three datasets, two attacks, and four open-weight LLMs, ActProbe achieves a 0.01 false-positive rate, a 0.05 false-negative rate, 0.94 localization recall, and a 0.90 localization F1-score. It remains effective against defense-aware adaptive attacks and can protect black-box APIs through surrogate-based poisoned-segment removal.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 34 of its 43 references that are in the map. First posted on arXiv 13 Sep 2026.

Builds on

34 of 43 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025ObliInjection: Order-Oblivious Prompt Injection Attack to LLM Agents with Multi-source Data10 Dec
  2. 2025WebInject: Prompt Injection Attack to Web Agents16 May
  3. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr

Other references · 31

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2025Qwen3 Technical Reportcited by 8,195
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  6. 2023Mistral 7Bcited by 3,065
  7. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  8. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
  9. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  10. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
  11. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
  12. 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 825
19 more
  1. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
  2. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  3. 2023Detecting Language Model Attacks with Perplexitycited by 411
  4. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 328
  5. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 325
  6. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 251
  7. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 179
  8. 2024Certifiably Robust RAG against Retrieval Corruptioncited by 144
  9. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 124
  10. 2024Optimization-based Prompt Injection Attack to LLM-as-a-Judgecited by 123
  11. 2024Machine Against the RAG: Jamming Retrieval-Augmented Generation with Blocker Documentscited by 93
  12. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 84
  13. 2024Neural Exec: Learning (and Learning from) Execution Triggers for Prompt Injection Attackscited by 78
  14. 2025Practical Poisoning Attacks against Retrieval-Augmented Generationcited by 35
  15. 2024RevPRAG: Revealing Poisoning Attacks in Retrieval-Augmented Generation through LLM Activation Analysiscited by 33
  16. 2025A Critical Evaluation of Defenses against Prompt Injection Attackscited by 31
  17. 2025PR-Attack: Coordinated Prompt-RAG Attacks on Retrieval-Augmented Generation in Large Language Models via Bilevel Optimizationcited by 29
  18. 2025PromptLocate: Localizing Prompt Injection Attackscited by 23
  19. 2024Adversarial Decoding: Generating Readable Documents for Adversarial Objectivescited by 16

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Robust Context-Aware Detection of Malicious Instructions in Text
  2. 2024Enhancing Prompt Injection Attacks to LLMs via Poisoning Alignment
  3. 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents
  4. 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
  5. 2025ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents
  6. 2026Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks
  7. 2023The Philosopher's Stone: Trojaning Plugins of Large Language Models
  8. 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space