Big Sleep (Google Project Zero + DeepMind)

Sources: Project Zero — From Naptime to Big Sleep (Oct 2024) · Google Cloud Blog — Big Sleep agent makes a big leap

Big Sleep is Google’s AI agent for vulnerability discovery — a collaboration between Google Project Zero and Google DeepMind. It grew out of the earlier Project Naptime framework that achieved state-of-the-art on Meta’s CyberSecEval2 benchmarks. Big Sleep’s signature methodology is variant analysis: given a previously-fixed vulnerability (commit message + diff), find similar patterns elsewhere in the codebase. Project Zero positions this narrower task as a better fit for current LLMs than open-ended vulnerability discovery.

Disclosed Capability Milestones

DateMilestoneSource
June 2024Project Naptime announced — LLM-assisted vuln research framework; state-of-the-art on Meta CyberSecEval2Project Zero (predecessor post)
October 2024Naptime → Big Sleep rebrand; first real-world vulnerability disclosed (SQLite stack buffer underflow); reported and patched same day, before any releaseProject Zero, Oct 2024
July 2025SQLite CVE-2025-6965 disclosed — vulnerability “known only to threat actors and at risk of being exploited”; first time AI agent “directly foiled efforts to exploit a vulnerability in the wild”Google Cloud Blog
August 2025Public report: ~20 security vulnerabilities foundTechCrunch coverage
March 2026Five-phase architecture disclosed at [un]prompted; false-positive rate given as zero, end-to-end and without human involvement, on deep memory-safety bugsAdkins and Flynn, Mar 2026
May 2026Named in Anthropic Glasswing announcement as Google’s parallel AI-cyber tool alongside CodeMenderHeather Adkins (VP Security Engineering) quote
July 2026Not named. CodeMender enters managed preview on Google Cloud; Big Sleep remains vendor-internal, and the two agents’ availability divergesGoogle Cloud, Jul 2026

By July 2026 Google has released a third artifact in this space. Semgrep’s July 2026 survey separately records Google’s own mantis — roughly fifteen security-focused skills under Apache 2.0, at ~400 stars, which the survey quotes as “intended to be a starting point rather than a rigid set of instructions”, naming no speaker1 It sharpens the divergence the row above records: CodeMender ships as a managed preview and Big Sleep stays vendor-internal, while the skill pack is open.

Methodology

Big Sleep’s core operating mode is variant analysis:

  1. Input: a previously-fixed vulnerability (commit message + diff).
  2. Search: scan the current repository (at HEAD) for related patterns that may not have been fixed.
  3. Output: candidate findings with reasoning trace.

This framing is chosen for three reasons (per Project Zero’s October 2024 post):

  • Real-world exploit-variant pattern: “over 40% of the 0-days discovered were variants of previously reported vulnerabilities”. Fuzzing fails to catch variants; attackers use manual variant analysis cost-effectively.
  • LLM task fit: variant analysis “remove[s] a lot of ambiguity from vulnerability research, and start[s] from a concrete, well-founded theory: ‘This was a previous bug; there is probably another similar one somewhere.’”
  • Asymmetric defender advantage: pre-release discovery means “no scope for attackers to compete: the vulnerabilities are fixed before attackers even have a chance to use them.”

Google set the variant-analysis loop inside a five-phase pipeline in March 2026. Phase 1 supplies the inputs a human researcher accumulates over years in one codebase — its past vulnerabilities, its variants, its architecture. Phase 2 is the agentic reasoning loop, forming and revising hypotheses across multi-turn model interaction. Phase 3 is the toolset the loop drives: a code browser, a Python interpreter, and a GDB debugger. Phase 4 is the verification stage: it reads debugger feedback and builds a working exploit for the crash. Phase 5 emits that exploit as a proof of vulnerability, a report Gemini writes function by function that targets a developer with no vulnerability-research background, and a false-positive rate of zero.2

