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.
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
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.
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…
Recent Posts
- I’m an outdoors expert — here are 9 easy-pitch tents I’d recommend for a fuss-free camping trip
- Samsung’s updated Health app unsurprisingly comes with new AI-powered features
- Amazon develops a warehouse robot workers can speak to
- This App Makes Google TV Actually Usable
- Google Wallet ID passes will be available in select EU states this summer
Archives
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023