Latest AILatest AI

$

CodeMender: The AI Tool Quietly Fixing Software Vulnerabilities Before Hackers Can Strike


By: Latest AI Team

Oct 07, 2025 - 10:21 AM
584

2 min read


CodeMender: The AI Tool Quietly Fixing Software Vulnerabilities Before Hackers Can Strike

A Smarter Way to Fix Software Flaws

Finding and patching software vulnerabilities is one of the toughest jobs for developers. Even automated tools often miss subtle issues. That’s why researchers have built CodeMender, an AI-powered agent that doesn’t just detect problems, it fixes them.

Over the past six months, CodeMender has already submitted 72 security fixes to open-source projects, some with over 4.5 million lines of code. The tool acts both reactively, by patching new flaws instantly, and proactively, by rewriting risky code to eliminate entire vulnerability classes.

How CodeMender Works

CodeMender uses the reasoning power of Gemini Deep Think models to detect and repair complex bugs. It relies on static and dynamic analysis, fuzzing, and multi-agent systems to identify root causes and validate every patch automatically before human review.

In one case, CodeMender tracked a heap buffer overflow in XML parsing down to an incorrect stack handling process. In another, it fixed a complex object lifetime issue by editing a custom C code generator, something even expert developers might struggle with.

Rewriting Code for Safety

The AI also rewrites code for long-term protection. For instance, it applied -fbounds-safety annotations to the libwebp library, which could have prevented past zero-click iOS exploits like CVE-2023-4863.

✧ The End ✧

Keywords
CodeMenderSoftware VulnerabilitiesAI Tool
Related News