Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Reported by sourceThe source says this happened. Top 200 Repos has not reproduced it.

Patch the root cause of security bugs with a validating agent, as Google’s CodeMender does

Google DeepMind’s CodeMender uses Gemini models with a debugger, static and dynamic analysis and an LLM critic to patch vulnerabilities; Google says it upstreamed 72 security fixes in six months.

The problem

How it works

Google DeepMind built CodeMender as a research agent that fixes vulnerabilities rather than only finding them. It uses Gemini Deep Think models with tools for code search, debugging, static and dynamic analysis, differential testing, fuzzing and SMT solvers. In one example the crash report pointed to a heap buffer overflow, but the agent traced the real cause to incorrect handling of XML elements during parsing. It also rewrites code proactively: Google applied it to add -fbounds-safety annotations to parts of the libwebp image library, so the compiler inserts bounds checks. Before surfacing a patch, it checks that the change fixes the root cause, passes tests, causes no regressions and follows the project’s style, using a critic agent to compare old and new code.

Results and limitations

Google reports 72 security fixes upstreamed to open-source projects over six months, some in codebases of about 4.5 million lines, and says all patches are reviewed by human researchers before submission. These are vendor claims. CodeMender was not publicly available when announced.

Before you try it

You cannot run CodeMender yourself; what you can borrow is the method: reproduce the crash, find the root cause, make the smallest fix, then prove it with tests, a sanitizer or fuzzing run, and a human review. Only test software you own or are authorised to test, and report problems in other people’s projects through their security policy. Results depend on your setup and were not independently reproduced by Top 200 Repos.

Tools and repositories

No ranked repository is involved. This use case still stands on its own source.

Tools
Gemini Deep Think models · Debugger · Static and dynamic analysis · Fuzzing · SMT solvers
Prerequisites
CodeMender itself was a research system without public access; the prompt works with any coding agent.

Try it yourself: Ask your coding agent for a root-cause security fix

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
Here is a crash or vulnerability report for [Project]: [Crash or vulnerability report]. First reproduce it with [Command that reproduces it]. Then find the root cause, which may be in a different place from where it crashes, and explain it. Propose the smallest patch that fixes the cause, not just the symptom. Prove it: rerun the reproduction, run [Test command], and tell me if any behaviour changed. Do not touch unrelated code and do not open a pull request.

Use this only on code you maintain or are authorised to work on, and have a security-minded reviewer check the patch.

Sources

  1. Introducing CodeMender: an AI agent for code security (opens in a new tab)

    Vendor post · deepmind.google · Published 6 Oct 2025 · Source checked 12 Nov 2026, 09:56 UTC

    What this source supports
    • CodeMender upstreamed 72 security fixes to open-source projects in six months, including projects of up to 4.5 million lines
    • It uses Gemini Deep Think models with a debugger, code search, static and dynamic analysis, differential testing, fuzzing and SMT solvers
    • An LLM-based critique tool checks changes for regressions; patches are validated before human review
    • Applied -fbounds-safety annotations to parts of libwebp
    • All patches are reviewed by human researchers before being submitted upstream
Report a problem

Reported by source

Audit kernel code for use-after-free bugs with a reasoning model

Sean Heelan benchmarked OpenAI o3 on a known ksmbd bug, then ran it across the SMB handlers, where it surfaced a new Linux kernel vulnerability, CVE-2025-37899.

sean.heelan.io · 22 May 2025
Reported by source

Check every pull request for security flaws with Claude Code’s security review action

Anthropic’s security review GitHub Action has Claude Code read each pull request diff, filter likely false positives and comment on risky lines; the same checks run locally with /security-review.

claude.com · 6 Aug 2025anthropics/claude-code
Reported by source

Hunt for variants of fixed bugs with an LLM agent, as Google's Big Sleep did in SQLite

Google's Big Sleep agent started from recent SQLite fixes, looked for related unfixed bugs and found an exploitable stack buffer underflow before it reached an official release.

projectzero.google · 1 Nov 2024
Planned, not done

Let an agent decompile and annotate a binary in Ghidra through GhidraMCP

GhidraMCP exposes Ghidra's decompiler and renaming tools over MCP, so an agent such as Claude Code can list functions, read decompiled code and propose clearer names.

github.comNationalSecurityAgency/ghidra