[フレーム]
BT

InfoQ Software Architects' Newsletter

A monthly overview of things you need to know as an architect or aspiring architect.

View an example

We protect your privacy.

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Unlock the full InfoQ experience

Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources.

Log In
or

Don't have an InfoQ account?

Register
  • Stay updated on topics and peers that matter to youReceive instant alerts on the latest insights and trends.
  • Quickly access free resources for continuous learningMinibooks, videos with transcripts, and training materials.
  • Save articles and read at anytimeBookmark articles to read whenever youre ready.

Topics

Choose your language

InfoQ Homepage News Google DeepMind Introduces CodeMender, an AI Agent for Automated Code Repair

Google DeepMind Introduces CodeMender, an AI Agent for Automated Code Repair

Oct 11, 2025 2 min read

Write for InfoQ

Feed your curiosity. Help 550k+ global
senior developers
each month stay ahead.
Get in touch
Listen to this article - 0:00
Audio ready to play
0:00
0:00

Google DeepMind has introduced CodeMender, a new AI-driven agent designed to detect, fix, and secure software vulnerabilities automatically. The project builds on recent advances in reasoning models and program analysis, aiming to reduce the time developers spend identifying and patching security issues.

Traditional methods such as static analysis or fuzzing have long helped uncover vulnerabilities, but they often require extensive manual validation and patching. CodeMender takes a broader approach — combining automated vulnerability discovery with AI-based repair and verification. Over the past six months, the system has already contributed 72 verified fixes to open-source projects, some in codebases exceeding four million lines.

According to the research team, CodeMender uses large reasoning models alongside static and dynamic analysis, fuzzing, and symbolic solvers to reason about a program’s behavior. When it identifies a flaw, it generates candidate patches and runs automated checks to ensure they fix the root cause without breaking existing functionality or introducing regressions. Only validated fixes are then surfaced for human review and upstream submission.

Early examples include repairing a heap-buffer overflow traced to XML stack handling errors and resolving a complex object-lifetime bug through non-trivial code modifications. The system also supports proactive hardening: in one case, CodeMender automatically added safety annotations to the widely used libwebp image library to prevent certain buffer overflow attacks from ever being exploitable again.

Community reactions have been optimistic. For example, Javid Farahani, CEO of CogMap, commented:

Impressive work. Automated repair moves AI from identifying risk to actively strengthening infrastructure. The verification layer is key — trust will come from how reliably these systems can correct without collateral effects.

On Reddit, users discussed what widespread automation might mean for the future of cybersecurity. One user asked:

I wonder if bots like this will be constantly run in the future?

Another one answered:

Yes — and adversaries will also run these models to find exploits. Whoever has the latest model and the most compute wins. Maybe instead of DDoS, people will hijack devices for compute to run adversarial models.

Although the long-term implications remain uncertain, DeepMind states that all patches created by CodeMender are currently reviewed by humans before being integrated upstream. The team highlights reliability and transparency as fundamental principles and intends to release technical reports and evaluations in the upcoming months.

CodeMender is a research project that suggests a new way for AI to enhance the open-source ecosystem by detecting, repairing, and preventing vulnerabilities automatically.

About the Author

Robert Krzaczyński

Show moreShow less

Rate this Article

Adoption
Style

Related Content

The InfoQ Newsletter

A round-up of last week’s content on InfoQ sent out every Tuesday. Join a community of over 250,000 senior developers. View an example

We protect your privacy.

BT

AltStyle によって変換されたページ (->オリジナル) /