mlsanityData to 14 Oct 2026

Agents at Risk: How Users Unwittingly Undermine LLM Safety

arXiv 2601.10758 ↗First posted 14 Jan 2026cs.CRcited by 3

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

also in 1 more
Abstract (arXiv)

Large language model (LLM)-based agents are increasingly deployed in applications, such as trip-planning agents and web-use agents, to perform complex planning and execution tasks. Prior work has shown that LLM-based agents are vulnerable to context confusion, where external adversarial content incorporated into the agent's reasoning context may be treated as task-relevant constraints. However, external malicious content can enter the agent context via channels beyond retrieval. In this work, we introduce the User-Relayed Context Manipulation (UReCoM) attack, in which attackers manipulate benign users into relaying adversarial content within user requests, thereby relocating external adversarial content into user-provided task context. Our experimental evaluation shows that UReCoM outperforms five prompt-injection baselines (naive, context ignoring, fake completion, escape-character attacks, and combined attacks) under prevention-based (Sandwich, StruQ, and SecAlign) and detection-based defenses (Perplexity detection, DataSentinel, and CausalArmor). Additionally, UReCoM shows that LLMs can reject explicit malicious instructions more reliably than they can identify adversarial task entities, such as promotion codes, embedded within user requests. On 12 commercial LLM-based agents, we find that validation of adversarial task entities is largely prompt-driven rather than default, highlighting a design flaw in current agent frameworks. These results indicate that current defenses and deployed agents remain insufficient against user-relayed context manipulations, highlighting the need for task-entity-level prevention and default safety verification in LLM-based agents.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 32 of its 56 references that are in the map. First posted on arXiv 14 Jan 2026.

Builds on

32 of 56 references.

Closest ancestors · 8

Same direction, newest first

  1. 2025ObliInjection: Order-Oblivious Prompt Injection Attack to LLM Agents with Multi-source Data10 Dec
  2. 2025AgentSentinel: An End-to-End and Real-Time Security Defense Framework for Computer-Use Agents9 Sep
  3. 2025Prompt Injection Attack to Tool Selection in LLM Agents28 Apr
  4. 2025SAGA: A Security Architecture for Governing AI Agentic Systems27 Apr
  5. 2025Commercial LLM Agents Are Already Vulnerable to Simple Yet Dangerous Attacks12 Feb
  6. 2024From Allies to Adversaries: Manipulating LLM Tool-Calling through Adversarial Injection13 Dec
  7. 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakage17 Sep
  8. 2024IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems8 Mar

Other references · 24

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  6. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  7. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  8. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
  9. 2024Large Language Model based Multi-Agents: A Survey of Progress and Challengescited by 769
  10. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  11. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructionscited by 493
  12. 2024StruQ: Defending Against Prompt Injection with Structured Queriescited by 375
12 more
  1. 2023Formalizing and Benchmarking Prompt Injection Attacks and Defensescited by 364
  2. 2024PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Modelscited by 267
  3. 2024SecAlign: Defending Against Prompt Injection with Preference Optimizationcited by 210
  4. 2025DataSentinel: A Game-Theoretic Detection of Prompt Injection Attackscited by 143
  5. 2023WebGLM: Towards An Efficient Web-Enhanced Question Answering System with Human Preferencescited by 100
  6. 2024BadRAG: Identifying Vulnerabilities in Retrieval Augmented Generation of Large Language Modelscited by 86
  7. 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 69
  8. 2023LASER: LLM Agent with State-Space Exploration for Web Navigationcited by 66
  9. 2025UXAgent: An LLM Agent-Based Usability Testing Framework for Web Designcited by 40
  10. 2025Defending Against Prompt Injection with DataFiltercited by 35
  11. 2024To the Globe (TTG): Towards Language-Driven Guaranteed Travel Planningcited by 21
  12. 2025GuideBench: Benchmarking Domain-Oriented Guideline Following for LLM Agentscited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ContextLeak: Exfiltrating LLM Agent Context via Malicious Tools
  2. 2026Plant, Persist, Trigger: Sleeper Attack on Large Language Model Agents
  3. 2024Imprompter: Tricking LLM Agents into Improper Tool Use
  4. 2024Targeting the Core: A Simple and Effective Method to Attack RAG-based Agents via Direct LLM Manipulation
  5. 2024Universal and Context-Independent Triggers for Precise Control of LLM Outputs
  6. 2026ARGUS: Defending LLM Agents Against Context-Aware Prompt Injection
  7. 2026From Prompt Injection to Web Exploitation: Revisiting Classic Vulnerabilities in LLM-Integrated Applications
  8. 2026Universal Defenses for Tool-Integrated LLM Agents Against Adversarial Attacks