The zero figure is a phase 5 output that rests on the exploit phase 4 builds during verification. Adkins scoped the claim to deep memory-safety bugs and excluded shallow cross-site scripting and integer overflows from what the research targets, and Flynn stated that while the discovery techniques carry over to web and shallow classes, “the verification techniques of the vulnerability are different.” A class with no crash to reproduce gives the verifier nothing to hold.2

Architectural Position

Big Sleep is paired with CodeMender (Google DeepMind, Oct 2025) as Google’s two-pronged vuln-discovery + patching stack:

CapabilityAgent
Discovery / variant analysisBig Sleep
Patching / proactive rewriteCodeMender

Google described the direction of the handoff in March 2026: CodeMender takes a verified Big Sleep vulnerability as its input, and Flynn presented the pair as one end-to-end discovery-and-fixing engine.2 That is architectural intent rather than an interface specification. No source states what artifact passes between them, how findings queue, or what happens when a patch fails validation.

Position in the Wiki

Big Sleep is Google’s defender-side analogue to:

All four are anchors of Frontier AI for Vulnerability Discovery, converging on the architectural argument that orchestration outperforms raw model capability. Big Sleep’s specialization is variant analysis, and by July 2026 that task framing also ships as an installable skill: Semgrep’s survey records a variant-analysis plugin in Trail of Bits’ CC-BY-SA set, alongside fp-check, as a triage-and-expansion methodology run by a host coding agent.1 What remains specific to Big Sleep is the pipeline behind the framing rather than the framing itself — the debugger-driven verification stage that builds a working exploit, and the zero false-positive rate that rests on it, which no surveyed open-source instrument reproduces.

CMM / RA Maps-to

  • CMM D7 (Observability & Detection) L5+ — Big Sleep is a defender-side discovery primitive; CVE-2025-6965 is the canonical example of AI-foiled in-the-wild exploitation.
  • CMM D8 (Supply Chain & AI-BOM) — pre-release OSS vulnerability discovery (SQLite as primary example) hardens upstream supply-chain.

Open Questions

  • Model attribution: Adkins stated in March 2026 that Gemini writes the vulnerability report.2 The model driving the agentic reasoning loop is still unnamed in any Google source.
  • Productization timeline: Big Sleep remains research-stage with select customer access via Google Cloud Security. Public GA timeline / pricing / customer base not disclosed. Google’s third security artifact, mantis, is publicly released while Big Sleep and CodeMender’s underlying research programme are not, which makes the skill pack the one path a team can adopt today without a Google Cloud relationship.1
  • Operational integration: Google states that CodeMender consumes a verified Big Sleep finding, so the research-side direction is documented; the artifact format, the queueing, and the failure path are not.2 The product side is unchanged — the July 2026 CodeMender preview does not mention Big Sleep, and the shipped product does its own scanning.
  • Value over existing fuzzing, for a buyer: Adkins stated in March 2026 that Google still runs fuzzing at scale and maintains OSS-Fuzz, and that “Big Sleep is finding things the fuzzers are missing”.2 That claim is about Big Sleep, which remains vendor-internal. CodeMender is the buyable agent and does its own scanning, and no published figure compares either against a codebase already under continuous fuzzing. An organization that already fuzzes cannot tell from anything Google has published what the purchasable product adds.
  • Glasswing role: Google is a Project Glasswing partner with Mythos access via Vertex AI. Whether Big Sleep itself uses Mythos, Gemini, or both is unclear.

See Also

Footnotes

  1. Semgrep — Comparing open source AI code security harnesses, July 2026 (no day-level date exposed; author not named). The mantis licence, star count and description are human-written; the variant-analysis and fp-check plugin descriptions are from Semgrep’s LLM-generated repository summary. Summarized at OSS AI Security Harness Comparison. 2 3

  2. Heather Adkins and Four Flynn, Evaluating Threats & Automating Defense: How Google is Advancing Code Security, [un]prompted, San Francisco (2026-03-03): Big Sleep at zero false positives end-to-end on deep memory-safety bugs, with a working exploit built as proof of vulnerability; CodeMender at 178 open-source fixes, 48 patched and 130 hardening; verification presented as the gate, and full autonomy stated as the design intent. See the talk summary. 2 3 4 5 6