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 --diffnow catches security controls that a pull request removes, not only new vulnerabilities it introduces.- A new
--diff-job-timeoutflag gives large files more time to finish scanning. --deepand--diffscans now unify into a single session acrosscm session list,cm reportandcm stats.Gemini 4 Carbonis now selectable via--model gemini-4-carbonforcm find,cm verifyandcm fix, whileGemini 3.8 Flashremains the default model.- In
--diffmode, 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
- CodeMender find modes (Google Cloud, November 16, 2026, official)
- Gemini Enterprise Agent Platform release notes (Google Cloud, November 16, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.