Skip to content

Uber proposes ADR enterprise-level agent detection system, deployed on 7,200 hosts for ten monthsADR: An Agentic Detection System for Enterprise Agentic AI Security

Paper Tracker· arXiv:2605.17380· Chenning Li, Pan Hu, Justin Xu, Baris Ozbas, Olivia Liu, Caroline Van, Manxue Li, Wei Zhou, Mohammad Alizadeh, Pengyu Zhang, KK Sriramadhesikan, Ming Zhang·Indexed by this site · 2026-10-06· Originally publishedSelected DefensesSelectedAttention39

Quick read

Defenses

Based on the paper PDF (generated by Gemini); refer to the original

The Uber team proposes an enterprise-grade agent detection system called ADR, which achieves zero false positives and an F1 of 0.800 on ADR-Bench and blocks credential leakage in production deployment.

Threat modelAttackers use natural language prompt injection, malicious/shadow MCP servers, and tool manipulation to induce agents to perform unauthorized operations, leak credentials, or disrupt availability; they exploit the semantic gap to make behavior appear benign on the surface.

Questions
MCP-based agents in enterprises face new security threats such as prompt injection and credential exfiltration; traditional EDR lacks intent telemetry, full LLM detection is too computationally expensive, and rule-based defenses are difficult to generalize.
Methods
Proposes the ADR framework, which reconstructs causal telemetry through Sensors, uses two-level online detection (lightweight initial screening and deep reasoning with multiple MCP contexts), and combines an offline Explorer that evolves red teaming to generate adversarial intelligence.
Experiments and results
On ADR-Bench, ADR achieved 1.000 precision and 0.800 F1 (28/42 detected, 0 false positives); on AgentDojo it detected all 38 injections; in production deployment it blocked credential leakage.
Limitations and future work
The authors note the need to extend to multi-agent collaboration protocols and gateway-level real-time protection; the evaluation covers 133 MCP servers and 17 techniques, and in production, 49% of alerts were manually judged as benign escalations.
Experimental setupGPT-4o、Claude Sonnet 4 · ADR-Bench、AgentDojo · Precision、Recall et al.
Evaluated models
GPT-4oClaude Sonnet 4
Benchmarks
ADR-BenchAgentDojo
Metrics
PrecisionRecallF1-scoreTPFPFPRCost/Task ($)Latency (s)Cost/TP ($)P95 Lat. (s)
AI summaryand selection rationaleAccording to Uber's team self-report, the Uber team proposed the ADR (Agentic AI Detection and Response) system to protect AI agents running via MCP, consisting of the ADR Sensor, which collects prompts, reasoning steps, and causal chains of tool calls, the ADR Explorer for pre-deployment red teaming, and the ADR Detector for two-level online detection. The system has been deployed at Uber for over ten months, covering more than 7,200 hosts, processing over 10,000 agent sessions daily, discovering 26 types of credential leaks, and supporting a credential leak interception layer with 97.2% precision. ADR-Bench, along with the ADR Sensor and detection framework source code, has been open-sourced on GitHub. The above deployment scale and effects come from the team's own report, not independent verification results.

According to Uber's team self-report, the Uber team proposed the ADR (Agentic AI Detection and Response) system to protect AI agents running via MCP, consisting of the ADR Sensor, which collects prompts, reasoning steps, and causal chains of tool calls, the ADR Explorer for pre-deployment red teaming, and the ADR Detector for two-level online detection. The system has been deployed at Uber for over ten months, covering more than 7,200 hosts, processing over 10,000 agent sessions daily, discovering 26 types of credential leaks, and supporting a credential leak interception layer with 97.2% precision. ADR-Bench, along with the ADR Sensor and detection framework source code, has been open-sourced on GitHub. The above deployment scale and effects come from the team's own report, not independent verification results.

Why it was selectedThe Uber team publicly released the architecture of an agent detection system run on 7,200 hosts for ten months, along with the ADR-Bench benchmark, which enterprises can use as a reference when building MCP security monitoring.

Related events and news

1 events · 2 news mentions

News that mentions this paper

