A collection of guides and examples for the Gemma open models from Google.
This report summarizes scanner evidence for google-gemma/cookbook, a Jupyter Notebook project with 4,069 GitHub stars. SynthScan examined 26,442 lines of code across 236 source files, recording 207 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 21.0 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 69 finding(s).
Are imports declared and package/API names verified? 57 finding(s).
Are wrappers, guards, and repeated structures necessary? 92 finding(s).
Which changes need focused human review? 207 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 207 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 17 | # ============================================================================= | COMMENT |
| MEDIUM | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 19 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 157 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 159 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 165 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 167 | # ============================================================================= | COMMENT |
| MEDIUM | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 275 | # ============================================================================= | COMMENT |
| MEDIUM | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 277 | # ============================================================================= | COMMENT |
| MEDIUM | .archive/Demos/spoken-language-tasks/setup_python.sh | 11 | # ------------------------- | COMMENT |
| MEDIUM⚡ | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 338 | # ── 1. Token presence ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 342 | # ── 2. Expiry ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 346 | # ── 3. Signature ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 350 | # ── 4. Scope ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 354 | # ── 5. Irreversibility class ceiling ──────────────────────────────── | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 206 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 228 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 230 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 369 | # ── 7. Class 2 — confirmation callback required ───────────────────── | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 381 | # ── 8. Class 0 / 1 — allow ───────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/concurrent/run.sh | 2 | # ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/concurrent/run.sh | 15 | # ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/run.sh | 52 | # ─── Load agents from scenario ────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/run.sh | 84 | # ─── Calculate window layout ──────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/run.sh | 112 | # ─── Build AppleScript to open windows ────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/run.sh | 166 | # ─── Launch ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 28 | # ─── Palettes ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 72 | # ─── Agent Factories ─────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 132 | # ─── System Prompts ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 157 | # ─── Planning Prompts ─────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 211 | # ─── Card Renderers ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 291 | # ─── Page Builder ─────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/scenarios.py | 353 | # ─── Scenario Registry ────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/dashboard.py | 96 | # ─── Hero Panel (big t/s number) ─────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/dashboard.py | 161 | # ─── Orchestrator Panel ──────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/dashboard.py | 193 | # ─── Agent Grid ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/dashboard.py | 275 | # ─── Combined Layout ────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/utils.py | 15 | # ─── Shared Paths ─────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/utils.py | 20 | # ─── ANSI Colors ──────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/utils.py | 31 | # ─── Metrics ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/utils.py | 51 | # ─── LLM Streaming ───────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/orchestrator.py | 27 | # ─── Step 1: Plan ─────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/orchestrator.py | 77 | # ─── Step 2: Dispatch ─────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/orchestrator.py | 104 | # ─── Step 3: Collect ──────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/orchestrator.py | 135 | # ─── Step 4: Assemble ─────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/orchestrator.py | 162 | # ─── Main ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/digits.py | 5 | # ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/concurrent/demo/digits.py | 7 | # ───────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | apps/Gemma-on-Cloudrun/README.md | 37 | --set-env-vars=API_KEY={YOUR_API_KEY} \ | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 51 | * `YOUR_API_KEY`: **Crucial for authentication**. Set this to a strong, unique API key string of your choice. This key w | COMMENT |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 62 | * Environment Variable: As shown in the deployment command: `--set-env-vars=API_KEY={YOUR_API_KEY}`. | COMMENT |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 67 | You will need to include this `YOUR_API_KEY` in every request to your Cloud Run service, as shown in the [Interacting wi | CODE |
| HIGH⚡ | apps/Gemma-on-Cloudrun/README.md | 85 | * `<YOUR_API_KEY>`: The API key you configured during deployment. | COMMENT |
| HIGH⚡ | apps/Gemma-on-Cloudrun/README.md | 85 | * `<YOUR_API_KEY>`: The API key you configured during deployment. | COMMENT |
| HIGH⚡ | apps/Gemma-on-Cloudrun/README.md | 92 | curl "<cloud_run_url>/v1beta/models/<model>:generateContent?key={YOUR_API_KEY}" \ | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 104 | curl "<cloud_run_url>/v1beta/models/<model>:streamGenerateContent?key={YOUR_API_KEY}" \ | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 129 | client = genai.Client(api_key="<YOUR_API_KEY>", http_options=HttpOptions(base_url="<cloud_run_url>")) | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 129 | client = genai.Client(api_key="<YOUR_API_KEY>", http_options=HttpOptions(base_url="<cloud_run_url>")) | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 164 | api_key="<YOUR_API_KEY>", | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 164 | api_key="<YOUR_API_KEY>", | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 189 | -H "Authorization: Bearer <YOUR_API_KEY>" \ | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 189 | -H "Authorization: Bearer <YOUR_API_KEY>" \ | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 221 | headers={'Authorization': 'Bearer <YOUR_API_KEY>'} | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 221 | headers={'Authorization': 'Bearer <YOUR_API_KEY>'} | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 281 | --set-env-vars=API_KEY={YOUR_API_KEY} \ | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 326 | client = genai.Client(api_key="<YOUR_API_KEY>", http_options=HttpOptions(base_url="<cloud_run_url>")) | CODE |
| HIGH | apps/Gemma-on-Cloudrun/README.md | 326 | client = genai.Client(api_key="<YOUR_API_KEY>", http_options=HttpOptions(base_url="<cloud_run_url>")) | CODE |
| HIGH | apps/Gemma-on-Cloudrun/code-examples/ollama_examples.py | 6 | headers={'Authorization': 'Bearer <YOUR_API_KEY>'} | CODE |
| HIGH | apps/Gemma-on-Cloudrun/code-examples/ollama_examples.py | 6 | headers={'Authorization': 'Bearer <YOUR_API_KEY>'} | CODE |
| HIGH | apps/Gemma-on-Cloudrun/code-examples/genai_examples.py | 5 | client = genai.Client(api_key="<YOUR_API_KEY>", http_options=HttpOptions(base_url="<cloud_run_url>")) | CODE |
| HIGH | apps/Gemma-on-Cloudrun/code-examples/genai_examples.py | 5 | client = genai.Client(api_key="<YOUR_API_KEY>", http_options=HttpOptions(base_url="<cloud_run_url>")) | CODE |
| HIGH | apps/Gemma-on-Cloudrun/code-examples/openai_examples.py | 5 | api_key="<YOUR_API_KEY>", | CODE |
| HIGH | apps/Gemma-on-Cloudrun/code-examples/openai_examples.py | 5 | api_key="<YOUR_API_KEY>", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ail-assistant/email-processing-webapp/models/gemini.py | 0 | creates a message processor function with a persistent model. | STRING |
| HIGH | …mail-assistant/email-processing-webapp/models/gemma.py | 0 | creates a message processor function with a persistent model. | STRING |
| HIGH | …sistant/gemma-web-service/gemma_service/gemma_model.py | 0 | creates a message processor function with a persistent model. | STRING |
| HIGH | …e-tasks/k-mail-replier/k_mail_replier/models/gemini.py | 0 | creates a message processor function with a persistent model. | STRING |
| HIGH | …ge-tasks/k-mail-replier/k_mail_replier/models/gemma.py | 0 | creates a message processor function with a persistent model. | STRING |
| HIGH | …mail-assistant/email-processing-webapp/models/gemma.py | 0 | loads environment variables and configures the gemma model. | STRING |
| HIGH | …sistant/gemma-web-service/gemma_service/gemma_model.py | 0 | loads environment variables and configures the gemma model. | STRING |
| HIGH | …ge-tasks/k-mail-replier/k_mail_replier/models/gemma.py | 0 | loads environment variables and configures the gemma model. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 901 | state.push( | STRING |
| HIGH⚡ | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 905 | state.push( | STRING |
| HIGH⚡ | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 915 | state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 571 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 575 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 633 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 637 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 679 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 683 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 746 | self.state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 854 | state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 858 | state.push( | STRING |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 884 | state.push( | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 766 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 1036 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 1080 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | apps/concurrent/demo/dashboard.py | 62 | except (json.JSONDecodeError, IOError): | CODE |
| HIGH | apps/concurrent/demo/orchestrator.py | 156 | except Exception: | CODE |
| HIGH | apps/concurrent/demo/orchestrator.py | 126 | except (json.JSONDecodeError, IOError): | CODE |
| HIGH | apps/concurrent/demo/specialist.py | 32 | except (json.JSONDecodeError, IOError): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …3n-Submodels/RESPONSE_SUB_BILLION_AND_AUDIO_SLICING.md | 151 | #### Step 1: Identify Audio Encoder Configuration | COMMENT |
| LOW | …3n-Submodels/RESPONSE_SUB_BILLION_AND_AUDIO_SLICING.md | 166 | #### Step 2: Recommended Audio Encoder Reduction | COMMENT |
| LOW | …3n-Submodels/RESPONSE_SUB_BILLION_AND_AUDIO_SLICING.md | 182 | #### Step 3: Implementation Requirements | COMMENT |
| LOW⚡ | .archive/Guides/Gemma-3n-Submodels/README.md | 176 | ### Step 1: Review the Summary | COMMENT |
| LOW⚡ | .archive/Guides/Gemma-3n-Submodels/README.md | 179 | ### Step 2: Choose Your Configuration | COMMENT |
| LOW⚡ | .archive/Guides/Gemma-3n-Submodels/README.md | 185 | ### Step 3: Get the Configuration Code | COMMENT |
| LOW⚡ | .archive/Guides/Gemma-3n-Submodels/README.md | 190 | ### Step 4: Apply to MatFormer Lab | COMMENT |
| LOW⚡ | .archive/Guides/Gemma-3n-Submodels/README.md | 193 | ### Step 5: Test & Deploy | COMMENT |
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 44 | ### Step 1: Prepare Environment | COMMENT |
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 55 | ### Step 2: Set Model Source | COMMENT |
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 64 | ### Step 3: Apply 0.9B Configuration | COMMENT |
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 87 | ### Step 4: Run Slicing Pipeline | COMMENT |
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 100 | ### Step 5: Push to Hugging Face (Optional) | COMMENT |
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 114 | ### Step 6: Load and Test | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .archive/Gemma/README.md | 7 | * [RAG (Retrieval Augmented Generation)](#rag) : How to build RAG systems with Gemma | COMMENT |
| MEDIUM | .archive/Gemma/README.md | 11 | * [Agentic AI](#agentic-ai) : How to build an intelligent agents using Gemma models | COMMENT |
| MEDIUM | .archive/Gemma/README.md | 70 | ## RAG | COMMENT |
| MEDIUM | experiments/TxGemma/README.md | 7 | * [Agentic](#agentic): How to integrate TxGemma models into agentic workflows | COMMENT |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/README.md | 72 | - **IETF draft:** https://datatracker.ietf.org/doc/draft-helixar-hdp-agentic-delegation/ | CODE |
| MEDIUM | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 9 | https://datatracker.ietf.org/doc/draft-helixar-hdp-agentic-delegation/ | STRING |
| MEDIUM | apps/antigravity-hybrid-orchestrator/run.sh | 16 | # Runs the Antigravity Hybrid Orchestrator multi-agent tool & demo. | COMMENT |
| MEDIUM⚡ | apps/concurrent/run.sh | 3 | # run.sh — Launch the multi-agent demo with Terminal windows. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/Gemma-3n-Submodels/QUICK_START_SUB_BILLION_MODELS.md | 141 | COMMENT | |
| LOW | …ve/Demos/business-email-assistant/model-tuning/main.py | 1 | # | COMMENT |
| LOW | …usiness-email-assistant/email-processing-webapp/app.py | 1 | # | COMMENT |
| LOW | …ail-assistant/email-processing-webapp/models/gemini.py | 1 | # | COMMENT |
| LOW | …mail-assistant/email-processing-webapp/models/gemma.py | 1 | # | COMMENT |
| LOW | …sistant/gemma-web-service/gemma_service/gemma_model.py | 1 | # | COMMENT |
| LOW | …/gemma-web-service/gemma_service/gemma_service_main.py | 1 | # | COMMENT |
| LOW | .archive/Demos/spoken-language-tasks/setup_python.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .archive/Demos/spoken-language-tasks/setup_python.sh | 21 | # pip install "jax[cuda12]" # install jax for CUDA 12 drivers | COMMENT |
| LOW | .archive/Demos/spoken-language-tasks/k-gemma-it/main.py | 1 | # | COMMENT |
| LOW | …en-language-tasks/k-mail-replier/k_mail_replier/app.py | 1 | # | COMMENT |
| LOW | …e-tasks/k-mail-replier/k_mail_replier/models/gemini.py | 1 | # | COMMENT |
| LOW | …ge-tasks/k-mail-replier/k_mail_replier/models/gemma.py | 1 | # | COMMENT |
| LOW | apps/antigravity-hybrid-orchestrator/runtime_compat.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …/antigravity-hybrid-orchestrator/quickstart_minimal.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | apps/antigravity-hybrid-orchestrator/checkpoint.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | apps/antigravity-hybrid-orchestrator/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | apps/antigravity-hybrid-orchestrator/hud.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …s/antigravity-hybrid-orchestrator/tools/fetch_model.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | apps/concurrent/run.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 13 | CODE | |
| LOW | …ve/Demos/business-email-assistant/model-tuning/main.py | 20 | CODE | |
| LOW | …mail-assistant/email-processing-webapp/models/gemma.py | 17 | CODE | |
| LOW | …sistant/gemma-web-service/gemma_service/gemma_model.py | 18 | CODE | |
| LOW | …liGemma-on-Android/Python_Server/apiserver/api/test.py | 1 | CODE | |
| LOW | …emma-on-Android/Python_Server/apiserver/api/schemas.py | 1 | CODE | |
| LOW | …iGemma-on-Android/Python_Server/apiserver/api/admin.py | 1 | CODE | |
| LOW | …iGemma-on-Android/Python_Server/apiserver/api/tests.py | 1 | CODE | |
| LOW | …iGemma-on-Android/Python_Server/apiserver/api/views.py | 10 | CODE | |
| LOW | …iGemma-on-Android/Python_Server/apiserver/api/views.py | 14 | CODE | |
| LOW | …iGemma-on-Android/Python_Server/apiserver/api/views.py | 16 | CODE | |
| LOW | …-Android/Python_Server/apiserver/apiserver/settings.py | 14 | CODE | |
| LOW | .archive/Demos/spoken-language-tasks/k-gemma-it/main.py | 20 | CODE | |
| LOW | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 20 | CODE | |
| LOW | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 23 | CODE | |
| LOW | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 28 | CODE | |
| LOW | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 28 | CODE | |
| LOW | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 28 | CODE | |
| LOW | apps/Gemma_4_HDP_Agentic_Security/hdp_middleware.py | 28 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 170 | CODE | |
| LOW | …ve/Demos/business-email-assistant/model-tuning/main.py | 51 | CODE | |
| LOW | …iGemma-on-Android/Python_Server/apiserver/api/views.py | 35 | CODE | |
| LOW | …/antigravity-hybrid-orchestrator/quickstart_minimal.py | 42 | CODE | |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 204 | CODE | |
| LOW | apps/antigravity-hybrid-orchestrator/hud.py | 232 | CODE | |
| LOW | …s/antigravity-hybrid-orchestrator/tools/fetch_model.py | 65 | CODE | |
| LOW | apps/concurrent/demo/dashboard.py | 53 | CODE | |
| LOW | apps/concurrent/demo/dashboard.py | 301 | CODE | |
| LOW | apps/concurrent/demo/utils.py | 53 | CODE | |
| LOW | apps/concurrent/demo/orchestrator.py | 106 | CODE | |
| LOW | apps/concurrent/demo/specialist.py | 21 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ve/Demos/business-email-assistant/model-tuning/main.py | 75 | print(f"Error decoding JSON in file {filename}: {e}") | CODE |
| LOW | apps/antigravity-hybrid-orchestrator/runtime_compat.py | 22 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | apps/antigravity-hybrid-orchestrator/runtime_compat.py | 81 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 60 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 209 | except Exception: # pylint: disable=broad-except | STRING |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 448 | except Exception as exc: # pylint: disable=broad-except | STRING |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 766 | except Exception: # pylint: disable=broad-except | STRING |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 1036 | except Exception: # pylint: disable=broad-except | STRING |
| LOW | …antigravity-hybrid-orchestrator/hybrid_orchestrator.py | 1080 | except Exception: # pylint: disable=broad-except | STRING |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 50 | except Exception: | CODE |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 129 | except Exception: | CODE |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 160 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | apps/concurrent/demo/utils.py | 129 | except Exception as e: | CODE |
| LOW | apps/concurrent/demo/orchestrator.py | 156 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 170 | def get_config_for_deployment( | CODE |
| LOW | …ve/Guides/Gemma-3n-Submodels/custom_slicing_configs.py | 250 | def create_config_comparison_table() -> pd.DataFrame: | STRING |
| LOW | …chive/Demos/Emoji-Gemma-on-Web/app-mediapipe/script.js | 154 | async function initializeAndAttachListeners() { | CODE |
| LOW | …/Demos/Emoji-Gemma-on-Web/app-transformersjs/script.js | 135 | async function initializeAndAttachListeners() { | CODE |
| LOW | apps/antigravity-hybrid-orchestrator/runtime_compat.py | 38 | def configure_isolated_litert_context( | CODE |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 44 | def auth_rejects_missing_secret(): | CODE |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 78 | def billing_survives_concurrent_debits(): | CODE |
| LOW | …vity-hybrid-orchestrator/sandbox/verification_tests.py | 123 | def database_blocks_injection(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mail-assistant/email-processing-webapp/models/gemma.py | 68 | CODE | |
| LOW | …sistant/gemma-web-service/gemma_service/gemma_model.py | 55 | CODE | |
| LOW | …/gemma-web-service/gemma_service/gemma_service_main.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | apps/antigravity-hybrid-orchestrator/run.sh | 62 | # Reap a harness left behind by a previous *run of this checkout* only. A bare | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | apps/concurrent/run.sh | 9 | # Usage: | COMMENT |