atlas

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

RedCodeAgent: Automatic Red-teaming Agent against Diverse Code Agents

ICLR 2026 · Multi-agent systems and games › LLM agents · approach: Software engineering agent benchmarks · 0 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 RedCodeAgent, an LLM-agent red-teamer with a success-experience memory and a toolbox of jailbreak tools that attacks code agents and judges outcomes in Docker sandboxes.

Problem

Static safety benchmarks and single manually designed jailbreak tools fail to find many vulnerabilities in code agents, and LLM judges that only read static code can be biased; code agents must also produce executable risky code, not just avoid refusal.

Approach

An adaptive red-teaming agent (GPT-4o-mini based, LangChain) that retrieves top-K successful past attacks from a memory (scored by risk-scenario/description similarity minus trajectory-length penalty), dynamically chooses among a toolbox (GCG, AmpleGCG, Advprompter, AutoDAN, and an LLM-based code substitution tool), queries the target code agent, and judges success via sandbox execution scripts.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: RedCode-Exec RedCode-Gen RMCbench HumanEval

Benchmarks: RedCode-Exec RedCode-Gen RMCbench

Metrics: attack success rate rejection rate time cost trajectory length

Baselines: No Jailbreak GCG AmpleGCG Advprompter AutoDAN 5-method-combine

Builds on: GCG AmpleGCG Advprompter AutoDAN RedCode-Exec

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