atlas

Research map / Multi-agent systems and games / LLM agents

UDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoning

ICML 2025 · Multi-agent systems and games › LLM agents · approach: LLM multi-agent decision making · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes UDora, a red-teaming framework that hijacks an LLM agent's own reasoning trace by inserting target tool/item names at optimal positions and optimizing an adversarial string to make those insertions likely, achieving high attack success on InjecAgent, WebShop, and AgentHarm.

Problem

Manipulating LLM agents that reason extensively before acting into executing targeted malicious actions or invoking specific malicious tools is difficult, since fixed affirmative prefixes do not match agents' varied reasoning styles.

Approach

Generate the agent's own reasoning trace, score token positions where a target noise (tool or item name) aligns with the trace via a positional score, insert the noise at the top non-overlapping positions to form a surrogate response, and optimize the adversarial string GCG-style to raise the likelihood of the noise; iterate with re-generation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use UDora (All) instead of the strongest reported baselineLlama-3.1-8B-Instruct · InjecAgentASR: 77% -> 99%Helped
Use UDora (All) instead of GCGMinistral-8B-Instruct-2410 · InjecAgentASR: 50% -> 97%Helped
Combine Sequential and Joint optimization modesUDora on Llama-3.1-8B-Instruct · InjecAgentASR: +6%Helped
Combine Sequential and Joint optimization modesUDora on Ministral-8B-Instruct-2410 · InjecAgentASR: +23%Helped
Use UDora (All) instead of the next best baselineLlama-3.1-8B-Instruct · WebShopASR: +46.75%Helped
Combine Sequential and Joint optimization modesUDora on Llama-3.1-8B-Instruct · WebShopASR: +5%Helped
Combine Sequential and Joint optimization modesUDora on Ministral-8B-Instruct-2410 · WebShopASR: +9.75%Helped
Use Sequential rather than Joint optimization (ablation)UDora · WebShopASR: 56.75% vs 33.25%Helped
Use Joint rather than Sequential optimization (ablation)UDora · AgentHarmASR: 89.2% vs 86.9%Helped
Add Template Attack rulesMinistral-8B-Instruct-2410 · AgentHarmASR: 81.8% -> 66.5%Hurt
Vary the number of Sequential noise insertion locations from 1 to 4 (ablation)UDora on Llama-3.1-8B-Instruct · InjecAgentASR: 88% -> 90%; 96% -> 86%Mixed
Vary the number of Joint noise insertion locations from 1 to 4 (ablation)UDora on Llama-3.1-8B-Instruct · InjecAgentASR: 80% to 68%; 82%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: InjecAgent WebShop AgentHarm

Benchmarks: InjecAgent WebShop AgentHarm

Metrics: attack success rate

Baselines: GCG Prompt Injection Template Attack No Attack

Builds on: GCG ReAct Chain-of-Thought AgentBench prompt InjecAgent

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy