Back to News
ProductAI Understanding briefing

Google expands CodeMender AI with sandbox and scoped scanning options

Google announced new preview features for CodeMender, its AI agent that discovers and patches software vulnerabilities, adding selectable sandbox or virtual‑machine verification environments and the ability to limit scans to specific folders, whole repositories, or recent changes.

4 min readRead the linked source
Source-provided image accompanying Google expands CodeMender AI with sandbox and scoped scanning options
Source referenceSource recorded
Publisher
finance.biggo.com
Source type
Linked source — primary-source status has not been established.
ContextUnderstand this in 60 seconds

Key terms

API (Application Programming Interface)
A structured way for one software system to send requests to and receive responses from another system.
Guardrails
Rules, checks, and controls that limit unsafe or undesired model behavior.
AI Agent
A software system that can observe, reason, and take actions to achieve a goal, often using tools and memory.
Test yourselfAI Agents Quiz

What happened

Google added two isolated‑environment choices and three investigation‑scope settings to the CodeMender preview.

In a blog post dated November 4, Google detailed the latest preview enhancements to CodeMender, its AI‑powered vulnerability‑discovery and remediation agent that runs on Gemini 4 Argon. The update introduces a choice between two isolated execution environments for reproducing attacks and testing fixes: a lightweight sandbox that uses operating‑system confinement mechanisms, and a full virtual machine that emulates an independent computer. Both options aim to keep any potentially malicious code from affecting the developer’s host system.

The preview also adds a mechanism that requires explicit human confirmation before the agent can write files or execute commands in the local environment, reinforcing the company’s stance that AI‑generated patches must be reviewed by developers before being merged. This mirrors earlier Google Cloud statements that developer oversight remains essential despite automation.

For investigation scope, users can now select one of three modes: scanning a specific folder, scanning the entire repository, or scanning only files that have changed since the last CodeMender run. Limiting the scan to recent changes can dramatically cut runtime and cloud‑compute costs, especially for large codebases where full‑repo analysis would be expensive.

Google Cloud positioned these features as part of a broader “ era” security strategy that also includes Auth Manager (now generally available) for credential management and a preview of Agent Identity, which issues OIDC‑compatible JWTs so AI agents can authenticate to external services without static API keys. The announcement referenced a partnership with security firm Wiz, whose Wiz AI SAST tool can now coordinate remediation actions with CodeMender.

Source details: finance.biggo.com

Why it matters

The enhancements give developers finer control over how CodeMender validates vulnerability reproductions and applies fixes, reducing the risk of accidental damage in production codebases and lowering the cost of large‑scale scans. By letting users run verification in a sandbox that leverages OS‑level restrictions or in a full virtual machine, Google addresses a key security concern: the AI‑generated exploit or fix could itself introduce harmful behavior if executed in an uncontrolled environment. Scoped scanning—targeting a single folder, the entire repo, or only recent changes—helps teams prioritize high‑impact code and avoid unnecessary compute expense, a practical benefit for enterprises facing talent shortages in security. The update also reinforces Google Cloud’s broader push to govern AI agents through tools like Auth Manager and Agent Identity, signalling a shift toward tighter operational for AI‑driven development workflows.

The software supply chain is a high‑value target for attackers, and automated tools that both discover and fix vulnerabilities can shorten the window of exposure. However, automation also raises the risk of false positives, unintended code changes, or the introduction of new bugs. By forcing a human confirmation step and providing isolated execution environments, Google attempts to balance speed with safety, a trade‑off that many enterprises are watching closely.

The ability to choose a sandbox versus a VM gives teams flexibility: sandboxes are faster and cheaper for low‑risk testing, while VMs provide a more thorough isolation for complex exploits that might try to escape OS‑level confinement. This tiered approach could make CodeMender more attractive to organizations with strict compliance requirements.

Scoped scanning directly addresses cost concerns. Large monolithic repositories can be expensive to analyze in full, and many security teams prioritize recent changes where new bugs are most likely to appear. By offering a “changed‑files‑only” mode, Google reduces compute spend and makes the tool viable for continuous‑integration pipelines.

These updates also illustrate Google’s broader effort to embed governance into AI‑driven development tools. The simultaneous rollout of Auth Manager and Agent Identity shows a coordinated strategy to secure not just the code but also the credentials AI agents use, which has been a noted weak point in recent supply‑chain attacks.

Interactive Mechanism

Interactive Mechanism: How It Actually Works

Explore the underlying technology behind this development interactively.

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
Interactive Concept Check+10 Points
AI Agents Quiz

An agent must create a draft calendar event for Tuesday at 2 p.m. Which evidence would establish the requested result?

What to watch next

Adoption rates of the CodeMender preview, feedback on the sandbox/VM options, and any further integration with Google’s security suite such as Wiz AI SAST.

How quickly developers adopt the sandbox and VM options, and whether feedback leads to additional environment choices (e.g., container‑based isolation).

Metrics on false‑positive rates and developer‑approved fixes, which will indicate whether the human‑in‑the‑loop requirement is effective or becomes a bottleneck.

Further integration between CodeMender and other Google Cloud security services, especially deeper coupling with Wiz AI SAST and Google Threat Intelligence.

Potential announcements of a commercial launch beyond preview, including pricing and availability details, which are currently unspecified.

Related guides & quizzes

Found this useful?