How Dropbox uses MCP and Dash to close the design-to-code security gap
Dropbox built a code-review agent that uses Dash's MCP server to retrieve relevant threat models and has a foundational LLM check whether a pull request actually implements the security requirements agreed during design review. Analysis of 150 security design reviews found only 12% of implementing PRs link back to their review, the median gap between review and PR is about five weeks, and 69% of review-to-code connections were recoverable only through semantic search. Surfacing threat-model context exposed missing controls and contradictions that static analysis cannot detect. Design principles include validating findings before showing them, tracing each finding to a source requirement, keeping most findings advisory, and handling stale requirements.
Related posts
- Detecting malicious pull requests at scale with LLMs
Datadog Engineering mediumAdeptDatadog's SDLC Security team built BewAIre, an LLM-based reviewer that classifies the diff of every merged PR (nearly 10,000 a week) as benign or malicious, with a written rationale emitted as a security signal for real-time triage. Large diffs are recursively chunked at file markers, then newlines, then midpoints, and the most severe chunk verdict wins, with depth and chunk limits to bound cost. A hand-curated, weekly-updated dataset of real and simulated attacks, prompt-level false-positive exclusions, balanced accuracy as the metric, shadow-mode triage and red teaming cut false positives from over 10% to 0.03%. On the curated set it reached over 99.3% accuracy and caught the tj-actions and Nx s1ngularity malicious commits.
- Securing Software at the Speed of AI
Palantir easyNovicePalantir's Product Security Team runs a model-agnostic, multi-agent security review pipeline, productized as Security Forge, with AIP orchestrating staged agent workflows (Foundation, Hunt, validation/challenge, Synthesis), Foundry's Ontology retaining findings, lineage and triage decisions as reusable context, and Apollo delivering fixes across the fleet. Key lessons: code review and vulnerability analysis delivered the most repeatable value. Different models and repeated runs surface different findings, so cross-model and repeated execution matter. Deduplication should compare source-to-sink paths rather than rely on semantic similarity, and an independent judging agent should challenge findings before they are reported. Palantir argues that remediation, not discovery, is now the bottleneck, and that organizational security context should remain sovereign rather than flow to hosted model providers.
- Keeping code moving with clearer review expectations
Sourcegraph mediumAdept
Sourcegraph is experimenting with an AI agent that routes each pull request to one of three review paths: Ship (no review), Show (review after merge) or Ask (review before merge). The agent inspects the diff, surrounding code and the author's history, and application code applies explicit rules to pick a path. Familiarity requires two merged, reviewed PRs plus a relevant contribution in the past 30 days, and changes to authentication or sensitive-data exposure always require review. Early lessons: familiarity must be scoped to specific components, visible reasoning makes decisions contestable, and the bot's own comments can become interruptions. Fewer stamp requests so far says little about review quality.
- How the Claude Code team does code review
claude.dev mediumAdeptClaude Code's review process aims for the minimum human review time that doesn't raise reverts or incidents. Merged PRs more than doubled from June to September while the revert share fell over 40%. Review is layered: self-verification before a PR, multi-agent AI review with voting to filter false positives, blocking security review, CI checks, risk-tiered human approval set by classifiers, then merge queue, flags, staged releases and fast rollback. The reviewer is improved with a daily eval built from past incidents, noise is measured from how authors respond to comments, and runaway agent-vs-agent loops are stopped with a three-round cap and diff-only re-review.
- ClickGap: Autonomous QA for ClickHouse
ClickHouse mediumAdept
ClickGap is an autonomous QA agent that reviews every pull request merged into ClickHouse, writes and runs tests against real builds, bisects regressions, and files issues and test-only PRs without human sign-off. In five months it filed about 500 issues and 200 coverage PRs, more than half of the issues already closed as completed. Candidate findings must survive an adversarial reviewer and ten gates, eight enforced as plain code, including executed reproducers, valid citations, existing-test searches, mutation kill-tests for coverage claims, and matching against past false positives. Reviews cost a couple of dollars each, smaller models handle recoverable subtasks, and every cost cut must pass a recall benchmark that replays previously confirmed bugs.