Manuscript Offprint

arXiv:2610.34965

The Target Agent Is Its Own Best Critic but a Poor Proposer: Self-Improved Red Teaming

Mintong Kang, Stephen Rawls, Melissa Kazemi Rad, Jian Ni, Bo Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Automatic red teaming increasingly relies on large language models (LLMs) to iteratively diagnose failed attacks and propose improved adversarial prompts or injections. Although prior work strengthens this loop through prompt engineering and search-harness design, the mechanisms underlying its two core roles, criticism and attack proposal, has not been explored. To further investigate the core roles and therefore improve red teaming effectiveness, we disentangle two design choices: whether criticism is generated by the target session itself (self-criticism) or by a separately instantiated critic (external criticism), and whether that criticism is translated into the next attack by the target session (self-proposal) or by a separate attacker (external proposal). Through our analysis, we find that self-criticism is more effective because it is grounded in the target's live execution context, including observations, constraints, and available reasoning; removing reasoning reduces downstream attack success by 6%-17%. In contrast, self-proposal is substantially less effective because awareness of the adversarial objective induces explicit refusal and non-refusal sandbagging. These findings motivate a role-separated red-teaming approach: the target session diagnoses why an attack failed, while a separately instantiated attacker generates the next proposal. On DTAP-BENCH, spanning Telecom, Workflow, CRM, and Code domains, under both direct misuse and indirect threat models, as well as multiple agent frameworks, this configuration achieves 63.2% overall attack success rate (ASR), much higher than baselines. Our results show that effective automatic red teaming depends not only on model capability and search strategy, but also on how execution context and adversarial responsibility are distributed across model sessions.

1 Introduction

Large language models (LLMs) are increasingly deployed as agents that can reason, invoke tools, access external information, and take actions on behalf of users (Yao et al., 2023; Schick et al., 2023). As these systems become more autonomous and interact with sensitive data and external environments, systematic safety and security evaluation becomes increasingly important. Jailbreak attacks can circumvent alignment safeguards and elicit harmful or prohibited behavior (Zou et al., 2023), while prompt-injection attacks can manipulate agents through adversarial instructions embedded in user inputs or untrusted external content, potentially causing unauthorized actions or private-data exfiltration (Greshake et al., 2023; Zhan et al., 2024). Because manually constructed attacks do not scale to the breadth of modern agent behavior, recent work increasingly uses LLMs themselves to generate, evaluate, and iteratively refine adversarial prompts or prompt injections (Perez et al., 2022; Chao et al., 2024; Mehrotra et al., 2024).

Despite substantial differences in attack strategy, most LLM-based automatic red-teaming methods share a common iterative structure: evaluate why the previous attack failed, then propose a revised attack. Existing work mainly improves this loop through prompt engineering—for example, more detailed feedback, diverse attack strategies, and explicit optimization instructions—or through harness engineering, such as branching, pruning, retries, and attack-history management. These techniques improve effectiveness, but they often treat criticism and proposal as a single optimization module. This leaves two basic design questions unresolved: who should diagnose the failure, and who should act on that diagnosis?

*Corresponding authors: mintong2@illinois.edu, lbo@illinois.edu.

We therefore decompose iterative red teaming into two roles, criticism generation and attack proposal, and compare three configurations: external criticism with external proposal, self-criticism with external proposal, and self-criticism with self-proposal. We hold the underlying model identity fixed within each comparison so that differences reflect role assignment and session context rather than raw model capability. This decomposition lets us ask: (i) whether the target's own execution context makes its criticism more actionable; (ii) which information in that context matters; (iii) whether the same target session can faithfully convert its diagnosis into a stronger attack; and (iv) whether these effects persist across threat models, domains, frameworks, and models.

Our results reveal a strong asymmetry. First, the target is an effective critic of its own failed execution. Self-criticism improves overall ASR from 57.3% to 63.2% when proposal remains external. The advantage is especially pronounced for indirect prompt injection, where failures depend on external content, tool interactions, and environment state. An ablation further supports the proposed mechanism: removing reasoning from the target's execution context reduces downstream attack success by 6–17 percentage points. Second, the target is a poor proposer of the next attack. Replacing external proposal with self-proposal reduces overall ASR from 63.2% to 46.2%. Task-level refusal rises from 13.9% to 47.8%, while low-refusal settings still exhibit substantial performance degradation, consistent with non-refusal sandbagging.

These findings motivate role-separated red teaming: after each failed attempt, the target session produces structured criticism from its live execution context, and a separate attacker converts that diagnosis into the next adversarial candidate. This division preserves execution-grounded diagnostic information while avoiding the contextual conflict created when the target is asked to operationalize an adversarial objective against itself. Figure 1 illustrates the design.

We evaluate the method on DTAP-BENCH (Chen et al., 2026), a policy-grounded benchmark with verifiable environment-state judges. The evaluation spans Telecom, Workflow, CRM, and Code; direct misuse and indirect prompt injection; and agents implemented with multiple frameworks. Role separation achieves 63.2% overall ASR, improving over external criticism with external proposal by 5.9 percentage points and over self-criticism with self-proposal by 17.0 points. A transfer study on GPT-5.5 preserves the same ordering across two agent backends and both threat models (Appendix D). Full framework-, domain-, and category-level breakdowns are reported in Appendix C.

References (21)