用嵌入模型检索AI智能体会话辅助威胁狩猎

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Addresses the problems of enterprise MCP agents lacking semantic telemetry, rules being difficult to generalize, and the high cost of full-scale LLM detection.

    The paper attempts to solve the attack detection and defense challenges faced by AI agents based on the Model Context Protocol (MCP) in enterprise environments.

    • Scenario and importance: Enterprises increasingly rely on MCP to connect large language models to external tools and systems to automate complex workflows, but this also introduces attack surfaces such as natural language manipulation, compromised MCP servers, and data exfiltration.
    • Shortcomings of existing defenses: The authors point out that traditional endpoint detection and response (EDR) can only capture file writes and network calls and cannot obtain semantic context such as user prompts and model reasoning chains; using full LLM inference for online detection is too costly at scale; and static defenses based on predefined rules generalize poorly against diverse attacks.
    • Threat model:
      • Attacker goals: Achieve initial access and malicious execution, abuse tool permissions, bypass security controls, manipulate reasoning or data, and disrupt system availability (Table 3).
      • Attacker capabilities: Attackers can intervene in agents through indirect prompt injection (e.g., malicious emails, Jira tickets), configuring malicious or shadow MCP servers, manipulating tool outputs, and inducing arbitrary code execution.
      • Victim systems: MCP host environments running on enterprise endpoints (e.g., Cursor, Cline, Claude Code) and their connected MCP tool ecosystems.
    • The paper's core observation and countermeasure: Attackers exploit a "semantic gap" to make malicious behavior appear benign on the surface. The paper proposes an enterprise-grade end-to-end protection system called ADR, which restores telemetry through endpoint sensors, balances cost and accuracy with online two-tier detection, and uses offline red teaming to generate intelligence to improve robustness.
  2. What related research exists?

    Reviews agent security benchmarks, agent defense systems, and automated red teaming research, pointing out their shortcomings in MCP coverage and adaptivity.

    The paper mainly discusses three categories of related work:

    Benchmarks for Agent Security

    • Non-native MCP benchmarks: ToolEmu (Ruan et al., 2023), AgentDojo (Debenedetti et al., 2024), AgentHarm (Andriushchenko et al., 2024), AgentSafetyBench (Zhang et al., 2024b), and AgentSecurityBench (Zhang et al., 2024a) — focus on prompt injection or basic tool misuse and do not natively support MCP architecture.
    • Preliminary MCP security benchmarks: MCP-Artifact (Song et al., 2025), RAS-Eval (Fu et al., 2025), and MCP-AttackBench (Xing et al., 2025) — begin to model MCP security, but the authors note that they cover a scattered set of threat techniques (only 3 to 5), and focus only on attack scenarios, lacking the diversity and class imbalance of benign behavior in enterprise environments.

    Defending LLM Agents and MCP Security

    • Preventive guardrails and policy enforcement: LlamaFirewall (Chennabasappa et al., 2025), GuardAgent (Xiang et al., 2024), ShieldAgent (Chen et al., 2025), and AGrail (Luo et al., 2025) — use rules, policy graphs, or verifiable rule circuits to validate agent behavior at runtime; the authors argue that these systems are limited by input policies and struggle to handle unknown threats.
    • Detection mechanisms: Traditional log anomaly detection often lacks semantics, while ALRPHFS (Xiang et al., 2025) uses adversarial learning to extract risk patterns combined with fast-slow dual-path reasoning, but the authors note that it relies on pre-learned patterns and cannot proactively discover zero-day threats in live agent systems.

    Automated Red Teaming

    • Prompt-level red teaming frameworks: Genetic algorithm-based (Liu et al., 2023; Lapid et al., 2024), gradient search-based (Zou et al., 2023; Chen et al., 2024), and agent-collaborative AutoRedTeamer (Zhou et al., 2025) — the authors note that these methods focus on jailbreaking the underlying LLM itself and do not deeply target full-chain vulnerability discovery in enterprise-grade agent systems.

    Baseline Methods and Benchmark Positioning

    • Experimental comparison baselines: Meta's LlamaFirewall, GuardAgent based on policy graph reasoning, and ALRPHFS using fast-slow tiered reasoning.
    • Evaluation benchmarks: The public prompt injection benchmark AgentDojo, and the enterprise-grade benchmark ADR-Bench constructed in the paper.
    • Authors' positioning: The authors position ADR as the first enterprise-grade MCP security protection system that combines endpoint fine-grained causal telemetry, two-tier triage online detection, and offline evolutionary red teaming in a closed loop.
  3. How does the paper address this problem?

    By reconstructing causal telemetry through Sensors, combined with Tier 1/2 tiered detection and Explorer evolutionary red teaming, closed-loop protection is achieved.

    ADR overall adopts an architecture of endpoint sensor (ADR Sensor) + online two-tier detector (ADR Detector) + offline red-team explorer (ADR Explorer), simulating an enterprise security operations center (SOC) workflow to address semantic attacks.

    Endpoint observability: ADR Sensor

    • Causal chain collection: The Sensor is a lightweight endpoint component that parses local SQLite and JSONL storage from tools such as Cursor, Cline, and Claude Code, reconstructing the full chain of prompts, thought processes, tool calls, and environmental context.
    • Runtime characteristics: It runs on an hourly schedule; the authors report an average single-run time of 0.182 seconds and send telemetry results to a backend analysis system.

    Online two-tier triage detection: ADR Detector

    • Tier 1 fast initial screening: A lightweight LLM scans high-throughput events for sensitive keywords, privilege escalation, and anomalous combinations. The design principle leans conservative: uncertain events are escalated to Tier 2, while clearly benign events are short-circuited.
    • Tier 2 deep semantic contextual reasoning: Escalated events are verified by a reasoning agent using three MCP protocol services:
      1. Source code review (get_source_code): inspects MCP tool source code to confirm its actual functionality;
      2. Threat intelligence retrieval (get_threat_framework): retrieves known tactic and technique context;
      3. Policy verification (get_policies, assess_policy_violations): verifies organizational compliance and security rules.

    Offline evolutionary red-team engine: ADR Explorer

    • Three-agent co-evolution: A red-team agent generates mutated candidate attacks, an evaluation agent executes them in a sandbox and measures escape and harm, and a threat intelligence agent distills attack patterns into the intelligence repository.
    • Fitness evaluation objective: Candidate attacks are scored using a fitness function: F = ϵ × σ × τα where ϵ is execution progression depth, σ is semantic naturalness, τ is potential destructiveness, and the parameter α controls the weight on destructiveness (set to α = 1.2 in the configuration).
    • Convergence guarantee: Convergence of the evolutionary loop is guaranteed through the constraint ρ × μ < 1.0 (ρ is the survival rate, μ is the number of mutations per surviving sample).

    Threat intelligence closed loop

    • Rule feedback: Features distilled by the Explorer are labeled and updated in the threat repository; the online Tier 2 reasoning agent can read them immediately and dynamically adjust the MCP review tools invoked and the decision weights accordingly.
  4. What experiments did the paper conduct?

    Achieved 0 false positives and 0.800 F1 on ADR-Bench, 0.962 F1 on AgentDojo, and completed production deployment validation.

    Experimental Setup

    • Models and systems under test: ADR internally uses GPT-4o for Tier 1 initial screening and Claude Sonnet 4 for Tier 2 reasoning; comparison baselines include LlamaFirewall (using Llama Guard 3-8B), GuardAgent (using GPT-4o), and ALRPHFS (using text-embedding-3-large and Claude Sonnet 4).
    • Datasets and scale: ADR-Bench (302 tasks, including 42 malicious and 260 benign tasks, involving 133 MCP servers and 729 tools); AgentDojo (93 tasks, including 38 malicious and 55 benign tasks).
    • Evaluation metrics: Precision (Prec.), Recall, F1 score (F1), true positive/false positive counts (TP/FP), false positive rate (FPR), cost per task (Cost/Task), average latency (Latency), cost per true positive (Cost/TP), and 95th percentile latency (P95 Lat.).
    • Review and testing conditions: All detectors are evaluated under the same hardware and fixed prompt settings, with no hyperparameter tuning for specific tasks.

    Main Results

    Performance and overhead of each detection system on ADR-Bench and AgentDojo are shown in the table below (per Table 2):

    Swipe horizontally to read the table

    DetectorBenchmarkPrec.RecallF1TP/FPFPRCost/Task ($)Latency (s)P95 Lat. (s)
    ADR (Ours)ADR-Bench1.0000.6670.80028/00.0000.02418.537.9
    ALRPHFSADR-Bench0.3330.4050.36617/340.1300.0019.214.8
    GuardAgentADR-Bench0.2310.2140.2229/300.1150.0129.412.5
    LlamaFirewallADR-Bench0.1670.1900.1788/400.1530.45993.8225.7
    ADR (Ours)AgentDojo0.9271.0000.96238/30.0550.01218.547.3
    ALRPHFSAgentDojo0.9140.8420.87732/30.0550.00413.617.0
    GuardAgentAgentDojo0.7710.7110.74027/80.1450.01010.113.9
    LlamaFirewallAgentDojo0.6380.9740.77137/210.3820.01211.423.0
    • High precision on enterprise benchmark: The authors report that ADR achieves zero false positives (0 FP) on ADR-Bench, with an F1 of 0.800, higher than the three baselines (0.178–0.366).
    • High detection of prompt injection: On AgentDojo, ADR detects all 38 attack tasks, achieving an F1 of 0.962.
    • Cost and latency trade-off: On ADR-Bench, ADR's average cost per task is $0.024, higher than GuardAgent ($0.012) but lower than LlamaFirewall ($0.459).

    Threat Tactic Sub-Results

    • Tactic detection rate distribution: Among the 5 tactics in ADR-Bench, Security Control Bypass is 100% (5/5), Operational Impact is 100% (4/4), Initial Access & Execution is 68% (13/19), Reasoning & Data Manipulation is 56% (5/9), and Permission Abuse is 20% (1/5) (Figure 6a and Section 5.2).

    Real Production Deployment and Credential Protection

    • Online scale and alert composition: The system has been deployed at Uber for over 10 months, covering more than 7,200 enterprise MacBook hosts, processing over 10,000 sessions daily; among manually reviewed alerts, true positives (TP) account for 34%, non-malicious true positives (TPNM, from internal security exercises) account for 17%, and false positives (FP) account for 49% (Section 6.1).
    • Pre-prompt hook interception: At the endpoint, a preprocessing hook based on regex and information entropy is introduced, intercepting 206 real credential leaks across hundreds of thousands of sessions, with 6 false positives, achieving a precision of 97.2% (Section 6.2).
    • Real-world threat simulation: In internal CTF and Agent Flayer attack chain simulations, ADR successfully correlates prompt injection, configuration reading, and exfiltration behaviors and generates alerts (Section 6.3).

    Other Ablations and Analysis

    • Removing the Triage initial screening layer: Recall increases from 0.667 to 0.805, but 2 false positives reduce precision to 0.943, cost per task rises to $0.031, and average latency rises to 28.1s (Section 5.3).
    • Removing the Source Code MCP service: Recall drops to 0.571 and F1 to 0.676 (Section 5.3).
    • Removing the Threat Intel MCP service: Recall drops to 0.585 and F1 to 0.716 (Section 5.3).
    • Removing the Policy MCP service: Recall is 0.675 and F1 is 0.806 (Section 5.3).
  5. What are some points that can be further explored?

    The authors note the need to extend multi-agent and gateway protection; experiments covered two benchmarks, three baseline types, and enterprise endpoint deployment.

    Limitations and future directions noted by the authors

    • Multi-agent protocol extension: The authors note a future opportunity to extend ADR to multi-agent coordination protocols (Section 8).
    • Real-time protection at the gateway layer: The authors propose exploring adaptive real-time defense mechanisms at the MCP gateway layer in the future (Section 8).
    • Tighter integration with the MCP standard: The authors note the need to more closely integrate with the evolving MCP specification to further shorten the interval between detection and response (Section 8).
    • Gateway lacks intent information: The authors note that the gateway-based approach cannot capture environmental context and is incompatible with streaming output; if gateway-first detection is adopted, the MCP specification would need to support passing an intent field (Section 3.1).
    • Adversarial adaptive risks: The authors note the system faces adversarial adaptive risks such as prompt fragility, model drift, and attackers attempting to manipulate the initial screening and reasoning (Section 3.2).
    • User profiling modeling needs: In production, non-malicious operations such as penetration testing account for 17% of alerts; the authors note the need to model user role profiles and contextual intent (Section 6.1).

    Experimental coverage

    • Evaluation benchmark scope: Offline benchmark testing covered two benchmarks: ADR-Bench (302 tasks) and AgentDojo (93 tasks).
    • Baseline coverage: Compared baselines included three defense systems: LlamaFirewall, GuardAgent, and ALRPHFS.
    • MCP servers and tools: ADR-Bench includes 133 MCP servers and 729 tools, covering 17 attack techniques and 14 service categories.
    • Endpoint platform deployment: Production deployment covered Uber's internal Intel and ARM architecture MacBook endpoints.
    • Unreported information: The paper does not report the per-round sample size during Explorer evolution or the total iteration budget time, nor does it report the detailed detection rates for specific tactics on AgentDojo.
  6. Summarize the main content of the paper

    Proposed the ADR system with endpoint causal telemetry, two-tier online triage, and an offline red-teaming closed loop, and validated its effectiveness in a production environment.
    • Positioning and goals: The paper targets threats faced by enterprise MCP agents, such as unauthorized access and data exfiltration, and proposes a protection system called ADR that integrates endpoint telemetry, tiered online detection, and offline evolutionary red teaming.
    • Core method: Endpoint Sensors parse local caches to reconstruct the complete causal chain of "prompt–thought–tool call–environment"; online, a lightweight LLM performs Tier 1 initial screening, and a Tier 2 reasoning agent conducts deep investigation using source code and policy MCPs; offline, an Explorer performs evolutionary red teaming to generate threat intelligence and closes the loop by feeding it back.
    • Main experimental results: On ADR-Bench, which includes 133 MCP servers, ADR achieves 0 false positives, 0.667 recall, and 0.800 F1 (baseline F1 is only 0.178–0.366); on AgentDojo, it detects all 38 injection attacks with an F1 of 0.962; the per-task cost is $0.024.
    • Production deployment validation: Deployed on more than 7,200 enterprise endpoints at Uber for over 10 months, and used pre-execution hooks to block 206 credential-exfiltration risks (97.2% precision).
    • Authors' conclusions and implications: The authors believe endpoint causal-chain telemetry and tiered contextual reasoning are key to defending against semantic attacks on agents, and they plan to further explore gateway-layer real-time protection and multi-agent protocol adaptation.

Related papers

Show 3 more papers
Read originalarxiv.org