UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 2 more
Abstract (arXiv)
Large Language Model (LLM) agents equipped with external tools have become increasingly powerful for complex tasks such as web shopping, automated email replies, and financial trading. However, these advancements amplify the risks of adversarial attacks, especially when agents can access sensitive external functionalities. Nevertheless, manipulating LLM agents into performing targeted malicious actions or invoking specific tools remains challenging, as these agents extensively reason or plan before executing final actions. In this work, we present UDora, a unified red teaming framework designed for LLM agents that dynamically hijacks the agent's reasoning processes to compel malicious behavior. Specifically, UDora first generates the model's reasoning trace for the given task, then automatically identifies optimal points within this trace to insert targeted perturbations. The resulting perturbed reasoning is then used as a surrogate response for optimization. By iteratively applying this process, the LLM agent will then be induced to undertake designated malicious actions or to invoke specific malicious tools. Our approach demonstrates superior effectiveness compared to existing methods across three LLM agent datasets. The code is available at https://github.com/AI-secure/UDora.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 19 of its 44 references that are in the map. First posted on arXiv 28 Feb 2025.
Builds on
19 of 44 references.
Closest ancestors · 2
Same direction, newest first
- 2024OpenAI o1 System Card21 Dec
- 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning13 Jun
Other references · 17
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024GPT-4o System Cardcited by 4,467
- 2023Mistral 7Bcited by 3,065
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 476
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 450
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agentscited by 406
- 2023A Language Agent for Autonomous Drivingcited by 161
5 more
- 2024EIA: Environmental Injection Attack on Generalist Web Agents for Privacy Leakagecited by 146
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agentscited by 129
- 2025AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detectioncited by 82
- 2024AdvAgent: Controllable Blackbox Red-teaming on Web Agentscited by 57
- 2024KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checkingcited by 26
Built on by
Citing papers per year: 2025: 5; 2026: 16.
21 papers.
Sort:
By area:
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attackscited by 31
- 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypescited by 19
- 2025AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Deliverycited by 9
- 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deploymentcited by 8
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agentscited by 7
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memorycited by 6
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verificationcited by 6
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoningcited by 5
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
- 2025AgentTypo: Adaptive Typographic Prompt Injection Attacks against Black-box Multimodal Agentscited by 3
- 2026OTora: A Unified Red Teaming Framework for Reasoning-Level Denial-of-Service in LLM Agentscited by 3
- 2025Any-Depth Alignment: Unlocking Innate Safety Alignment of LLMs to Any-Depthcited by 2
9 more
- 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Searchcited by 2
- 2026Can LLM Agents Stick to the Script? A Benchmark for Long-Horizon Consistency in Interactive Narrativescited by 2
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agentscited by 0
- 2026RIFT-Bench: Dynamic Red-teaming For Agentic AI Systemscited by 0
- 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agentscited by 0
- 2026Rethinking Indirect Prompt Injection as a Test-Time Search Problemcited by 0
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challengescited by 0
- 2026Understanding and Exploiting Initialization Anchoring Weakness in Feedback-Based Agent Planningcited by 0
- 2026From Expected Harmfulness to Likelihood: A Probabilistic Reformulation of Jailbreaking LLM Agentscited by 0
- 2026From Expected Harmfulness to Likelihood: A Probabilistic Reformulation of Jailbreaking LLM Agents7 Oct 2026
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026Rethinking Indirect Prompt Injection as a Test-Time Search Problem3 Sep 2026
- 2026Understanding and Exploiting Initialization Anchoring Weakness in Feedback-Based Agent Planning31 Aug 2026
- 2026Can LLM Agents Stick to the Script? A Benchmark for Long-Horizon Consistency in Interactive Narratives8 Aug 2026
- 2026Know Your Agent: Reconnaissance-Driven Pentesting of AI Agents22 Jul 2026
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verification2 Jul 2026
- 2026RIFT-Bench: Dynamic Red-teaming For Agentic AI Systems22 Jun 2026
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agents16 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026OTora: A Unified Red Teaming Framework for Reasoning-Level Denial-of-Service in LLM Agents9 May 2026
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory4 May 2026
9 more
- 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Search25 Mar 2026
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attacks18 Feb 2026
- 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deployment3 Feb 2026
- 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypes8 Jan 2026
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agents20 Nov 2025
- 2025SIRAJ: Diverse and Efficient Red-Teaming for LLM Agents via Distilled Structured Reasoning30 Oct 2025
- 2025Any-Depth Alignment: Unlocking Innate Safety Alignment of LLMs to Any-Depth20 Oct 2025
- 2025AgentTypo: Adaptive Typographic Prompt Injection Attacks against Black-box Multimodal Agents5 Oct 2025
- 2025AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery27 May 2025
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attackscited by 31
- 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypescited by 19
- 2025AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Deliverycited by 9
- 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deploymentcited by 8
- 2025AutoBackdoor: Automating Backdoor Attacks via LLM Agentscited by 7
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memorycited by 6
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verificationcited by 6
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluationcited by 5
- 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Searchcited by 2
- 2026Can LLM Agents Stick to the Script? A Benchmark for Long-Horizon Consistency in Interactive Narrativescited by 2
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agentscited by 0
- 2026RIFT-Bench: Dynamic Red-teaming For Agentic AI Systemscited by 0
12 most cited of 15 All 15 (JSON)
- 2026From Expected Harmfulness to Likelihood: A Probabilistic Reformulation of Jailbreaking LLM Agents7 Oct 2026
- 2026Connecting the Dots in Agentic AI Security: A Cross-Dimensional Threat Taxonomy, Evaluation Maturity, and Open Challenges20 Sep 2026
- 2026Understanding and Exploiting Initialization Anchoring Weakness in Feedback-Based Agent Planning31 Aug 2026
- 2026Can LLM Agents Stick to the Script? A Benchmark for Long-Horizon Consistency in Interactive Narratives8 Aug 2026
- 2026Safety Testing LLM Agents at Scale: From Risk Discovery to Evidence-Grounded Verification2 Jul 2026
- 2026RIFT-Bench: Dynamic Red-teaming For Agentic AI Systems22 Jun 2026
- 2026MIRAGE: Stealthy Visual Prompt Injection for Vulnerability Detection in Web Agents16 Jun 2026
- 2026Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation9 Jun 2026
- 2026Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory4 May 2026
- 2026Invisible Threats from Model Context Protocol: Generating Stealthy Injection Payload via Tree-based Adaptive Search25 Mar 2026
- 2026AgentLAB: Benchmarking LLM Agents against Long-Horizon Attacks18 Feb 2026
- 2026Risky-Bench: Probing Agentic Safety Risks under Real-World Deployment3 Feb 2026
12 newest of 15 All 15 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents
- 2026Stop Fixating on Prompts: Reasoning Hijacking and Constraint Tightening for Red-Teaming LLM Agents
- 2025Automatic Red Teaming LLM-based Agents with Model Context Protocol Tools
- 2026REDAgentBench: Executable Red Teaming and Faithful Measurement of LLM Agent Systems
- 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
- 2025The Dark Side of LLMs: Agent-based Attack Vectors for System-level Compromise
- 2026Co-RedTeam: Orchestrated Security Discovery and Exploitation with LLM Agents