AI
Dropbox Bridges Security Design and Code Review With AI-Driven Context Retrieval
Dropbox uses Model Context Protocol and its internal knowledge system to surface threat models and security requirements during code review, keeping security intent visible at the point of implementation.
InfoQ
Dropbox has unveiled an engineering system that brings threat models, design documents, and security requirements directly into code review workflows—bridging a long-standing organizational gap where security intent is defined early but verified only later, often without sufficient context.
In most large teams, security artifacts live separately from the codebase. As systems evolve, these documents grow stale or disconnected from actual implementation, forcing reviewers to manually hunt across disparate systems to trace whether code changes honor original design decisions. This manual work often misses requirements or leads to inconsistent enforcement.
How the System Works#
Dropbox's solution combines two key pieces: Dash, its internal knowledge indexing and retrieval system, and the Model Context Protocol (MCP), an open standard that lets AI systems access organizational context. When a pull request lands, the system identifies relevant code changes, retrieves associated threat models and security requirements from Dash via MCP, and surfaces them directly in the code review interface. This eliminates context-switching and keeps security documentation active rather than passive.
The approach preserves existing access controls—Dash handles permission-aware retrieval, encryption, and audit logging behind the scenes, ensuring sensitive material remains accessible only to authorized staff.
From Retrieval to Reasoning#
The engineering team, led by Ishan Mishra, designed the system to do more than fetch documents. It compares retrieved security context against the actual code change, identifying where implementation might deviate from original design intent. As Mishra explained, "It does not replace the security reviewer, but it changes the review from a generic code-quality exercise into one that's grounded in the original design intent."
Dropbox chose MCP as the orchestration layer rather than building custom integrations into CI or code review tools. This standardization lets the code review agent simply request relevant context without needing to know how or where information lives. The payoff is reusability—the same pattern can extend to privacy, compliance, API governance, and design reviews.
Avoiding False Confidence#
A critical design principle guards against false security: the system is not a source of truth but an evidence surface. Findings must be traceable and grounded in both requirements and code. Developers aren't meant to believe the AI has certified anything; rather, the goal is to make it harder for previously agreed security requirements to disappear from the workflow.

