UDora: A unified red-teaming framework that dynamically hijacks an LLM agent's own reasoningUDora: A Unified Red Teaming Framework against LLM Agents by Dynamically Hijacking Their Own Reasoning
The researchers propose UDora, a unified red-teaming framework for LLM agents that induces the agent to perform malicious actions by dynamically hijacking its own reasoning process. The framework first generates the model's reasoning trajectory for a given task, then automatically identifies the optimal point in the trajectory to insert a targeted perturbation, and uses the perturbed reasoning as an alternative response for optimization; after iteratively applying this process, the LLM agent is induced to perform a specified malicious action or call a specific malicious tool. The authors claim that the method outperforms existing methods on three LLM agent datasets, and the code is open-sourced on GitHub (https://github.com/AI-secure/UDora)。