arXiv:2611.09161cs.SENov 2026

Manuscript Offprint

arXiv:2611.09161

GreyZone: Production-quality Agentic Application Threats

Ruoyu Zhou, Shuyao Jiang, Haifeng Ruan, Abhik Roychoudhury

RUOYU ZHOU* and SHUYAO JIANG*, National University of Singapore, Singapore

HAIFENG RUAN†, National University of Singapore, Singapore

ABHIK ROYCHOUDHURY, National University of Singapore, Singapore

Agents are increasingly deployed across domains such as coding, banking, and commerce. Their ability to invoke tools and change application state makes security testing important for reliable deployment. Although agent security has been studied through various adversarial testing approaches, benchmarks grounded in production agent environments remain limited. We introduce GreyZone, a benchmark for evaluating automated red-teaming services against real-world agent applications. Unlike benchmarks such as AgentDojo, which primarily evaluate subject agents under attack, GreyZone evaluates services' ability to generate and deliver attacks that cause verified security-policy violations. We select independently developed, open-source agent applications with security boundaries concerning access permissions, confidentiality, and action authorization. These applications expose diverse attack surfaces, including those arising from multi-agent interactions and multimodal inputs. By grounding evaluation in application environments that preserve production-relevant workflows and independently verifying outcomes, GreyZone supports research on automated agent security testing. Specifically, we present two preliminary case studies using Promptfoo on Letta Code and Clawwith to examine attack delivery, agent behavior, and verified outcomes. We release the benchmark, including subject agents and attack surfaces for each application, to support further research on agent testing methods.

1 Introduction

Large language model (LLM) agents have become increasingly capable and are used in a growing range of applications. They can read external content, invoke tools, and change application state [13, 53]. These capabilities also expose them to security threats: instructions embedded in lower-trust content may cause an agent to act beyond the user's intent or the application's security policy [25, 58]. Such failures can occur within legitimate workflows, with consequences visible in tool calls or system state rather than in the agent's final response [10, 13]. Evaluating agent security therefore requires executing workflows and verifying their outcomes.

In response to the need for workflow-level security testing, a growing ecosystem of automated red-teaming services has emerged (e.g., Promptfoo [45], Dreadnode [19]). These services generate adversarial inputs and submit them through an application's interfaces to probe for security-policy violations. Their usefulness, however, depends on whether they can reach relevant attack surfaces and produce effective attacks. When a test finds no violation, it is therefore unclear whether the subject agent resisted the attack or the service failed to exercise a weakness. Evaluating the services themselves is necessary to interpret such results and to understand which tools can reliably discover security threats in agent applications. This calls for a comprehensive benchmark that measures the capabilities of red-teaming services.

Although many benchmarks have been proposed to evaluate agent security, two important gaps remain for achieving our goal. The first gap is the evaluation target. Most agent-security benchmarks primarily evaluate how subject agents behave under attack [3, 58, 59]. AgentDojo [13], for example, measures agents' task performance and robustness to prompt injection. Comparatively, fewer studies examine the attacks themselves. REDAgentBench [10] autonomously constructs executable attack cases and verifies their effects, but its empirical comparisons focus on target

*Both authors contributed equally to this research.

†Corresponding author, queries about the benchmark can be sent to Haifeng Ruan.

Authors' Contact Information: Ruoyu Zhou, ruoyu@nus.edu.sg; Shuyao Jiang, syjiang@nus.edu.sg, National University of Singapore, Singapore; Haifeng Ruan, haifeng.ruan.office@gmail.com, National University of Singapore, Singapore; Abhik Roychoudhury, abhik@nus.edu.sg, National University of Singapore, Singapore.

