Subscribe
AI
3 min read

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

Google Cloud previews CodeMender, a DeepMind-engineered AI agent for automated vulnerability remediation. It scans codebases, verifies risks in sandboxes, and generates reviewed patches, integrating with Wiz and CI/CD pipelines.

CodeMender autonomous AI agent interface showing code scanning and patch generation workflow
CodeMender autonomous AI agent interface showing code scanning and patch generation workflow

Google CodeMender is an autonomous AI code security agent developed with Google DeepMind, currently available in public preview on the Gemini Enterprise Agent Platform. It shifts from passive static analysis by scanning codebases, verifying vulnerabilities through simulated exploits, and automatically generating reviewed code patches to eliminate false positives. The system supports major languages like C++, Go, Java, Python, Rust, and TypeScript while operating within customer-managed VPCs with strict data isolation and encryption.

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

Frequently asked questions

How does CodeMender eliminate false positives during vulnerability scanning?

CodeMender eliminates false positives by constructing targeted proof-of-concept exploits and running them in isolated, customer-managed sandbox environments; only issues successfully reproduced as high-priority risks are flagged.

Which programming languages does CodeMender support in its public preview?

CodeMender evaluates repository architecture across supported languages including C/C++, Go, Java, Python, Ruby, Rust, and TypeScript.

Is CodeMender available for general use right now?

Yes, Google Cloud has made CodeMender available in public preview on the Gemini Enterprise Agent Platform, allowing organizations to configure model selection based on throughput, token costs, and scanning depth.

AISecurityGoogleSoftware Development