DeepMind’s latest AI tool wants to detect and repair software vulnerabilities before they get attacked

  • CodeMender automatically generates AI-reviewed security patches for open source projects
  • Google DeepMind says CodeMender reduces vulnerability workloads through code validation
  • DeepMind plans wider developer release once CodeMender’s reliability is confirmed

Google DeepMind has revealed CodeMender, an artificial intelligence agent it says can automatically detect and fix software vulnerabilities before they are exploited by hackers.

Google’s AI research arm says the new tool can secure open source projects by generating patches which can be applied once they’ve been reviewed by human researchers.

CodeMender builds on DeepMind’s Gemini Deep Think model and uses multiple analysis tools, including fuzzing, static analysis, and differential testing, to identify root causes of bugs and prevent regressions.

Helping not replacing humans

Raluca Ada Popa, senior staff research scientist at DeepMind, and John “Four” Flynn, its vice president of security, said the system had already delivered dozens of fixes.

“Over the past six months that we’ve been building CodeMender, we have already upstreamed 72 security fixes to open source projects, including some as large as 4.5 million lines of code,” Popa and Flynn wrote in a DeepMind blog post.

The company says CodeMender can act both reactively and proactively, repairing discovered flaws and rewriting code to remove classes of vulnerabilities entirely.

The system should ultimately be able to reduce the security maintenance workload by validating its own patches before sending them for human review.

The review step is something that Google is keen to stress, noting CodeMender isn’t there to replace humans, but rather to act as a helpful agent and expand the increasing volume of vulnerabilities that automated systems can detect.

In one case, the team says CodeMender automatically applied -fbounds-safety annotations to parts of the libwebp image compression library, a step DeepMind claims would have prevented past exploits.

The annotations force the compiler to check buffer boundaries, lowering the risk of overflow-based attacks.

The developers also acknowledge the growing use of AI by malicious actors and argue that defenders need equivalent tools.

DeepMind plans to expand testing with open source maintainers and, once its reliability is properly proven, hopes to release CodeMender for wider developer use.

Google has also revised its Secure AI Framework and launched a new Vulnerability Reward Program for AI-related flaws.

You might also like

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

It’s not your job to fix the internet

The concept of enshittification, as coined by the author and activist Cory Doctorow, just feels right. Whether you're searching on Google, shopping on Amazon,...

I tested 15 cases for the Switch 2 and these are the best

Our picks include carrying cases and ones you can leave on during handheld and docked play. | Image: The Verge, Getty Images Editor’s note: Black Friday...

The best Christmas gifts for gamers and movie lovers

Most of us in the Northern Hemisphere spend the holidays indoors, but you can only watch so many TikToks about cute cats and cooking...

Microsoft’s new Anthropic partnership brings Claude AI models to Azure

Microsoft is announcing a strategic partnership with Anthropic today that will bring the AI startup’s models to Microsoft Foundry for the first time. As...

Google is launching Gemini 3, its ‘most intelligent’ AI model yet

Google is beginning to launch Gemini 3 today, a new series of models the company says is its “most intelligent” and “factually accurate” AI...

The Analogue 3D is the perfect console for N64 collectors

I've developed a sixth sense for old video game cartridges. I can spot them at flea markets and thrift stores, spy them hidden behind...

Google Antigravity is an ‘agent-first’ coding tool built for Gemini 3

Antigravity should report on its work plan, and produce evidence of what it’s done along the way. Alongside today’s announcement of Gemini 3 Pro, Google...

Microsoft’s Office apps are getting even more free AI features

Microsoft is adding even more AI features to Outlook, Word, Excel, and PowerPoint. While the software maker has been adding plenty of features to...

Microsoft Agent 365 lets businesses manage AI agents like they do people

Microsoft is racing towards building an AI “agent factory” that lets businesses build and manage their own AI agents. While Microsoft was founded on...

Microsoft is turning Windows into an ‘agentic OS,’ starting with the taskbar

Microsoft is trying to transform Windows into a “canvas for AI,” with new AI agents integrated into the Windows 11 taskbar. These new taskbar...