https://github.com/uber/ADR
ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber.
https://github.com/uber/ADR
agent-security ai-agents ai-security benchmark claude claude-code codex cursor llm-security mcp model-context-protocol prompt-injection threat-detection
Last synced: 3 months ago
JSON representation
ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber.
- Host: GitHub
- URL: https://github.com/uber/ADR
- Owner: uber
- License: apache-2.0
- Created: 2026-04-19T18:01:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-08-15T02:00:32.000Z (3 months ago)
- Last Synced: 2026-08-15T23:16:18.258Z (3 months ago)
- Topics: agent-security, ai-agents, ai-security, benchmark, claude, claude-code, codex, cursor, llm-security, mcp, model-context-protocol, prompt-injection, threat-detection
- Language: Python
- Homepage: https://arxiv.org/abs/2605.17380
- Size: 11 MB
- Stars: 1,427
- Watchers: 10
- Forks: 125
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Notice: NOTICE.md
Awesome Lists containing this project
- awesome-opensource-ai - ADR (Uber) - Enterprise security system for AI agents providing telemetry collection, benchmark evaluations, and threat detection. Apache 2.0 licensed.  (8. MLOps / LLMOps & Production)
- awesome-ai-security - ADR - *Enterprise agentic AI detection and response โ observability, security benchmarking (300+ tasks, 133 MCP servers), and dual-agent threat detection. Deployed at Uber. MLSys 2026.* (Defense & Security Controls / Agent Runtime Security & Sandboxing)
- AiTreasureBox - uber/ADR - 08-24_1496_6](https://img.shields.io/github/stars/uber/ADR.svg)|ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber.| (Repos)
- awesome-ai-security-tools - ADR - ๐ข๐ฌ โ Agentic AI Detection and Response system combining cross-client agent telemetry, ADR-Bench security scenarios, and a dual-agent detector for suspicious intent, tool use, and execution traces. *(Uber)* โ **note:** deployed at Uber and published with an MLSys 2026 paper; the open release includes the Sensor, benchmark, and Detector, but not ADR Prevention or the offline ADR Explorer. Default detector configurations require model-provider credentials. *(โ 2,020 ยท updated 2026-10-12)* (AI Agent & Coding-Agent Security / Runtime Protection & Enforcement)
- awesome-x-ops - ADR - 2.0 agentic AI detection and response system combining agent telemetry, security benchmarking, and threat detection for enterprise AI agents. (Security and Supply Chain / Streaming Operations)
README
# ADR: Agentic AI Detection and Response
ADR (Agentic AI Detection and Response) is an enterprise security system for AI agents. It helps organizations secure employee-facing agents such as Cursor, Claude Code, and Codex, as well as customer-facing agents such as AI support agents.
ADR is **deployed in production at Uber**, and the accompanying paper was accepted to **MLSys 2026**: [Paper PDF](docs/adr-paper.pdf) ยท [Slides PDF](docs/adr-mlsys-2026-slides.pdf)
## How ADR secures enterprise AI agents
ADR secures enterprise AI agents through four complementary capabilities: observing agent activity, evaluating defenses, detecting threats, and preventing unsafe actions.
1. **ADR Observability: Understand what AI agents are doing and why.** In production, ADR captures agent intent, tool use, and execution traces across 7+ AI coding tools on macOS, Linux, and Windows, as well as internal automation and customer-facing support agents.
2. **ADR Benchmark: Test agent security under realistic enterprise conditions.** ADR-Bench includes 300+ tasks, 133 MCP servers, and coverage of all 17 agent attack techniques.
3. **ADR Detection: Detect risky agent behavior efficiently.** Its two-tier architecture combines high-recall triage with deeper agentic reasoning for suspicious sessions.
4. **ADR Prevention: Stop unsafe actions before they cause harm.** This component is not included in the current open-source release. **Stay tuned.**
## Repository layout
This repository contains the open-source **ADR Sensor**, **ADR-Bench**, and **ADR Detector** described in the paper. The offline **ADR Explorer** engine, which hardens ADR Detection through pre-deployment red teaming, is not included here.
| Path | ADR component | Description |
| -------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------ |
| [Sensor/](Sensor/) | ADR Observability | Collect and normalize agent telemetry from Claude Code, Cursor, Codex, opencode, Claude Desktop, and others |
| [Detection/](Detection/) | ADR Benchmark + Detection | Dual-agent detector, 133 MCP servers, 303 benchmark tasks, baselines, figure scripts |
| [docs/REPRODUCIBILITY.md](docs/REPRODUCIBILITY.md) | Evaluation | Step-by-step workflow to reproduce benchmark detection and paper figures |
## Quick start: ADR Detection
```bash
git clone https://github.com/uber/ADR
cd ADR/Detection
uv sync
export ANTHROPIC_API_KEY="..." OPENAI_API_KEY="..."
```
Default detector is `adr` (ADR dual-agent). For keyless smoke tests, use `--detector llamafirewall` (see [Detection/README.md](Detection/README.md)).
See **[docs/REPRODUCIBILITY.md](docs/REPRODUCIBILITY.md)** for the full evaluation workflow (inflate packed benchmark โ run detectors โ plot figures).
Component documentation:
- [Sensor/README.md](Sensor/README.md): telemetry collection and unified schema
- [Detection/README.md](Detection/README.md): ADR-Bench, detector baselines, MCP infrastructure
## Citation
```bibtex
@inproceedings{li2026adr,
title={ADR: An Agentic Detection System for Enterprise Agentic AI Security},
author={Li, Chenning and Hu, Pan and Xu, Justin and Ozbas, Baris and Liu, Olivia and Van, Caroline and Li, Manxue and Zhou, Wei and Alizadeh, Mohammad and Zhang, Pengyu and Sriramadhesikan, KK and Zhang, Ming},
booktitle={Proceedings of the Ninth Conference on Machine Learning and Systems},
year={2026}
}
```
Or use [CITATION.cff](CITATION.cff).
## License
Apache License 2.0. See [LICENSE](LICENSE). `Detection/benchmark/agentdojo/` is vendored third-party code under its own [LICENSE](Detection/benchmark/agentdojo/LICENSE) (MIT).
## Data notice
`Detection/` includes **synthetic** benchmark fixtures (fake credentials, emulated environments, prompt-injection scenarios) for defensive security research only. Details: [docs/OPEN_SOURCE_REVIEW.md](docs/OPEN_SOURCE_REVIEW.md).