Google DeepMind Introduces CodeMender AI Agent to Automate Security Fixes

CodeMender is Google DeepMind’s new AI agent designed to find and fix security bugs in software code automatically.

Advertisement
Written by Akash Dutta, Edited by David Delima | Updated: 7 October 2025 13:38 IST
Highlights
  • CodeMender can work both reactively and proactively
  • In early trials, it submitted 72 security fixes to open-source software
  • DeepMind said CodeMender is not available to the public at this time

Google DeepMind’s CodeMender can analyse source code, identify root cause, propose patches, and test them

Photo Credit: Unsplash/Christopher Gower

Google DeepMind, on Monday, introduced CodeMender, an artificial intelligence (AI) agent designed to automatically detect and fix security vulnerabilities in software code. The AI system can not only identify bugs but also suggest and verify patches, eliminating the need for manual intervention. This means developers can hand over the reins to CodeMender, and it will not require further input. DeepMind highlights that the AI agent is capable of working both reactively by repairing existing security flaws and proactively by rewriting parts of code to prevent future vulnerabilities.

Google DeepMind's New AI Agent Can Tackle Security Flaws in Code

The company says that fixing vulnerabilities in software is one of the most time-consuming and difficult tasks using traditional means. AI systems have also not been a great help in this area, since it requires understanding the logic and context of thousands of lines of code and detecting a wide range of flaws. Since these are not software-crashing bugs, deployment-based tests are also not useful here.

Advertisement

CodeMender, the company claims, is capable of understanding the logic and structure of complex software. It analyses source code, identifies weak points that could lead to potential exploits, and generates secure fixes.

After a patch is proposed, the AI agent tests it to ensure that the vulnerability is resolved and no new issues are added. DeepMind's system also self-corrects if a patch fails verification, iterating until the change meets security and functionality standards.

Advertisement

It can work both reactively and proactively, and the latter is useful to create defences against potential risks. DeepMind claims that CodeMender can rewrite code to follow safer programming practices, allowing developers to address entire classes of vulnerabilities before they can cause harm.

Highlighting its real-world efficiency, the company claimed that the AI agent was able to find 72 verified security patches across major open-source software in a six-month trial period. It was able to suggest fixes for memory mismanagement, buffer overflows, and unsafe data handling. DeepMind claims some of these projects were as large as 4.5 million lines of code.

Advertisement

CodeMender is currently a research project, and isn't available to the general public. Currently, every patch generated by the AI agent is reviewed by human researchers before they are submitted upstream. The techniques used for this system and the results from the trials will be published in technical papers and reports in the coming months.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement

Related Stories

Popular Mobile Brands
  1. Hide Your Number on WhatsApp: How to Set a Username for Better Privacy
  2. Salbardi OTT Release: Streaming Details, Plot, Cast, Crew and Reception
  1. NASA Just Released One of the Most Detailed Maps of the Night Sky Ever
  2. Bhagubai Out on OTT: Know How to Stream This Marathi Comedy Drama Film Online
  3. Mad For Each Other OTT Release: Where to Watch the Indian Relationship Reality Show Online
  4. Salbardi OTT Release: Where to Watch Pooja Sawant’s Marathi Crime Mystery Thriller Online
  5. Bhojpuri Bawaal OTT Release Date Reportedly Revealed Online: Know Everything About This Upcoming Reality Series
  6. Mysterious Stacked Rocks Spotted by NASA Perseverance Rover on Mars
  7. Meta Launches Forum App as a Reddit-Like Platform for Discussions With AI-Powered Assistant for Admins
  8. Xiaomi 17T Series Teased to Arrive in Two Display Variants; Colour Options Revealed Ahead of Debut
  9. Honor Magic 9 Series Could Feature 8,000mAh Batteries; Tipster Leaks Camera, Display Upgrades
  10. Google Might Sell Over 2 Million Android XR-Powered Smart Glasses This Year: Report
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.