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. Ray-Ban Meta Smart Glasses Adds Walking Navigation, Audio Balance Controls: Report
  1. Ray-Ban Meta Update Adds Walking Navigation, Spatial Audio and New Accessibility Controls
  2. WhatsApp Could Block Users From Logging In on Outdated Android, iOS Devices
  3. iPhone 18 Pro Burgundy Red Models Reportedly Showing Discolouration, Users Share Photos
  4. OnePlus Ace 7 Series Specifications Leaked, Could Launch in India as OnePlus 16R
  5. Infinix Smart 20 HD Launched in India With 120Hz Display, 5,000mAh Battery: Price, Features
  6. Solana Foundation Launches Institutional Settlement Programme With JPMorgan Input
  7. JBL PartyBox 720, 330, 130 and On-The-Go 2 Series Launched in India Alongside EasySing Mics
  8. Vivo OriginOS 7 India Rollout Timeline Revealed: Check Eligible Phones and Update Schedule
  9. Ethereum Sets 200 Million Gas Limit for Glamsterdam Sepolia Test
  10. Garmin Cirqa Smart Band Launched in India With Screen-Less Design, Advanced Sleep Tracking: Price, Specifications
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.