Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform
1275 matches across 17 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | websocket proxy server for gemini live api handles authentication and proxies websocket connections. this server acts as |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | websocket proxy server for gemini live api handles authentication and proxies websocket connections. this server acts as |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | websocket proxy server for gemini live api handles authentication and proxies websocket connections. this server acts as |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | retrieves an access token using google cloud default credentials. |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | forwards messages from source_websocket to destination_websocket. args: source_websocket: the websocket connection to re |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | establishes a websocket connection to the gemini server and creates bidirectional proxy. args: client_websocket: the web |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare |
| HIGH | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | handles a new websocket client connection. expects first message with optional bearer_token and service_url. if no beare |
| HIGH | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ |
| HIGH | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ |
| HIGH | …ebsocket-demo-apps/customer-support-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ |
| HIGH | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 0 | ╔════════════════════════════════════════════════════════════╗ ║ gemini live api proxy server ║ ╠═══════════════════════ |
| HIGH | …aph-demo/backend/concierge/langgraph_server/schemas.py | 0 | retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph s |
| HIGH | …/backend/concierge/langgraph_server/langgraph_agent.py | 0 | retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph s |
| HIGH | …demo/backend/concierge/langgraph_server/fastapi_app.py | 0 | retrieves the current state of a thread. args: thread_id: the id of the thread. subgraphs: whether to include subgraph s |
| HIGH | …aph-demo/backend/concierge/langgraph_server/schemas.py | 0 | retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to re |
| HIGH | …/backend/concierge/langgraph_server/langgraph_agent.py | 0 | retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to re |
| HIGH | …demo/backend/concierge/langgraph_server/fastapi_app.py | 0 | retrieves the history of thread states. args: thread_id: the id of the thread. limit: the maximum number of states to re |
| HIGH | …se-cases/entity-extraction/document_processing_test.py | 0 | \ { "year": "2021", "quarter": "q1", "company_name": "alphabet inc.", "ceo": "sundar pichai", "net_income_millions": "17 |
| HIGH | …se-cases/entity-extraction/document_processing_test.py | 0 | \ { "year": "2021", "quarter": "q1", "company_name": "alphabet inc.", "ceo": "sundar pichai", "net_income_millions": "17 |
| HIGH | …se-cases/entity-extraction/document_processing_test.py | 0 | \ { "year": "2021", "quarter": "q1", "company_name": "alphabet inc.", "ceo": "sundar pichai", "net_income_millions": "17 |
| HIGH | …image-background-changer-using-imagen3/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …profile-image-generation-using-imagen3/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …bot/conversational-app-single-playbook/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …s/quickbot/text-to-image-using-imagen3/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …bot/website-search-using-agent-builder/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …kbot/conversational-app-multi-playbook/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …ot/document-search-using-agent-builder/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …/multi-agent-travel-concierge-with-adk/backend/main.py | 0 | configures cors middleware based on the environment. |
| HIGH | …bot/conversational-app-single-playbook/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu |
| HIGH | …bot/website-search-using-agent-builder/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu |
| HIGH | …kbot/conversational-app-multi-playbook/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu |
| HIGH | …ot/document-search-using-agent-builder/backend/main.py | 0 | main fastapi application entry point for the quick bot backend. this module initializes the fastapi application, configu |
| HIGH | …bot/conversational-app-single-playbook/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' |
| HIGH | …bot/website-search-using-agent-builder/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' |
| HIGH | …kbot/conversational-app-multi-playbook/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' |
| HIGH | …ot/document-search-using-agent-builder/backend/main.py | 0 | invalid environment: {environment}. must be 'production' or 'development' |
| HIGH | …app-single-playbook/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. |
| HIGH | …using-agent-builder/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. |
| HIGH | …-app-multi-playbook/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. |
| HIGH | …using-agent-builder/backend/scripts/big_query_setup.py | 0 | utility functions for setting up google bigquery datasets and tables. |
| HIGH | …app-single-playbook/backend/scripts/big_query_setup.py | 0 | deletes an existing bigquery dataset and recreates it. if the dataset already exists, it and all its contents will be de |
| HIGH | …using-agent-builder/backend/scripts/big_query_setup.py | 0 | deletes an existing bigquery dataset and recreates it. if the dataset already exists, it and all its contents will be de |
| HIGH | …-app-multi-playbook/backend/scripts/big_query_setup.py | 0 | deletes an existing bigquery dataset and recreates it. if the dataset already exists, it and all its contents will be de |
| HIGH | …using-agent-builder/backend/scripts/big_query_setup.py | 0 | deletes an existing bigquery dataset and recreates it. if the dataset already exists, it and all its contents will be de |
| 111 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 61 | except Exception as e: |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 102 | except Exception as e: |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 124 | except Exception as e: |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 139 | except Exception as e: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 157 | except Exception as e: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 191 | except Exception as e: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 254 | except Exception as e: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 311 | except Exception as e: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 348 | except Exception as e: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 467 | except Exception as e: |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 51 | except Exception as e: |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 60 | except Exception as e: |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 96 | except Exception as e: |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 143 | except Exception as e: |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 354 | except Exception as e: |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 375 | except Exception as e: |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 468 | except Exception as e: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 50 | except Exception as e: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 125 | except Exception as e: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 419 | except Exception as e: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 548 | except Exception as e: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 768 | except Exception as e: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 1034 | except Exception as e: |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 528 | except Exception as e: |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 565 | except Exception as e: |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 599 | except Exception as e: |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 102 | except Exception as e: |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 124 | except Exception as e: |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 167 | except Exception as e: |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 187 | except Exception as e: |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 229 | except Exception as e: |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 64 | except Exception as e: |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 124 | except Exception as e: |
| MEDIUM | tools/llmevalkit/src/gcp_evaluation.py | 125 | print(f"Error preparing DataFrame: {e}") |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 236 | except Exception as e: |
| MEDIUM | tools/llmevalkit/src/gcp_dataset.py | 94 | print(f"An error occurred: {e}") |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 35 | except Exception as e: |
| MEDIUM | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 36 | print(f"Error generating access token: {e}") |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 61 | except Exception as e: |
| MEDIUM | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 62 | print(f"Error processing message: {e}") |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 67 | except Exception as e: |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 141 | except Exception as e: |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 195 | except Exception as e: |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 38 | except Exception as e: |
| MEDIUM | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 39 | print(f"Error generating access token: {e}") |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 65 | except Exception as e: |
| MEDIUM | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 66 | print(f"Error processing message: {e}") |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 71 | except Exception as e: |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 142 | except Exception as e: |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 191 | except Exception as e: |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 229 | except Exception as e: |
| MEDIUM | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 230 | print(f"Error serving file {path}: {e}") |
| LOW | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 126 | except Exception as e: |
| LOW | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 138 | except Exception as e: |
| MEDIUM | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 49 | def send_audio(): |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 89 | except Exception as e: |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 108 | except Exception as e: |
| MEDIUM | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 68 | def receive_from_client(): |
| LOW | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 35 | except Exception as e: |
| MEDIUM | …ebsocket-demo-apps/realtime-advisor-demo-app/server.py | 36 | print(f"Error generating access token: {e}") |
| 204 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/pages/6_Prompt_Optimization.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/src/__init__.py | 1 | # Copyright 2025 Google LLC |
| LOW | tools/llmevalkit/src/vapo_lib.py | 1 | # Copyright 2024 Google LLC |
| LOW | tools/llmevalkit/src/gcp_dataset.py | 1 | # Copyright 2025 Google LLC |
| LOW | …/multimodal-live-api/project-livewire/server/server.py | 1 | # Copyright 2025 Google LLC |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 1 | # Copyright 2025 Google LLC |
| LOW | …modal-live-api/project-livewire/server/core/session.py | 1 | # Copyright 2025 Google LLC |
| LOW | …-live-api/project-livewire/server/core/tool_handler.py | 1 | # Copyright 2025 Google LLC |
| LOW | …live-api/project-livewire/server/core/gemini_client.py | 1 | # Copyright 2025 Google LLC |
| LOW | …odal-live-api/project-livewire/server/config/config.py | 1 | # Copyright 2025 Google LLC |
| LOW | …cloud-functions/weather-tools/get-weather-tool/main.py | 1 | # Copyright 2025 Google LLC |
| LOW | gemini/agents/genai-experience-concierge/LICENSE.txt | 1 | # Copyright 2025 Google LLC |
| LOW | …perience-concierge/langgraph-demo/frontend/LICENSE.txt | 1 | # Copyright 2025 Google LLC |
| LOW | …ierge/langgraph-demo/frontend/concierge_ui/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …xperience-concierge/langgraph-demo/backend/LICENSE.txt | 1 | # Copyright 2025 Google LLC |
| LOW | …concierge/langgraph-demo/backend/concierge/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …rge/langgraph-demo/backend/concierge/tools/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …rge/langgraph-demo/backend/concierge/nodes/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …demo/backend/concierge/nodes/task_planning/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …/backend/concierge/nodes/task_planning/ops/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …ph-demo/backend/concierge/langgraph_server/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …ge/langgraph-demo/backend/concierge/agents/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …/agents/genai-experience-concierge/scripts/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …xperience-concierge/scripts/langgraph_demo/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | …nts/genai-experience-concierge/scripts/cli/__init__.py | 1 | # Copyright 2025 Google. This software is provided as-is, without warranty or |
| LOW | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 681 | ) |
| LOW | …cases/retrieval-augmented-generation/utils/__init__.py | 1 | # Copyright 2024 Google LLC |
| LOW | …ini/use-cases/entity-extraction/document_processing.py | 1 | # Copyright 2025 Google LLC |
| LOW | gemini/use-cases/entity-extraction/utils.py | 1 | # Copyright 2025 Google LLC |
| LOW | gemini/use-cases/entity-extraction/deploy.sh | 1 | #!/bin/bash |
| LOW | gemini/use-cases/entity-extraction/evaluate.py | 1 | # Copyright 2025 Google LLC |
| LOW | gemini/use-cases/entity-extraction/main.py | 1 | # Copyright 2025 Google LLC |
| LOW | …se-cases/entity-extraction/document_processing_test.py | 1 | # Copyright 2025 Google LLC |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 1 | # Copyright 2024 Google LLC |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 1 | # Copyright 2024 Google LLC |
| LOW | …i/sample-apps/gemini-mesop-cloudrun/shared/nav_menu.py | 1 | # Copyright 2024 Google LLC |
| LOW | …ni/sample-apps/gemini-mesop-cloudrun/shared/prompts.py | 1 | # Copyright 2024 Google LLC |
| LOW | …ini/sample-apps/gemini-mesop-cloudrun/shared/styles.py | 1 | # Copyright 2024 Google LLC |
| LOW | gemini/sample-apps/image-bash-jam/tts.sh | 1 | #!/bin/bash |
| LOW | gemini/sample-apps/gemini-quart-cloudrun/app/app.py | 1 | # Copyright 2025 Google LLC |
| LOW | …accelerating_product_innovation/.streamlit/config.toml | 1 | # Copyright 2023 Google LLC |
| LOW | …/sample-apps/photo-discovery/app/analysis_options.yaml | 1 | # This file configures the analyzer, which statically analyzes Dart code to |
| LOW | …/sample-apps/photo-discovery/app/analysis_options.yaml | 21 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file |
| LOW | …covery/app/linux/flutter/generated_plugin_registrant.h | 1 | // |
| LOW | …sample-apps/photo-discovery/app/windows/runner/utils.h | 1 | #ifndef RUNNER_UTILS_H_ |
| LOW | …ps/photo-discovery/app/windows/runner/win32_window.cpp | 1 | #include "win32_window.h" |
| LOW | …ple-apps/photo-discovery/app/windows/runner/resource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | …very/app/windows/flutter/generated_plugin_registrant.h | 1 | // |
| LOW | gemini/sample-apps/photo-discovery/ag-web/app/app.py | 1 | # Copyright 2024 Google LLC |
| LOW | gemini/sample-apps/swot-agent/agent.py | 1 | # Copyright 2024 Google, LLC. |
| LOW | gemini/sample-apps/swot-agent/main.py | 1 | # Copyright 2024 Google, LLC. |
| LOW | gemini/sample-apps/swot-agent/tests/test_agent.py | 1 | # Copyright 2024 Google, LLC. This software is provided as-is, without |
| LOW | gemini/sample-apps/swot-agent/tests/test_main.py | 1 | # Copyright 2024 Google, LLC. This software is provided as-is, without |
| LOW | …ge-background-changer-using-imagen3/docker-compose.yml | 1 | # Copyright 2025 Google LLC |
| LOW | …ontend/src/app/components/header/header.component.scss | 61 | cursor: pointer; |
| 253 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 204 | # Create a boolean series for the comparison |
| MEDIUM | tools/llmevalkit/src/gcp_dataset.py | 16 | """This module provides utility functions for managing and processing datasets |
| MEDIUM | …live-api/project-livewire/server/core/gemini_client.py | 67 | # Create the session |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/project.tf | 11 | # Create a project for the concierge demo. |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/project.tf | 47 | # Create an Artifact Registry repository for hosting docker images for the concierge demo. |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/network.tf | 11 | # Create a VPC network and a single subnet for the concierge demo. |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/network.tf | 30 | # Create an IP address for the VPC peering connection. |
| MEDIUM | …perience-concierge/langgraph-demo/terraform/network.tf | 40 | # Create a private service networking connection. |
| MEDIUM | …ience-concierge/langgraph-demo/terraform/app_engine.tf | 5 | # Create a demo IAP brand for the Oauth Consent Screen. |
| MEDIUM | …ience-concierge/langgraph-demo/terraform/app_engine.tf | 14 | # Create a demo IAP client for the Oauth Consent Screen. |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 20 | # Create an AlloyDB cluster and instance for session management. |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 69 | # Create a BigQuery dataset for the mock Cymbal Retail data and embedding model. |
| MEDIUM | …rience-concierge/langgraph-demo/terraform/databases.tf | 88 | # Create a remote Cloud Resource Connection to enable access to BQML Embedding models |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 247 | # Create the image file name |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 250 | # Create the image save directory if it doesn't exist |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 740 | # Create a dictionary to store matched images and their information |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 744 | # Create a sub-dictionary for each matched image |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 841 | # Create a dictionary to store matched text and their information |
| MEDIUM | …gmented-generation/utils/intro_multimodal_rag_utils.py | 845 | # Create a sub-dictionary for each matched text |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/function.tf | 18 | #Create a service account to manage the remote function and its permissions |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/function.tf | 50 | ## Create a Cloud Function to serve as the remote function for image analysis |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/function.tf | 87 | ## Create a Cloud Function to serve as the remote function for image analysis |
| MEDIUM | …ing-gemini-with-bigquery-remote-functions/workflows.tf | 19 | ## Create the Workflows service account to manage permissions |
| MEDIUM | …ing-gemini-with-bigquery-remote-functions/workflows.tf | 49 | ## Create the workflow |
| MEDIUM | …using-gemini-with-bigquery-remote-functions/storage.tf | 17 | #Create a GCS bucket to store the image analysisremote function source code |
| MEDIUM | …using-gemini-with-bigquery-remote-functions/storage.tf | 42 | # Create a GCS bucket to upload demo images |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/bigquery.tf | 72 | # Create a series of stored procedures to connect to the remote function and call it |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/bigquery.tf | 73 | ## Create the image remote function. This stored procedure will be called by the workflow |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/bigquery.tf | 110 | ## Create the sample text input table. This stored procedure will be called by the workflow |
| MEDIUM | …sing-gemini-with-bigquery-remote-functions/bigquery.tf | 124 | ## Create the image remote function. This stored procedure will be called by the workflow |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 530 | # Create a dictionary to track files found in each directory |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 617 | # Create a label widget for the description |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 870 | # Create an EvalTask object |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 1009 | # Define the JSON schema for validation |
| MEDIUM | …novation/app/pages_utils/resources_store_embeddings.py | 85 | # Creating a simple dictionary to store all information |
| MEDIUM | …novation/app/pages_utils/resources_store_embeddings.py | 317 | # Create a list of csv file columns. |
| MEDIUM | …novation/app/pages_utils/resources_store_embeddings.py | 340 | # Create a dataframe from final chunked data. |
| MEDIUM | …oduct_innovation/app/pages_utils/export_content_pdf.py | 79 | pdf = pdf_generator() # Create a PDF for the current product |
| MEDIUM | …rating_product_innovation/app/pages_utils/downloads.py | 75 | # Create a BytesIO object to hold the zip file content |
| MEDIUM | …rating_product_innovation/app/pages_utils/downloads.py | 165 | # Create the zip file in memory. |
| MEDIUM | …rating_product_innovation/app/pages_utils/downloads.py | 185 | # Create the zip archive |
| MEDIUM | …elerating_product_innovation/app/pages_utils/imagen.py | 100 | # Create a post request to get images. |
| MEDIUM | …ating_product_innovation/app/pages_utils/edit_image.py | 1 | """This module provides functions for image processing and session state |
| MEDIUM | …ating_product_innovation/app/pages_utils/edit_image.py | 215 | # Create a BytesIO object from the image bytes |
| MEDIUM | …product_innovation/app/pages_utils/draft_generation.py | 35 | # Create an expandable section for each product title |
| MEDIUM | …accelerating_product_innovation/app/pages/resources.py | 57 | # Create a container for the screen |
| MEDIUM | …accelerating_product_innovation/app/pages/resources.py | 60 | # Create a form for the resources page |
| MEDIUM | gemini/sample-apps/swot-agent/main.py | 151 | # Create a custom deps object that uses the session_id |
| MEDIUM | …image-background-changer-using-imagen3/backend/main.py | 54 | # Create a route to handle GET requests on root |
| MEDIUM | …image-background-changer-using-imagen3/backend/main.py | 60 | # Create a route to handle GET requests on /version |
| MEDIUM | …und-changer-using-imagen3/backend/tests/test_search.py | 33 | # Create a test client for the FastAPI app |
| MEDIUM | …ound-changer-using-imagen3/backend/src/model/search.py | 21 | # Create a Literal type from the list of valid models |
| MEDIUM | …profile-image-generation-using-imagen3/backend/main.py | 54 | # Create a route to handle GET requests on root |
| MEDIUM | …profile-image-generation-using-imagen3/backend/main.py | 60 | # Create a route to handle GET requests on /version |
| MEDIUM | …e-generation-using-imagen3/backend/src/model/search.py | 21 | # Create a Literal type from the list of valid models |
| MEDIUM | …generation-using-imagen3/backend/src/service/search.py | 71 | # Create a new image with padding |
| MEDIUM | …generation-using-imagen3/backend/src/service/search.py | 109 | # Create a mask with the same size as the original image |
| MEDIUM | …bot/conversational-app-single-playbook/backend/main.py | 65 | # Create a route to handle GET requests on root |
| MEDIUM | …bot/conversational-app-single-playbook/backend/main.py | 71 | # Create a route to handle GET requests on /version |
| MEDIUM | …s/quickbot/text-to-image-using-imagen3/backend/main.py | 54 | # Create a route to handle GET requests on root |
| 43 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llmevalkit/tests/test_evaluation_page.py | 18 | def test_evaluation_load_prompt(mock_init, mock_storage, mock_gcp_prompt, mock_prompts): |
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 107 | def _ensure_datasets_folder_exists( |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 85 | def _apply_generation_config_typing(config: dict[str, Any]) -> dict[str, Any]: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 162 | def _handle_generate_test_for_new() -> None: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 259 | def _handle_save_edited_prompt() -> None: |
| LOW | tools/llmevalkit/pages/1_Prompt_Management.py | 316 | def _handle_generate_test_for_edit() -> None: |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 37 | def list_custom_training_jobs(project_id: str, location: str): |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 154 | def _display_interactive_results(results_ui: vapo_lib.ResultsUI) -> None: |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 46 | def get_metric_object_by_name(metric_name: str): |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 78 | def get_autorater_pairwise_response(metric_prompt: str, model: str) -> dict: |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 129 | def extract_completeness_metrics( |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 157 | def plot_distribution_comparison( |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 263 | def get_generation_config_dict(self): |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 268 | def escape_special_characters(text: str) -> str: |
| LOW | tools/llmevalkit/src/gcp_dataset.py | 61 | def escape_special_characters(text: str) -> str: |
| LOW | …al-live-api/pcm-audio-debugger/pcm-audio-debugger.html | 585 | function processAndEncode() { |
| LOW | …timodal-live-api/websocket-demo-app/frontend/script.js | 41 | function getSelectedResponseModality() { |
| LOW | …timodal-live-api/websocket-demo-app/frontend/script.js | 229 | async function setAvailableCamerasOptions() { |
| LOW | …timodal-live-api/websocket-demo-app/frontend/script.js | 235 | async function setAvailableMicrophoneOptions() { |
| LOW | …concierge/langgraph-demo/frontend/concierge_ui/auth.py | 34 | def fetch_gce_id_token_credentials( |
| LOW | …concierge/langgraph-demo/frontend/concierge_ui/auth.py | 51 | def fetch_impersonated_id_token_credentials( |
| LOW | …concierge/langgraph-demo/backend/concierge/settings.py | 50 | def ensure_cymbal_dataset_resources(self) -> Self: |
| LOW | …nggraph-demo/backend/concierge/tools/find_inventory.py | 39 | def generate_find_inventory_handler( |
| LOW | …/langgraph-demo/backend/concierge/tools/find_stores.py | 59 | def generate_find_stores_handler( |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 62 | def generate_find_products_handler( |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 166 | def _build_query_without_vector_search( |
| LOW | …anggraph-demo/backend/concierge/tools/find_products.py | 284 | def _build_query_with_vector_search( |
| LOW | …ierge/langgraph-demo/backend/concierge/nodes/router.py | 63 | def build_semantic_router_node( |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 294 | def _checkpoint_from_runnable_config( |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 315 | def _state_snapshot_to_thread_state( |
| LOW | …/backend/concierge/langgraph_server/langgraph_agent.py | 343 | def _pregel_task_to_thread_task(task: lg_types.PregelTask) -> schema.ThreadTask: |
| LOW | …experience-concierge/scripts/langgraph_demo/dataset.py | 191 | def create_product_table_with_embeddings( |
| LOW | …experience-concierge/scripts/langgraph_demo/dataset.py | 321 | def get_connection_service_account( |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 169 | def read_unconsolidated_memories() -> dict: |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 231 | def read_consolidation_history() -> dict: |
| LOW | gemini/mcp/adk_mcp_app/main.py | 47 | async def process_message_with_runner(runner: Runner, session_id: str, question: str): |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 123 | async def list_cocktails_by_first_letter(letter: str) -> str: |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 141 | async def search_ingredient_by_name(name: str) -> str: |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 165 | async def lookup_cocktail_details_by_id(cocktail_id: str) -> str: |
| LOW | gemini/mcp/adk_multiagent_mcp_app/main.py | 105 | async def process_message_with_runner(runner: Runner, session_id: str, question: str): |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 120 | async def list_cocktails_by_first_letter(letter: str) -> str: |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 138 | async def search_ingredient_by_name(name: str) -> str: |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 162 | async def lookup_cocktail_details_by_id(cocktail_id: str) -> str: |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 32 | def get_text_embedding_from_text_embedding_model( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 59 | def get_image_embedding_from_multimodal_embedding_model( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 89 | def get_text_overlapping_chunk( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 533 | def get_user_query_text_embeddings(user_query: str) -> np.ndarray: |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 548 | def get_user_query_image_embeddings( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 585 | def print_text_to_image_citation( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 636 | def print_text_to_text_citation( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 689 | def get_similar_image_from_query( |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 795 | def get_similar_text_from_query( |
| LOW | …ini/use-cases/entity-extraction/document_processing.py | 108 | def classify_and_extract_document(document_uri: str) -> str: |
| LOW | …ini/use-cases/entity-extraction/document_processing.py | 118 | def evaluate_quality_and_extract(extract_config_id: str, document_uri: str): |
| LOW | gemini/use-cases/entity-extraction/main.py | 101 | def handle_classification_and_extraction(): |
| LOW | …se-cases/entity-extraction/document_processing_test.py | 75 | def test_classify_and_extract_document() -> None: |
| LOW | …se-cases/entity-extraction/document_processing_test.py | 94 | def test_evaluate_quality_and_extract_high_quality_document() -> None: |
| LOW | …se-cases/entity-extraction/document_processing_test.py | 116 | def test_evaluate_quality_and_extract_low_quality_document() -> None: |
| LOW | …i-with-bigquery-remote-functions/function/text/main.py | 37 | def generate_text_from_prompt(text_string) -> str | None: |
| LOW | …and-documentai-for-entity-extraction/prompts_module.py | 1 | def get_extract_entities_prompt() -> str: |
| 126 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …-demo/backend/concierge/nodes/task_planning/planner.py | 32 | Generates a plan or a direct response based on the current conversation state. This function takes the |
| HIGH | …emo/backend/concierge/nodes/task_planning/reflector.py | 32 | Asynchronously reflects on the executed plan and determines the next action. This function takes the c |
| HIGH | …demo/backend/concierge/nodes/task_planning/executor.py | 29 | Asynchronously executes a plan's tasks and updates the conversation state. This function takes the cur |
| HIGH | …backend/concierge/langgraph_server/checkpoint_saver.py | 23 | Loads a checkpoint saver based on the provided backend configuration. This function takes a CheckpointerConfig |
| HIGH | …experience-concierge/scripts/langgraph_demo/backend.py | 99 | Describe a Cloud Run service and print its details in JSON format. This command uses `gcloud run services desc |
| HIGH | …perience-concierge/scripts/langgraph_demo/terraform.py | 114 | Retrieve Terraform outputs as a dictionary. This command retrieves the outputs defined in the Terraform config |
| HIGH | …experience-concierge/scripts/langgraph_demo/dataset.py | 82 | Create the required Cymbal dataset models and tables. Only the project is required to exist before calling thi |
| HIGH | …experience-concierge/scripts/langgraph_demo/dataset.py | 349 | Executes a function and prints a success or failure message. Args: start_message (str): The message to |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_server.py | 108 | Calls the specified Gemini model using the google-genai library. Args: model_name: The name of the Gemini m |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 55 | Loads configuration from a JSON file. Args: file_path: Path to the configuration file. Ret |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 228 | Execute a tool with retry mechanism. Args: tool_name: The name of the tool to execute. |
| HIGH | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 508 | Sends the current conversation history to the LLM and returns the response text. Args: |
| HIGH | …gmented-generation/utils/intro_multimodal_rag_utils.py | 92 | * Breaks a text document into chunks of a specified size, with an overlap between chunks to preserve context. * |
| HIGH | …gmented-generation/utils/intro_multimodal_rag_utils.py | 174 | * Extracts text from a given page object, chunks it, and generates embeddings for each chunk. * Takes a page ob |
| HIGH | …gmented-generation/utils/intro_multimodal_rag_utils.py | 803 | Finds the top N most similar text passages from a metadata DataFrame based on a text query. Args: quer |
| HIGH | …elerating_product_innovation/app/pages_utils/imagen.py | 36 | Predicts the output of Imagen on a given instance dict. Args: instance_dict: The input to the la |
| HIGH | …ingle-playbook/backend/src/repository/cloud_storage.py | 49 | Lists all blobs (files) within a specified GCS path. Parses the bucket name and prefix from the full GCS path |
| HIGH | …nal-app-single-playbook/backend/src/repository/task.py | 78 | Creates a Cloud Task to handle an IntentCreateEvent. Constructs an HTTP task targeting the configured FUNCTION_ |
| HIGH | …pp-single-playbook/backend/src/repository/big_query.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t |
| HIGH | …onal-app-single-playbook/backend/src/service/intent.py | 89 | Creates a new intent in the database. Validates that an intent with the same name doesn't already exist. |
| HIGH | …sing-agent-builder/backend/src/repository/big_query.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t |
| HIGH | …h-using-agent-builder/backend/src/controller/search.py | 34 | Performs a search using the configured Search Application. Args: item: The search request containing t |
| HIGH | …gent-builder/backend/src/service/search_application.py | 57 | Creates a new Search Application configuration in BigQuery. Ensures that no configuration already exis |
| HIGH | …gent-builder/backend/src/service/search_application.py | 91 | Updates an existing Search Application configuration in BigQuery. Identifies the row to update using t |
| HIGH | …multi-playbook/backend/src/repository/cloud_storage.py | 49 | Lists all blobs (files) within a specified GCS path. Parses the bucket name and prefix from the full GCS path |
| HIGH | …onal-app-multi-playbook/backend/src/repository/task.py | 78 | Creates a Cloud Task to handle an IntentCreateEvent. Constructs an HTTP task targeting the configured FUNCTION_ |
| HIGH | …app-multi-playbook/backend/src/repository/big_query.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t |
| HIGH | …ional-app-multi-playbook/backend/src/service/intent.py | 89 | Creates a new intent in the database. Validates that an intent with the same name doesn't already exist. |
| HIGH | …sing-agent-builder/backend/src/repository/big_query.py | 104 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t |
| HIGH | …h-using-agent-builder/backend/src/controller/search.py | 44 | Performs a search using the configured Search Application. Args: item: The search request containing t |
| HIGH | …h-using-agent-builder/backend/src/controller/search.py | 117 | Fetches a document directly from GCS and returns its content. Expects a JSON body with a 'gcs_url' field speci |
| HIGH | …gent-builder/backend/src/service/search_application.py | 57 | Creates a new Search Application configuration in BigQuery. Ensures that no configuration already exis |
| HIGH | …gent-builder/backend/src/service/search_application.py | 91 | Updates an existing Search Application configuration in BigQuery. Identifies the row to update using t |
| HIGH | …arch-using-agent-builder/backend/src/service/search.py | 72 | Performs a search against the configured Discovery Engine. Constructs a search request with predefined |
| HIGH | …concierge-with-adk/backend/src/repository/big_query.py | 111 | Executes a BigQuery SQL query and returns the results. Args: query: The SQL query string t |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 524 | # ─── Consolidation Timer ────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 36 | # ─── Config ──────────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 77 | # ─── Database ────────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 315 | # ─── ADK Agents ──────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 395 | # ─── Agent Runner ────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 478 | # ─── File Watcher ────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 546 | # ─── HTTP API ────────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 609 | # ─── Main ────────────────────────────────────────────────────── |
| MEDIUM | gemini/agents/always-on-memory-agent/agent.py | 111 | # ─── ADK Tools ───────────────────────────────────────────────── |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 1 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 3 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 9 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 11 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 23 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 25 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 35 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 37 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 45 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 47 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 57 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 59 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 69 | # ----------------------------------------------------------------------------- |
| MEDIUM | …ps/accelerating_product_innovation/app/app_config.toml | 71 | # ----------------------------------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 87 | # Print the results |
| LOW | …-audio-websocket-demo-apps/plain-js-demo-app/server.py | 215 | # Check if file exists |
| LOW | gemini/mcp/adk_mcp_app/mcp_server/cocktail.py | 31 | # Check if it's a known 'no result' structure or genuinely empty |
| LOW | …mini/mcp/adk_multiagent_mcp_app/mcp_server/cocktail.py | 31 | # Check if it's a known 'no result' structure or genuinely empty |
| LOW | …gmented-generation/utils/intro_multimodal_rag_utils.py | 715 | # Check if image embedding is used |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 912 | ) # Display value and line break |
| LOW | …oduct_innovation/app/pages_utils/export_content_pdf.py | 156 | # Check if new page needs to be added, and |
| LOW | …oduct_innovation/app/pages_utils/export_content_pdf.py | 166 | # Check if an empty page is encountered. |
| LOW | …elerating_product_innovation/app/pages_utils/imagen.py | 107 | # Check if response is valid. |
| LOW | …g_product_innovation/app/pages_utils/pdf_generation.py | 206 | # Check if adding the word would exceed the line limit |
| LOW | …g_product_innovation/app/pages_utils/pdf_generation.py | 215 | # Check if adding the line would overflow the page |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 50 | # Check if DataFrame is empty |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 76 | # Set flag to generate RAG answers |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 84 | # Check if DataFrame is empty |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 102 | # Check if number of suggestions is less than 4 |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 109 | # Check if suggestions are loaded |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 152 | # Set flag to generate RAG answers |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 155 | # Check if RAG answers should be generated |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 157 | # Check if DataFrame is empty |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 164 | # Check if search term is empty |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 192 | # Check if RAG answer and references are available |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 209 | # Check if temporary suggestions are available |
| LOW | …ating_product_innovation/app/pages/product_insights.py | 225 | # Set flag to generate RAG answers |
| LOW | …ccelerating_product_innovation/app/pages/edit_image.py | 44 | # Check if the user has uploaded an image |
| LOW | …ccelerating_product_innovation/app/pages/edit_image.py | 48 | # Check if the user has started editing the image |
| LOW | …ccelerating_product_innovation/app/pages/edit_image.py | 69 | # Check if drawing exists on the canvas (i.e., not blank) |
| LOW | …accelerating_product_innovation/app/pages/resources.py | 83 | # Check if the form was submitted |
| LOW | …accelerating_product_innovation/app/pages/resources.py | 86 | # Check if a new project category was added |
| LOW | …accelerating_product_innovation/app/pages/resources.py | 106 | # Check if files were uploaded |
| LOW | …accelerating_product_innovation/app/pages/resources.py | 112 | # Check if files were uploaded |
| LOW | …accelerating_product_innovation/app/pages/resources.py | 119 | # Check if the project form was submitted and the file upload is complete |
| LOW | gemini/sample-apps/swot-agent/main.py | 115 | # Check if analysis is complete by looking for the final message |
| LOW | …llamaindex-rag/backend/indexing/vector_search_utils.py | 147 | # Check if the existing index is deployed |
| LOW | gemini/computer-use/web-agent/web_agent.py | 218 | # Check if the attribute exists AND is not None |
| LOW | search/web-app/main.py | 125 | # Check if POST Request includes search query |
| LOW | search/web-app/main.py | 197 | # Check if POST Request includes search query |
| LOW | search/web-app/main.py | 208 | # Check if text is a url |
| LOW | search/web-app/main.py | 277 | # Check if POST Request includes document id |
| LOW | search/web-app/main.py | 338 | # Check if POST Request includes search query |
| LOW | search/auto-rag-eval/transform_benchmark.py | 85 | # Check if input file exists |
| LOW | scripts/format.sh | 18 | # Check if uv is installed |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llmevalkit/pages/2_Dataset_Creation.py | 67 | |
| LOW | tools/llmevalkit/pages/8_Prompt_Records.py | 32 | |
| LOW | tools/llmevalkit/pages/6_Prompt_Optimization.py | 180 | |
| LOW | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 154 | |
| LOW | tools/llmevalkit/pages/3_Evaluation.py | 140 | |
| LOW | tools/llmevalkit/pages/5_Performance_Tuner.py | 197 | |
| LOW | tools/llmevalkit/pages/4_One_Click_Refiner.py | 192 | |
| LOW | tools/llmevalkit/src/gcp_evaluation.py | 71 | |
| LOW | tools/llmevalkit/src/gcp_prompt.py | 204 | |
| LOW | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 30 | |
| LOW | …-demo-apps/plain-js-python-sdk-demo-app/gemini_live.py | 79 | |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 47 | |
| LOW | …bsocket-demo-apps/plain-js-python-sdk-demo-app/main.py | 68 | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 42 | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 134 | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 193 | |
| LOW | …-api/project-livewire/server/core/websocket_handler.py | 303 | |
| LOW | …end/concierge_ui/agents/gemini_chat_with_guardrails.py | 16 | |
| LOW | …raph-demo/frontend/concierge_ui/agents/task_planner.py | 16 | |
| LOW | …-demo/frontend/concierge_ui/agents/function_calling.py | 17 | |
| LOW | …h-demo/frontend/concierge_ui/agents/semantic_router.py | 16 | |
| LOW | gemini/agents/always-on-memory-agent/dashboard.py | 120 | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 190 | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 283 | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 481 | |
| LOW | gemini/mcp/mcp_orchestration_app/src/gemini_client.py | 170 | |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 773 | |
| LOW | gemini/prompts/prompt_optimizer/vapo_lib.py | 419 | |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 707 | |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 834 | |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 1011 | |
| LOW | gemini/sample-apps/gemini-mesop-cloudrun/main.py | 1510 | |
| LOW | …i/sample-apps/gemini-mesop-cloudrun/shared/nav_menu.py | 63 | |
| LOW | …ing_product_innovation/app/pages_utils/pages_config.py | 23 | |
| LOW | …ting_product_innovation/app/pages_utils/product_gen.py | 191 | |
| LOW | …rating_product_innovation/app/pages_utils/downloads.py | 141 | |
| LOW | …product_innovation/app/pages_utils/product_features.py | 137 | |
| LOW | …ating_product_innovation/app/pages_utils/edit_image.py | 145 | |
| LOW | …product_innovation/app/pages_utils/draft_generation.py | 48 | |
| LOW | …ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py | 72 | |
| LOW | …ini/sample-apps/gemini-hallcheck/src/gemhall/runner.py | 137 | |
| LOW | …nd-changer-using-imagen3/backend/src/service/search.py | 93 | |
| LOW | …t-to-image-using-imagen3/backend/src/service/search.py | 82 | |
| LOW | …vel-concierge-with-adk/backend/src/controller/chats.py | 42 | |
| LOW | …e-apps/llamaindex-rag/backend/indexing/docai_parser.py | 159 | |
| LOW | …ample-apps/gemini-live-telephony-app/utils/live_api.py | 24 | |
| LOW | …s/gemini-live-telephony-app/utils/audio_transcoding.py | 26 | |
| LOW | …s/gemini-live-telephony-app/utils/audio_transcoding.py | 70 | |
| LOW | gemini/computer-use/web-agent/web_agent.py | 56 | |
| LOW | gemini/computer-use/web-agent/web_agent.py | 142 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 253 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 817 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 870 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 922 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 957 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 1032 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 1151 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 1283 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 1351 | |
| LOW | vision/sample-apps/genmedia-live/app.py | 438 | |
| 8 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tools/llmevalkit/pages/6_Prompt_Optimization.py | 164 | st.session_state.local_prompt.prompt_to_run.model_name.split("/")[-1] |
| CRITICAL | tools/llmevalkit/pages/3_Evaluation.py | 366 | st.session_state.local_prompt.prompt_to_run.model_name.split("/")[-1] |
| CRITICAL | gemini/sample-apps/swot-agent/agent.py | 224 | response = await ctx.deps.client.aio.models.generate_content( |
| CRITICAL | …licensing/internal/adapters/discoveryengine/adapter.go | 305 | resp, err := svc.Projects.Locations.UserStores.LicenseConfigsUsageStats.List(parent).Context(ctx).Do() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .ruff.toml | 56 | "PYI",# flake8-pyi (best practices for .pyi stub files, some rules are useful for .py too) |
| MEDIUM | .ruff.toml | 62 | "TRY",# tryceratops (exception handling best practices) |
| MEDIUM | tools/llmevalkit/pages/7_Prompt_Optimization_Results.py | 189 | # Add a custom exact_match calculation. This is more robust than simple |
| MEDIUM | …concierge/langgraph-demo/frontend/concierge_ui/home.py | 21 | Each agent server is compatible with the [LangGraph Cloud API](langchain-ai.github.io/langgraph/cloud/reference/api/api_ |
| LOW | …/langgraph-demo/backend/concierge/tools/find_stores.py | 89 | # Note: google-genai doesn't properly handle floats, so we just set this as an integer |
| MEDIUM | gemini/prompts/prompt_optimizer/vapo_lib.py | 831 | ) # More robust text extraction |
| MEDIUM | …round-changer-using-imagen3/frontend/package-lock.json | 23195 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …ge-generation-using-imagen3/frontend/package-lock.json | 23219 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …ational-app-single-playbook/frontend/package-lock.json | 22428 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …text-to-image-using-imagen3/frontend/package-lock.json | 23272 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …-search-using-agent-builder/frontend/package-lock.json | 22430 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …sational-app-multi-playbook/frontend/package-lock.json | 22430 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …-search-using-agent-builder/frontend/package-lock.json | 22456 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …t-travel-concierge-with-adk/frontend/package-lock.json | 20634 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", |
| MEDIUM | …ng/app/static/live-onboarding/assets/index-GxbLCVag.js | 76 | } function Z0(l, t) { return t = Q0(t), Q0(l) === t } function cl(l, t, e, a, u, n) { switch (e) { case "children": |
| LOW | search/auto-rag-eval/main.py | 169 | # Simplified review: just use one critic for now |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …experience-concierge/langgraph-demo/frontend/README.md | 51 | - **Gemini Chat:** streams response text generated by Gemini |
| HIGH | …-experience-concierge/langgraph-demo/backend/README.md | 77 | - Streams: Response text generated by Gemini. |
| HIGH | …/using-gemini-with-bigquery-remote-functions/README.md | 96 | Gemini will analyze the sample images when you invoke the `image_query_remote_function_sp` stored procedure. Simply clic |
| HIGH | …/using-gemini-with-bigquery-remote-functions/README.md | 104 | Gemini will analyze the prewritten text prompts when you invoke the `text_query_remote_function_sp` stored procedure. Si |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/llmevalkit/src/vapo_lib.py | 27 | |
| LOW | …ebsocket-demo-apps/gaming-assistant-demo-app/server.py | 15 | |
| LOW | …ebsocket-demo-apps/customer-support-demo-app/server.py | 15 | |
| LOW | …ive-audio-websocket-demo-apps/react-demo-app/server.py | 15 | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 25 | |
| LOW | gemini/agents/always-on-memory-agent/agent.py | 26 | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 15 | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 16 | |
| LOW | …ingle-playbook/functions/create-intent/src/bigquery.py | 15 | |
| LOW | …o-image-using-imagen3/backend/src/controller/search.py | 15 | |
| LOW | …o-image-using-imagen3/backend/src/controller/search.py | 17 | |
| LOW | …o-image-using-imagen3/backend/src/controller/search.py | 19 | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 15 | |
| LOW | …-playbook/functions/create-intent/src/cloud_storage.py | 16 | |
| LOW | …multi-playbook/functions/create-intent/src/bigquery.py | 15 | |
| LOW | …lti-agent-travel-concierge-with-adk/backend/test_ae.py | 16 | |
| LOW | …lti-agent-travel-concierge-with-adk/backend/test_ae.py | 18 | |
| LOW | agents/adk/new-hire-onboarding/app/__init__.py | 15 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ni/sample-apps/genwealth/deployment/deploy-frontend.sh | 29 | # Step 3: Deploy to Cloud Run |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 42 | // Step 1: plain JSON logger for startup errors, before settings are loaded. |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 45 | // Step 2: load entitlement config. |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 52 | // Step 3: load job settings from Cloud Run Job environment variables. |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 59 | // Step 4: re-set the default logger with workflow and task_index attributes |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 67 | // Step 5: partition cfg.Projects to only the entries assigned to this task. |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 91 | // Step 6: wire adapters — identical to cmd/server/main.go. |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 114 | // Step 7: run the workflow determined by JobType. |
| LOW | …arch/gemini-enterprise/group-licensing/cmd/job/main.go | 131 | // Step 8: clean exit. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …and-documentai-for-entity-extraction/prompts_module.py | 47 | "Employee's Name": "John Doe", |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 31 | "name": "Jane Doe", |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 81 | "name": "Jane Doe", |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 135 | "name": "Jane Doe", |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 181 | "name": "Jane Doe", |
| LOW | …re-onboarding/tests/eval/evalsets/onboarding_eval.json | 230 | "name": "Jane Doe", |
| LOW | …boarding/tests/eval/evalsets/dead_time_delay_eval.json | 31 | "name": "Jane Doe", |
| LOW | …boarding/tests/eval/evalsets/dead_time_delay_eval.json | 115 | "name": "Jane Doe", |
| LOW | …sing/internal/adapters/discoveryengine/adapter_test.go | 252 | UserPrincipal: "user@example.com", |
| LOW | …sing/internal/adapters/discoveryengine/adapter_test.go | 411 | UserEmail: "user@example.com", |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 153 | {Email: "user@example.com", Type: models.MemberTypeUser}, |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 278 | {Email: "user@example.com", Type: models.MemberTypeUser}, |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 432 | {Email: "user@example.com", Type: models.MemberTypeUser}, |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 436 | return len(updates) == 1 && updates[0].UserEmail == "user@example.com" |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 594 | {Email: "user@example.com", Type: models.MemberTypeUser}, |
| LOW | …prise/group-licensing/internal/services/joiner_test.go | 673 | userEmail = "user@example.com" |
| LOW | …nterprise/group-licensing/internal/services/gc_test.go | 470 | userEmail = "user@example.com" |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | partner-models/claude/computer-use-demo/README.md | 124 | export ANTHROPIC_API_KEY=%your_api_key% |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | gemini/sample-apps/genwealth/database-files/llm.sql | 22 | -- DISCLAIMER: This function is provided for demonstration purposes only and |
| MEDIUM | …ini/sample-apps/genwealth/database-files/llm_local.sql | 22 | -- DISCLAIMER: This function is provided for demonstration purposes only and |