CONTRA: Red-Teaming Configurations of Personalizable Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
Recent tools such as OpenClaw have extended the capabilities of LLM-based agents from simple dialog-based systems to fully autonomous agents. These systems allow personalization of the agent through modifiable internal files and the installation of skills. While this enables deployment in a wide range of settings and the automation of diverse tasks, greater capability and autonomy increases the risk of malicious actions being executed unintentionally. In this work, we explore the interplay between agent configuration and the risk of executing dangerous actions without explicit instruction. To this end, we propose CONfiguration Tree-search for Red-teaming Agents (CONTRA), an LLM-assisted tree-search algorithm that discovers agent configurations resulting in the execution of malicious actions. CONTRA works by reasoning about benign yet dangerous configurations and evaluating them in a simulated environment. We construct a dataset of the 473 most popular skills from a public repository, along with 2-5 corresponding malicious target actions per skill. In a large-scale analysis, we find that 75.1% of skills have at least one configuration resulting in the execution of a malicious action, most of which have not been detected as containing malicious content by existing scans. Overall, CONTRA successfully identifies a configuration leading to the execution of the target action in 39.2% of all tested cases. Our findings demonstrate that current agents provide insufficient safety with respect to personalization.
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 25 of its 28 references that are in the map. First posted on arXiv 3 Jul 2026.
Builds on
25 of 28 references.
Closest ancestors · 11
Same direction, newest first
- 2026SkillAttack: Automated Red Teaming of Agent Skills through Attack Path Refinement5 Apr
- 2026Trojan's Whisper: Stealthy Manipulation of OpenClaw through Injected Bootstrapped Guidance20 Mar
- 2026AgentWorm: Self-Propagating Attacks Across LLM Agent Ecosystems16 Mar
- 2026MaMa: A Game-Theoretic Approach for Designing Safe Agentic Systems4 Feb
- 2026Agent Skills in the Wild: An Empirical Study of Security Vulnerabilities at Scale15 Jan
- 2025Benchmarking the Robustness of Agentic Systems to Adversarially-Induced Harms22 Aug
- 2025OS-Harm: A Benchmark for Measuring Safety of Computer Use Agents17 Jun
- 2025AgentVigil: Generic Black-Box Red-teaming for Indirect Prompt Injection against LLM Agents9 May
- 2024AgentHarm: A Benchmark for Measuring Harmfulness of LLM Agents11 Oct
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents5 Mar
- 2023Identifying the Risks of LM Agents with an LM-Emulated Sandbox25 Sep
Other references · 14
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2024AFlow: Automating Agentic Workflow Generationcited by 395
- 2024Automated Design of Agentic Systemscited by 360
- 2024AutoDAN-Turbo: A Lifelong Agent for Strategy Self-Exploration to Jailbreak LLMscited by 185
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 141
- 2025ScoreFlow: Mastering LLM Agent Workflows via Score-based Preference Optimizationcited by 50
- 2025Adversarial Reasoning at Jailbreaking Timecited by 27
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026REDAgentBench: Executable Red Teaming and Faithful Measurement of LLM Agent Systems
- 2026OpenSkillRisk: Benchmarking Agent Safety When Using Real-World Risky Third-Party Skills
- 2025OpenAgentSafety: A Comprehensive Framework for Evaluating Real-World AI Agent Safety
- 2026Proteus: A Self-Evolving Red Team for Agent Skill Ecosystems
- 2026Towards a Risk Assessment of Malicious Skill Files in Coding Agents
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teaming
- 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases
- 2026Black-Box Red Teaming of Agentic AI: A Taxonomy-Driven Framework for Automated Risk Discovery