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. Nothing Phone (4b) Debuts in India, Limited RCB Edition Tags Along
  2. Moto G77 Power With a 7,000mAh Battery Arrives in India at This Price
  3. iPhone 18 Pro Could Be Thicker Than Its Predecessor, Tipster Claims
  1. WhatsApp Brings Meta Business Agent to India; Adds New Business Discovery Features
  2. Moto G77 Power Launched in India With 7,000mAh Battery, 50-Megapixel Rear Camera: Price, Specifications
  3. iPhone 18 Pro Said to Have Noticeably Thicker Aluminium Frame Compared to iPhone 17 Pro
  4. Honor Robot Phone Launch Timeline Leaked, Tipster Claims Phone Could Debut in August
  5. IO Interactive Announces Istanbul Studio Closure, Layoffs After Xbox Ends Project Fantasy Funding
  6. Redmi Note 17 Series Launch Date Revealed Along With Design, Colour Options
  7. Vivo X Fold 6 India Launch Could Be Much Later Than Usual, Price Range Leaked
  8. Google Pixel 11 Series Price, Storage Options and Colourways Leaked Ahead of August 12 Debut
  9. Samsung to Hike Prices of Seven Galaxy Smartphone Models in India, Tipster Claims
  10. Samsung Galaxy Unpacked 2026 Date Announced; Galaxy Z Fold 8, Flip 8, Watch 9 Series Expected
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.