Effective Red-Teaming of Policy-Adherent Agents

Itay Nakash, George Kour, Koren Lazar, Matan Vetzler, Guy Uziel, Ateret Anaby Tavor

Sure, here's a blog-style summary of the paper "Effective Red-Teaming of Policy-Adherent Agents":

TL;DR

This paper introduces CRAFT, a novel multi-agent red-teaming system designed to expose vulnerabilities in AI agents that must adhere to strict policies. CRAFT significantly outperforms existing red-teaming methods, highlighting the critical need for specialized adversarial testing for policy-bound AI systems.

What Problem Does This Paper Address?

As AI agents, particularly those powered by Large Language Models (LLMs), become increasingly integrated into high-stakes domains like customer service, healthcare, and finance, ensuring their strict adherence to predefined policies is paramount. These policies can range from legal mandates and organizational procedures to ethical guidelines and business rules. The challenge lies not only in building agents that can follow these rules but also in rigorously evaluating their resilience against users who deliberately try to exploit them for personal gain. Existing evaluation methods often assume cooperative users or focus on general LLM vulnerabilities, failing to adequately test the specific robustness required for policy-adherent agents. This paper addresses this gap by proposing a method to effectively "red-team" these agents, simulating adversarial users who strategically attempt to bypass policy constraints.

Methods

The core of this paper is the CRAFT (Constraint-aware Red-teaming with Adversarial Framing and Tactics) system. CRAFT is a multi-agent framework that simulates a policy-aware adversarial user. It comprises several key components:

  • Policy Analyzer: This agent extracts relevant policy fragments from a given policy document based on the user's request. This ensures the red-teaming effort is focused on plausible weak points.
  • Deception Planner: This agent generates strategies for the red-teaming LLM. It uses the user request and extracted policy highlights to craft prompts that guide the attacker towards eliciting a policy violation, often through indirect manipulation or by suggesting hypothetical scenarios.
  • Avoidance Advisor: This complementary module provides instructions on what the red-teaming LLM must avoid saying. It helps prevent the attacker from revealing information that would immediately alert the target agent to the policy-violating nature of the request.
  • Dialogue Executor: This agent manages the interaction with the policy-adherent target agent, dynamically adjusting responses based on the agent's replies, guided by the planners.

CRAFT's novelty lies in its explicit reasoning about the agent's policy, extracting relevant fragments, and using this knowledge to guide a multi-step adversarial planning process.

Datasets

The paper primarily uses the T-bench dataset, a benchmark designed for evaluating policy-adherent LLM agents in customer service scenarios. The authors introduce T-break, a complementary benchmark derived from T-bench. T-break is constructed by modifying T-bench tasks to specifically assess agent robustness against manipulative user behavior. This involves:

  • Airline Domain: Identifying policy violations by comparing the actions of a policy-free agent (which acts without regard for rules) against the expected actions (gold label) from T-bench. Divergent actions are manually inspected to identify policy breaches.
  • Retail Domain: Augmenting existing policies with new constraints (e.g., requiring user authentication before sensitive actions) and transforming previously compliant tasks into policy-violating ones.

Key Insights and Ideas

  • Generic Red-Teaming is Insufficient: Standard red-teaming techniques (like DAN prompts or emotional manipulation) are significantly less effective against policy-adherent agents compared to CRAFT. This highlights that policy constraints introduce unique vulnerabilities.
  • Policy Knowledge is Crucial for Attack: The success of CRAFT hinges on its ability to understand and leverage the target agent's policy. Simply trying to "break" an agent without understanding its rules is far less effective.
  • Strategic Avoidance is Key: Preventing the red-teamer from revealing disqualifying information is as important as crafting the attack itself. This prevents immediate detection and rejection by the agent.
  • Cooperative User Simulations are Misleading: Evaluating agent safety solely with cooperative user simulations (like the original T-bench setup) provides an overly optimistic view of their security. Adversarial testing reveals much higher susceptibility.
  • Even Simple Policies Can Be Bypassed: The retail domain experiments showed that agents can fail even on straightforward authentication policies when faced with sophisticated adversarial tactics.

Key Results

CRAFT achieved a substantially higher Attack Success Rate (ASR) than baseline methods. For instance, in the airline domain, CRAFT achieved a 70.0% ASR at pass@1, significantly outperforming DAN (35.0%) and emotional manipulation (50.0%). The paper also shows that even lightweight defense strategies, like policy reminders, offer only limited protection against CRAFT, with ASR rising steeply even with defenses in place when using CRAFT.

Limitations and Future Work

The authors acknowledge several limitations:

  • Defense Effectiveness: None of the tested defenses fully mitigated CRAFT attacks, underscoring the need for stronger safeguards.
  • Synthetic Environment: Experiments were conducted in a synthetic environment, which might not fully capture the complexity of real-world user behavior.
  • Domain Specificity: The study focused on simple, static policies in customer service domains. Generalizing to more dynamic or ambiguous policy environments (e.g., legal, healthcare) remains an open question.
  • Full Policy Access: The attack setup assumes full access to policy documentation, which may not always be the case in proprietary systems.
  • Limited Test Cases: The number of adversarial test cases derived from T-bench was relatively small.
  • Static Attackers: The red-teaming setup was static, meaning attackers did not adapt based on previous outcomes. Future work could explore iterative adversarial training.

The paper encourages further research into the vulnerabilities of policy-adherent agents and the development of more robust mitigation strategies.

Summary updated

BibTeX
@inproceedings{nakash2025effective,
  author = {Itay Nakash and George Kour and Koren Lazar and Matan Vetzler and Guy Uziel and Ateret Anaby Tavor},
  title = {{Effective Red-Teaming of Policy-Adherent Agents}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure