Skip to content

An editorial team and a community building with AI

← All articles

News · Google · 2 min read

Event date: · Published:

Google's CodeMender v0.22.0 catches removed security controls in diffs

Google updated CodeMender on November 16, 2026, so diff-mode scans flag security controls that a pull request removes, and added Gemini 4 Carbon as a selectable model.

Google updated CodeMender, its AI code-security agent, on November 16, 2026, adding a diff-mode check that flags security controls a pull request removes, according to the CodeMender find modes documentation.

What changed in CodeMender v0.22.0

  • CodeMender v0.22.0 was published on November 16, 2026.
  • cm find --diff now catches security controls that a pull request removes, not only new vulnerabilities it introduces.
  • A new --diff-job-timeout flag gives large files more time to finish scanning.
  • --deep and --diff scans now unify into a single session across cm session list, cm report and cm stats.
  • Gemini 4 Carbon is now selectable via --model gemini-4-carbon for cm find, cm verify and cm fix, while Gemini 3.8 Flash remains the default model.
  • In --diff mode, CRITICAL and HIGH severity findings trigger exit status 1 by default.

Why it matters for people who build with AI

Catching removed security controls specifically within AI-generated or AI-reviewed pull requests addresses a known failure mode where agentic coding tools silently strip safety checks during refactors. For teams that let AI agents open or review pull requests, diff-mode scanning now has a dedicated way to catch that regression before it merges, instead of relying on a reviewer to notice a missing check in a large diff.

Availability

The changes are documented in Google Cloud's Gemini Enterprise Agent Platform release notes, published the same day as the update.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Google's CodeMender v0.22.0 catches removed security controls in diffs | vibecoding.inc