Google added Gemini 4 Hydrogen (gemini-4-hydrogen) as a selectable model in CodeMender on November 19. The code security agent can use it to find vulnerabilities, verify whether they can be exploited, and generate fixes. CodeMender is globally available in public preview to a limited set of customers who request access through sales. Its preview terms limit use to testing and evaluation.
The new option places Hydrogen inside a workflow with specialized prompts, tools, and verification steps. Gemini 3.8 Flash remains the default. Google notes that Hydrogen’s safeguards may block exploit generation or vulnerability verification. When that happens, CodeMender automatically retries with Gemini 3.8 Flash Cyber, then falls back to Gemini 3.8 Flash if the project lacks access to the cyber model.
