Security & supply chain

CodeMender opens in preview: Google Cloud puts an agent on the security fix

CodeMender opens in preview: Google Cloud puts an agent on the security fix

Your CI runs untrusted code on every pull request. (You made your peace with that years ago.) Now picture the same pipeline empowered to write the patch for the vulnerability it just flagged, and to open the fix as a PR while you sleep. That is the trust question Google Cloud put to the industry this week. On 21 July 2026 it opened a preview of CodeMender, described as a managed code security agent that both scans code and proposes remediations. The word to sit on is preview.

What Google actually shipped

The announcement puts CodeMender inside the Gemini Enterprise Agent Platform, and also names it as a component of AI Threat Defense. Two doors, one agent. The stated scope is scanning plus remediation, delivered as a managed service. Third-party frontier model options are, per the post, planned for later this year.

That is deliberately thin. It is a preview.

Where the agent sits in your build

If you already run a scanner in CI, you have picked a trust boundary, probably without naming it. The scanner reports. A human triages. Sometimes a bot opens a dependency bump against main. The gap CodeMender is aimed at is the middle step: turning a finding into a proposed code change without a human writing it. In a normal pipeline that lands as either a suggestion on the PR that introduced the change, or a follow-up PR gated by the same review, tests and branch protection you already run.

The temptation is to plug it into the SAST job and let it commit. Do not do that on day one. In a preview, the agent is really doing two things: proposing a fix, and giving you data on how often its proposal is correct for your codebase. For now, treat the second output as the more valuable one.

Auto-apply or gate the fix

Here is the honest question the release forces on you. For which classes of finding are you willing to let a managed agent write the patch, and where does a human still sign?

A defensible starting position:

  • Dependency version bumps where an upstream fix already exists. Boring, well-trodden, easy to test. You have probably been doing this for years.
  • Localised code fixes that escape a known sink (a SQL string concatenation swapped for a parameterised query, an unsafe deserialiser call replaced). Reviewable in one screen, blast radius small.
  • Broad refactors, cross-file rewrites, changes to auth or crypto code. Do not auto-apply. Ever. Preview or GA.

None of this is CodeMender-specific. It is the same conversation every platform team has had about dependency bots, assisted-fix flows in SAST tools, and every AI PR bot that ships a diff. The novelty is a hyperscaler shipping a managed remediation agent under the same identity plane as the rest of the enterprise stack.

The audit shape changes

When the same cloud that hosts your identity provider, your secret store and your container registry also runs the agent that writes to your source, the audit story either gets simpler or thornier depending on which way your platform already leans. Simpler if you have already standardised on one tenancy and want one log trail. Thornier if you have spent the last two years reducing the number of production paths any single vendor can touch. Both are reasonable postures. Neither goes away because the agent is managed.

There is also the model question. The announcement says third-party frontier model options are planned later in 2026. Which means the data-handling contract you sign for the preview is not the one you will operate under in a year. Read the DPA that ships with the preview like it is a temporary structure, because it is.

What to gate before you flip it on

Answer these before the preview reaches your main:

  1. Which repositories, which languages and which severity bands is the agent allowed to file PRs against?
  2. Does an agent-authored PR get the same required reviewers, required checks and branch protection as a human one, or does it inherit a bot exemption you set up years ago and forgot?
  3. Where do the fix suggestions land in your audit log, and who reviews the false positives (there will be false positives)?
  4. When third-party models arrive, does your current data-handling contract still hold?

Preview means the interesting part has not shipped yet. That interesting part is your operational disagreement with the agent. Log it now, because by GA the vendor will already have decided the defaults for you.

Source: Google Cloud Blog (cloud.google.com)

Related
Security & supply chain

AlloyDB puts agents behind IAM groups so nobody has to share a database password again

Google's managed Postgres is adding IAM group authentication in preview, mapping Cloud Identity and Workforce Identity Federation groups to database roles. The point is not the passwordless slogan: it is that AI agents can finally carry a real end-user identity all the way to the row filter.

August 1, 2026
Security & supply chain

Time-to-exploit went negative. Mandiant maps where AI helps the vulnerability queue, and where it fails silently.

Google Cloud's Mandiant team pins mean time-to-exploit at negative seven days and publishes a blueprint for aiming large language models at the vulnerability pipeline. The failure modes it lists are the ones that let the exploit through.

July 22, 2026
AI in CI/CD

Google opens Gemini Enterprise Agent Ready as a free training path for agents in production

Google Cloud has announced Gemini Enterprise Agent Ready, a no-cost training bundle of twelve skill badges on skills.google paired with a month-long hackathon on Devpost. The angle for CI/CD teams is that the courses aim at operating agents, not demoing them.

August 10, 2026

Turn this into your pipeline. Build it on Buddy.

Start free