Holy shit...Google just dropped CodeMender an autonomous AI agent that finds and fixes security bugs…
@hasantoxr436K followers
127,375 views
41 Comments
Comments from the original post on X (Twitter)

@hasantoxr
CodeMender is built on Gemini Deep Think models multi-step reasoning LLMs that can analyze, debug, and validate code fixes autonomously. It’s not just scanning for CVEs. It’s understanding execution flow, data flow, and logic then generating a patch that survives real-world tests.
25 likes

@hasantoxr
The scale is ridiculous. In six months, CodeMender has already upstreamed 72 security fixes across open-source projects some over 4.5M lines of code. Every fix validated. Every patch human-reviewed.
22 likes

@hasantoxr
Here’s why this is a breakthrough: Typical automated security tools guess. CodeMender reasons. It runs static and dynamic analysis, uses SMT solvers and fuzzing, and then critiques its own patches with multi-agent verification before surfacing them for review. That’s AI doing full-cycle secure coding.
7 likes

@hasantoxr
Two examples show what it’s capable of: — It traced a heap overflow back to a mismanaged XML stack (non-trivial root cause). — It fixed a complex object lifetime bug by rewriting parts of a custom C codegen system. No prompt. No script. Just autonomous reasoning.
4 likes

@hasantoxr
Then it gets wild: CodeMender can proactively rewrite old codebases for safety. It added -fbounds-safety annotations to libwebp the same library that powered the iOS zero-click exploit (CVE-2023-4863). Those annotations make similar buffer overflows literally unexploitable forever.
9 likes

@hasantoxr
This isn’t science fiction. The agent tests and self-corrects every fix using an “LLM judge” to check functional equivalence. If a test fails, the model revises the patch until it passes. That’s how AI-assisted code security goes from “experimental” to production-grade.
3 likes

@hasantoxr
The endgame here is obvious: Autonomous, safety-first AI dev pipelines. Where LLMs don’t just write code they protect it. They reason through vulnerabilities, validate fixes, and proactively re-architect insecure code. CodeMender is the first glimpse of that future.
4 likes

@hasantoxr
The team behind it led by Raluca Ada Popa and Four Flynn is taking it slow. Every patch still goes through human review before merge. But the direction is clear: AI won’t just code. It’ll secure the world’s software stack in real time.
4 likes

@hasantoxr
The real story: AI is no longer just building apps. It’s becoming the maintainer of the internet’s infrastructure. And this time, it’s not asking permission it’s patching the bugs before anyone else can exploit them. CodeMender changes everything.
9 likes

@hasantoxr
As always, Thank you for reading this. If you enjoyed this post: 1. Follow me @hasantoxr for more of these 2. RT the tweet below to share this thread with your audience
4 likes

@rushyasrunga_
Google did not drop anything, they shared results of their experimental agent early results. Code Mender is not yet released for public
14 likes

@ishraqkhann
Very similar to
4 likes

@imrajpattanayak
As a security engineer, I can tell you this: code review is critical to the ecosystem. We've had tools that analyze and fix code, but AI is taking this to the next level. When it comes to fixing vulnerabilities, human oversight is essential. With the rise of vibe coding, more people will realize that secure code needs to be a top priority.
1 like

@NuScienta
Google just turned security into automation.
1 like

@Nate1601
Okay, so Skynet but for code? 😂 Seriously though, this could free up developers to focus on more creative tasks. Exciting times!
1 like

@MrZ2128
wow that is ironic that would make this L4 plus intresting as someone who makes stuff like this intruguing this is an AI OS I made with @Zai_org
1 like

@danieldevvv
If it works as “well” as Antigravity, I nope tf out.
1 like

@AbdMuizAdeyemo
CodeMender patches vulnerabilities before humans find them Not static analysis - autonomous reasoning that fixes security bugs in real time AI agents finding and fixing code while you sleep The security layer just went fully autonomous

@Earth_271
AI cyber security is gonna need to be like a government tax dollars pays for it service that everyone gets.

@JTL87i
Googles ecosystem feels like 10 different startups



















