Google Previews CodeMender: DeepMind-Engineered AI Agent for Automated Vulnerability Remediation

Google Cloud has made CodeMender, an autonomous AI code security agent developed with Google DeepMind, available in public preview on the Gemini Enterprise Agent Platform. The tool is designed to scan software codebases, verify discovered security flaws through simulated exploits in isolated sandboxes, and automatically generate tested code patches. CodeMender represents an operational shift from passive static analysis to autonomous remediation. Rather than delivering raw alerts to developers,

2 min
Google Previews CodeMender: DeepMind-Engineered AI Agent for Automated Vulnerability Remediation

Google Cloud has made CodeMender, an autonomous AI code security agent developed with Google DeepMind, available in public preview on the Gemini Enterprise Agent Platform. The tool is designed to scan software codebases, verify discovered security flaws through simulated exploits in isolated sandboxes, and automatically generate tested code patches.

CodeMender represents an operational shift from passive static analysis to autonomous remediation. Rather than delivering raw alerts to developers, the system pairs multi-model vulnerability discovery with executable exploit validation to eliminate false positives before presenting remediations.

Architecture and Core Workflow

CodeMender functions through a fine-tuned harness maintained and updated by Google DeepMind. The agent executes a three-stage pipeline across source repositories:

  1. Multi-Model Scanning: CodeMender evaluates repository architecture, data paths, and semantic context across supported languages, including C/C++, Go, Java, Python, Ruby, Rust, and TypeScript. The scanning engine targets memory corruption, injection vulnerabilities, cryptographic misconfigurations, and improper data handling.
  2. Exploit Simulation and Verification: To filter out theoretical or non-exploitable findings, CodeMender constructs targeted proof-of-concept exploits. It runs these test cases within an isolated, customer-managed sandbox environment. If an exploit succeeds in reproducing the vulnerability, the issue is flagged as a validated high-priority risk.
  3. Automated Patch Generation and Review: For confirmed vulnerabilities, CodeMender writes targeted code patches that conform to the existing repository style guidelines. An LLM-as-a-judge validation step evaluates the patch to prevent functional regressions before submitting the change as a standard Git diff for developer review and approval.
CodeMender Autonomous Security Pipeline

Enterprise Integration and Security Boundaries

CodeMender operates within customer-managed virtual private clouds (VPCs) under enterprise governance policies. Source code and generated artifacts are processed with data isolation, encryption, and zero-retention guarantees.

Developers can interact with CodeMender via a lightweight CLI client, within IDEs such as VS Code, or integrated directly into CI/CD build pipelines. Additionally, Google Cloud is integrating CodeMender into its AI Threat Defense suite in collaboration with cloud security firm Wiz. In this deployment mode, Wiz Security Graph context triggers CodeMender scans and coordinates with Wiz Red and Green agents to orchestrate vulnerability validation and patching workflows.

Model Availability

In its public preview, CodeMender supports generally available Gemini models, allowing organizations to configure model selection based on throughput, token costs, and scanning depth. Google Cloud announced plans to add third-party frontier model options later this year.

A specialized variant powered by Gemini 3.5 Flash Cyber will remain restricted to select government agencies and trusted security partners before broader rollout.

Sources

Written by

More to read

  • LLM 0.33 Adds Template Chaining, Per-Call Embedding Keys, and Server Tool Logging

    Simon Willison has released llm 0.33, an update to the open-source command-line tool and Python library for interacting with large language models. The release introduces template composition, stateless per-call embedding credentials, and server-side tool execution visibility in logs, alongside an upgrade to the OpenAI Python 3.x client and httpx2. Template Composition and Parameter Decoupling The primary workflow enhancement in version 0.33 is the ability to repeat the -t or --template flag

    1 min
  • GPU Cluster Storage in Production: GPUDirect Storage, NVMe-oF, Parallel File Systems, and Checkpointing Throughput

    Training frontier large language models and serving hundred-billion parameter checkpoints places extreme demands on storage subsystems. While compute clusters frequently deploy thousands of GPUs connected via high-bandwidth interconnects like NVLink and InfiniBand, storage architectures often become severe bottlenecks during two critical operational phases: distributed checkpointing and cold-start model weight loading. A standard 70-billion parameter model in BF16 precision generates approximat

    1 min
  • Linear Mode Connectivity in Deep Neural Networks: How Permutation Symmetries, Git Re-Basin, and the Single-Basin Hypothesis Unify Model Checkpoints

    title: "Linear Mode Connectivity in Deep Neural Networks: How Permutation Symmetries, Git Re-Basin, and the Single-Basin Hypothesis Unify Model Checkpoints" slug: "linear-mode-connectivity-in-deep-neural-networks-how-permutation-symmetries-git-re-basin-and-the-single-basin-hypothesis-unify-model-checkpoints" feature_image: "https://cms.llms.blog/content/images/2026/08/linear-mode-connectivity-cover.png" excerpt: "Linear Mode Connectivity reveals how neural network checkpoints connect along flat

    1 min