models and agent harnesses rather than independently developed red-teaming services. Thus, whether sufficiently complex and diverse attacks are being considered, is not investigated. The second gap is system realism. Existing benchmarks often place plausible agent tasks in environments designed for evaluation [3, 13, 46]. These designs support controlled experiments, but benchmark-defined interfaces and service behavior may omit constraints imposed by real-world production environments. In practice, an attack must reach the agent through the application's interfaces and pass through its permissions and workflow logic before it can produce a policy violation. These details affect both which attacks are feasible and how success should be verified [6, 26, 35]. As a result, existing agent-security benchmarks provide limited evidence of how effectively red-teaming services discover violations in real-world agent systems.

In this paper, we introduce a benchmark, GreyZone, for evaluating automated red-teaming services against real-world agent applications. We treat each service as an end-to-end attacker and measure its ability to generate and deliver attacks that cause verified security-policy violations. To ground this evaluation in production-relevant environments, we build test scenarios around independently developed agent applications and their existing interfaces and workflows.

However, turning this goal into a reproducible benchmark presents two technical challenges. First, preserving realism while maintaining experimental control requires more than deploying existing applications. Attacks can modify persistent state and influence subsequent runs, while simplifying application components may remove the workflow dependencies that determine whether an attack succeeds. We therefore construct scenarios with controlled initial states and explicit reset procedures while preserving the applications' execution paths and security boundaries. Second, comparing heterogeneous attackers requires preserving each service's capabilities under comparable attack conditions. Services differ in how they generate and deliver attacks, and their reported successes may not reflect actual violations. We address this by separating service-specific adapters from scenario-defined attack constraints and by verifying outcomes through independent oracles using execution evidence and application state.

To implement this design, we organize GreyZone into 10 real-world agent applications and 46 attack scenarios. Each application consists of a subject agent, the agent system under attack, and an environment, comprising the tools, services, and resources with which it interacts. A scenario is the basic evaluation unit: it associates a subject agent and its environment with an initial state, a security policy, an attack objective, and constraints on the attacker's access and interactions. Each scenario includes an oracle, an executable evaluator that uses execution evidence and application state to determine whether the attack satisfies the scenario's success criteria. To connect red-teaming services, we provide a unified interface based on the Model Context Protocol (MCP) [41], which exposes the interactions permitted by each scenario. Service-specific adapters connect each service to this interface, allowing services to operate on shared scenarios while receiving outcomes determined independently by the oracles.

We integrate four automated red-teaming services into GreyZone, including Promptfoo [45], Dreadnode [19], PyRIT [42], and DeepTeam [14]. We conduct a preliminary evaluation using Promptfoo, with two case studies on Letta Code (a coding agent application) [31] and Clawith (a multi-agent enterprise platform) [12]. In each case study, we examine how Promptfoo generates and delivers attacks through the permitted MCP interfaces, how the subject agent responds, and whether execution evidence confirms the targeted policy violation. We analyze the resulting traces and application state to identify the factors that enable or prevent successful attacks. These case studies illustrate how GreyZone supports the evaluation of a red-teaming service within existing agent applications.

Contributions. We summarize the key contributions of this work as follows. We envision that our work can help grow interest in automated red-teaming services in the same way that SWE-bench [30] had prompted the growth of coding agents.

  • A benchmark for red-teaming services grounded in real-world agent applications. We introduce a benchmark, GreyZone, that treats automated agent red-teaming services as the systems under evaluation. It comprises 10 independently developed agent applications and 46 scenarios, each specifying an attack objective, security policy, initial state, and constraints on attacker access and interactions.

  • An executable evaluation framework with independent outcome verification. We provide a unified MCP interface and service-specific adapters for conducting attacks through permitted application interfaces. Scenario-specific oracles assess execution evidence and application state against explicit success criteria, providing outcomes independently of the services' own reports.

GreyZone is being made publicly available at https://github.com/Ruoyyy/GreyZone. Our goal in releasing the dataset is two-fold (a) enabling comprehensive evaluation of existing agent testing technologies, and (b) encourgae further research into agent testing by providing GreyZone as a challenge statement.

References (17)