AI Slop Code RIsk Monitor

googleapis/mcp-toolbox

MCP Toolbox for Databases is an open source MCP server for databases.

5.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for googleapis/mcp-toolbox, a Go project with 16,643 GitHub stars. SynthScan examined 383,022 lines of code across 1984 source files, recording 1423 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate 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.

5.1
Adjusted Signal
5.1
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
16.6K
Stars
Go
Language
383.0K
Lines of Code
2.0K
Files
1.4K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1334 finding(s).

Hallucinated Dependency & Supply Chain Risk 5.6/100 · LOW

Are imports declared and package/API names verified? 65 finding(s).

Agent Over-Engineering Ratio 1.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 31 finding(s).

PR Review Velocity Impact 21.5/100 · LOW

Which changes need focused human review? 1423 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 32HIGH 17MEDIUM 30LOW 1344

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1423 distinct pattern matches across 19 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.

Over-Commented Block1199 hits · 1199 pts
SeverityFileLineSnippetContext
LOW.golangci.yaml1# Copyright 2024 Google LLC.COMMENT
LOWmain.go1// Copyright 2024 Google LLCCOMMENT
LOWcmd/root_test.go1// Copyright 2024 Google LLCCOMMENT
LOWcmd/root.go1// Copyright 2024 Google LLCCOMMENT
LOWcmd/internal/config.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/options.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/imports.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/flags.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/options_test.go1// Copyright 2024 Google LLCCOMMENT
LOWcmd/internal/config_test.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/invoke/command.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/invoke/command_test.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/migrate/command.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/migrate/command_test.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/skills/command.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/skills/command_test.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/skills/generator.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/skills/generator_test.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/serve/command.go1// Copyright 2026 Google LLCCOMMENT
LOWcmd/internal/serve/command_test.go1// Copyright 2026 Google LLCCOMMENT
LOW.gemini/config.yaml1# Copyright 2025 Google LLCCOMMENT
LOWevals/teardown/cloud-sql-postgres-admin.sh1#!/bin/bashCOMMENT
LOWevals/teardown/dispatch.sh1#!/bin/bashCOMMENT
LOWevals/teardown/bigquery.sh1#!/bin/bashCOMMENT
LOWevals/setup/dispatch.sh1#!/bin/bashCOMMENT
LOWevals/setup/bigquery.sh1#!/bin/bashCOMMENT
LOWevals/run_configs/toolbox.yaml1# Copyright 2026 Google LLCCOMMENT
LOWevals/model_configs/gemini_3.1_pro_model.yaml1# Copyright 2026 Google LLCCOMMENT
LOWevals/model_configs/claude_cli.yaml1# Copyright 2026 Google LLCCOMMENT
LOWevals/model_configs/gemini_cli.yaml1# Copyright 2026 Google LLCCOMMENT
LOW.ci/versioned.release.cloudbuild.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.ci/test_with_coverage.sh1#!/bin/bashCOMMENT
LOW.ci/integration.cloudbuild.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.ci/integration.cloudbuild.yaml821 mssqlCOMMENT
LOW.ci/run_evals.sh1#!/bin/bashCOMMENT
LOW.ci/trigger_exit_gate.sh1#!/usr/bin/env bashCOMMENT
LOW.ci/publish_npm_to_ar.sh1#!/usr/bin/env bashCOMMENT
LOW.ci/publish_npm_to_ar.sh21#COMMENT
LOW.ci/evals.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW.ci/test_prompts_with_coverage.sh1#!/bin/bashCOMMENT
LOW.ci/update_docs_versions.py1#!/usr/bin/env python3COMMENT
LOW.ci/publish_pypi_to_ar.sh1#!/usr/bin/env bashCOMMENT
LOW.ci/publish_pypi_to_ar.sh21#COMMENT
LOW.ci/pypi_retry.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW.ci/continuous.release.cloudbuild.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.ci/npm_retry.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW.ci/sample_tests/run_tests.sh1# Copyright 2026 Google LLCCOMMENT
LOW…sts/pre_post_processing/go.integration.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…sts/pre_post_processing/py.integration.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…sts/pre_post_processing/js.integration.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW…sample_tests/quickstart/go.integration.cloudbuild.yaml1# Copyright 2025 Google LLCCOMMENT
LOW…sample_tests/quickstart/py.integration.cloudbuild.yaml1# Copyright 2025 Google LLCCOMMENT
LOW…sample_tests/quickstart/js.integration.cloudbuild.yaml1# Copyright 2025 Google LLCCOMMENT
LOW.ci/dataproc/recreate_dataproc_cluster.cloudbuild.yaml1# Copyright 2026 Google LLCCOMMENT
LOW.ci/dataproc/recreate_dataproc_cluster.sh1#!/usr/bin/env bashCOMMENT
LOW.hugo/hugo.cloudflare.toml1# Copyright 2026 Google LLCCOMMENT
LOW.hugo/data/filters.yaml1# Copyright 2026 Google LLCCOMMENT
LOWtests/option.go1// Copyright 2025 Google LLCCOMMENT
LOWtests/embedding.go1// Copyright 2026 Google LLCCOMMENT
LOWtests/server.go1// Copyright 2024 Google LLCCOMMENT
1139 more matches not shown…
Hallucination Indicators32 hits · 375 pts
SeverityFileLineSnippetContext
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go99 _ = service.Projects.Locations.Datasets.FhirStores.List(datasetName).Pages(ctx, func(page *healthcare.ListFhirStoresResCODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go108 _, _ = service.Projects.Locations.Datasets.FhirStores.Delete(store.Name).Context(ctx).Do()CODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go115 _ = service.Projects.Locations.Datasets.DicomStores.List(datasetName).Pages(ctx, func(page *healthcare.ListDicomStoresRCODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go124 _, _ = service.Projects.Locations.Datasets.DicomStores.Delete(store.Name).Context(ctx).Do()CODE
CRITICAL…s/cloudhealthcare/cloud_healthcare_integration_test.go272 resp, err := service.Projects.Locations.Datasets.FhirStores.Fhir.Create(fhirStoreName, resourceType, resourceBody).Do()CODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go313 if fhirStore, err = service.Projects.Locations.Datasets.FhirStores.Create(datasetName, fhirStore).FhirStoreId(fhirStoreCODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go318 if _, err := service.Projects.Locations.Datasets.FhirStores.Delete(fhirStore.Name).Do(); err != nil {CODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go327 if dicomStore, err = service.Projects.Locations.Datasets.DicomStores.Create(datasetName, dicomStore).DicomStoreId(dicomCODE
CRITICAL⚡…s/cloudhealthcare/cloud_healthcare_integration_test.go332 if _, err := service.Projects.Locations.Datasets.DicomStores.Delete(dicomStore.Name).Do(); err != nil {CODE
CRITICAL…s/cloudhealthcare/cloud_healthcare_integration_test.go420 call := service.Projects.Locations.Datasets.DicomStores.StoreInstances(storeName, "studies", buf)CODE
CRITICALinternal/sources/alloydbadmin/alloydbadmin.go199 resp, err := service.Projects.Locations.Clusters.Instances.Create(urlString, instance).InstanceId(instanceID).Do()CODE
CRITICALinternal/sources/alloydbadmin/alloydbadmin.go228 resp, err := service.Projects.Locations.Clusters.Users.Create(urlString, user).UserId(userID).Do()CODE
CRITICALinternal/sources/alloydbadmin/alloydbadmin.go260 resp, err := service.Projects.Locations.Clusters.Instances.Get(urlString).Do()CODE
CRITICALinternal/sources/alloydbadmin/alloydbadmin.go275 resp, err := service.Projects.Locations.Clusters.Users.Get(urlString).Do()CODE
CRITICALinternal/sources/alloydbadmin/alloydbadmin.go305 resp, err := service.Projects.Locations.Clusters.Instances.List(urlString).Do()CODE
CRITICALinternal/sources/alloydbadmin/alloydbadmin.go320 resp, err := service.Projects.Locations.Clusters.Users.List(urlString).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go103 if _, err = svc.Projects.Locations.Datasets.FhirStores.Get(dsName).Do(); err != nil {CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go113 _, err := svc.Projects.Locations.Datasets.FhirStores.Get(name).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go125 _, err := svc.Projects.Locations.Datasets.DicomStores.Get(name).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go439 resp, err := svc.Projects.Locations.Datasets.FhirStores.Fhir.PatientEverything(name).Do(opts...)CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go458 resp, err := svc.Projects.Locations.Datasets.FhirStores.Fhir.SearchType(name, "Patient", bytes.NewReader(body)).Do(optsCODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go487 call := svc.Projects.Locations.Datasets.FhirStores.Fhir.Read(name)CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go504 store, err := svc.Projects.Locations.Datasets.DicomStores.Get(storeName).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go518 store, err := svc.Projects.Locations.Datasets.FhirStores.Get(storeName).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go532 store, err := svc.Projects.Locations.Datasets.DicomStores.GetDICOMStoreMetrics(storeName).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go546 store, err := svc.Projects.Locations.Datasets.FhirStores.GetFHIRStoreMetrics(storeName).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go560 stores, err := svc.Projects.Locations.Datasets.DicomStores.List(datasetName).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go588 stores, err := svc.Projects.Locations.Datasets.FhirStores.List(datasetName).Do()CODE
CRITICALinternal/sources/cloudhealthcare/cloud_healthcare.go617 call := svc.Projects.Locations.Datasets.DicomStores.Studies.Series.Instances.Frames.RetrieveRendered(name, dicomWebPathCODE
CRITICAL⚡internal/sources/cloudhealthcare/cloud_healthcare.go645 resp, err = svc.Projects.Locations.Datasets.DicomStores.SearchForInstances(name, dicomWebPath).Do(opts...)CODE
CRITICAL⚡internal/sources/cloudhealthcare/cloud_healthcare.go647 resp, err = svc.Projects.Locations.Datasets.DicomStores.SearchForSeries(name, dicomWebPath).Do(opts...)CODE
CRITICAL⚡internal/sources/cloudhealthcare/cloud_healthcare.go649 resp, err = svc.Projects.Locations.Datasets.DicomStores.SearchForStudies(name, dicomWebPath).Do(opts...)CODE
Structural Annotation Overuse92 hits · 148 pts
SeverityFileLineSnippetContext
LOWtests/dataplex/dataplex_integration_test.go2723 // Step 1: Invoke Generate/Discover/Check ToolCOMMENT
LOWtests/dataplex/dataplex_integration_test.go2758 // Step 2: Poll Operation StatusCOMMENT
LOWtests/dataplex/dataplex_integration_test.go2831 // Step 3: Get Run StatusCOMMENT
LOWtests/dataplex/dataplex_integration_test.go2856 // Step 4: Get Profile / Insights / Discovery / Quality ResultsCOMMENT
LOWdocs/en/documentation/configuration/toolbox_mcp_auth.md15## Step 1: Configure the `generic` Auth ServiceCOMMENT
LOWdocs/en/documentation/configuration/toolbox_mcp_auth.md32## Step 2: DeploymentCOMMENT
LOWdocs/en/documentation/configuration/toolbox_mcp_auth.md96## Step 3: Connecting to the Secure MCP EndpointCOMMENT
LOW…en/documentation/configuration/security/model-armor.md66## Step 1: Configure a Model Armor templateCOMMENT
LOW…en/documentation/configuration/security/model-armor.md96## Step 2: Secure ingress and egressCOMMENT
LOW⚡…documentation/configuration/embedding-models/_index.md52### Step 1 - Define an Embedding ModelCOMMENT
LOW⚡…documentation/configuration/embedding-models/_index.md65### Step 2 - Embed Tool ParametersCOMMENT
LOW…ation/connect-to/toolbox-sdks/python-sdk/core/index.md405### Step 1: Configure Tools in Toolbox ServiceCOMMENT
LOW…ation/connect-to/toolbox-sdks/python-sdk/core/index.md411### Step 2: Configure SDK ClientCOMMENT
LOW…n/connect-to/toolbox-sdks/javascript-sdk/core/index.md276### Step 1: Configure Tools in Toolbox ServiceCOMMENT
LOW…n/connect-to/toolbox-sdks/javascript-sdk/core/index.md284### Step 2: Configure SDK ClientCOMMENT
LOW…on/connect-to/toolbox-sdks/javascript-sdk/adk/index.md256### Step 1: Configure Tools in Toolbox ServiceCOMMENT
LOW…on/connect-to/toolbox-sdks/javascript-sdk/adk/index.md264### Step 2: Configure SDK ClientCOMMENT
LOW…ntation/connect-to/toolbox-sdks/java-sdk/core/index.md234### Step 1: Configure Tools in MCP Toolbox ServiceCOMMENT
LOW…ntation/connect-to/toolbox-sdks/java-sdk/core/index.md238### Step 2: Configure SDK ClientCOMMENT
LOW…entation/connect-to/toolbox-sdks/go-sdk/core/_index.md320### Step 1: Configure Tools in Toolbox ServiceCOMMENT
LOW…entation/connect-to/toolbox-sdks/go-sdk/core/_index.md328### Step 2: Configure SDK ClientCOMMENT
LOW…ntation/connect-to/toolbox-sdks/go-sdk/tbadk/_index.md309### Step 1: Configure Tools in Toolbox ServiceCOMMENT
LOW…ntation/connect-to/toolbox-sdks/go-sdk/tbadk/_index.md317### Step 2: Configure SDK ClientCOMMENT
LOW⚡…n/documentation/getting-started/local_quickstart_js.md25## Step 1: Set up your databaseCOMMENT
LOW⚡…n/documentation/getting-started/local_quickstart_js.md29## Step 2: Install and configure MCP ToolboxCOMMENT
LOW⚡…n/documentation/getting-started/local_quickstart_js.md33## Step 3: Connect your agent to MCP ToolboxCOMMENT
LOW⚡…s/en/documentation/getting-started/local_quickstart.md33## Step 1: Set up your databaseCOMMENT
LOW⚡…s/en/documentation/getting-started/local_quickstart.md37## Step 2: Install and configure MCP ToolboxCOMMENT
LOW⚡…s/en/documentation/getting-started/local_quickstart.md41## Step 3: Connect your agent to MCP ToolboxCOMMENT
LOW⚡…n/documentation/getting-started/local_quickstart_go.md25## Step 1: Set up your databaseCOMMENT
LOW⚡…n/documentation/getting-started/local_quickstart_go.md29## Step 2: Install and configure MCP ToolboxCOMMENT
LOW⚡…n/documentation/getting-started/local_quickstart_go.md33## Step 3: Connect your agent to MCP ToolboxCOMMENT
LOW…documentation/getting-started/mcp_quickstart/_index.md17## Step 1: Set up your databaseCOMMENT
LOW…documentation/getting-started/mcp_quickstart/_index.md95## Step 2: Install and configure ToolboxCOMMENT
LOW…documentation/getting-started/mcp_quickstart/_index.md224## Step 3: Connect to MCP InspectorCOMMENT
LOWdocs/en/integrations/neo4j/samples/mcp_quickstart.md16## Step 1: Set up your Neo4j Database and DataCOMMENT
LOWdocs/en/integrations/neo4j/samples/mcp_quickstart.md32## Step 2: Install and configure ToolboxCOMMENT
LOWdocs/en/integrations/neo4j/samples/mcp_quickstart.md108## Step 3: Connect to MCP InspectorCOMMENT
LOWdocs/en/integrations/looker/samples/looker_gemini.md17## Step 1: Get a Looker Client ID and Client SecretCOMMENT
LOWdocs/en/integrations/looker/samples/looker_gemini.md25## Step 2: Install and configure ToolboxCOMMENT
LOWdocs/en/integrations/looker/samples/looker_gemini.md82## Step 3: Start Gemini-CLICOMMENT
LOW…grations/looker/samples/looker_mcp_inspector/_index.md17## Step 1: Get a Looker Client ID and Client SecretCOMMENT
LOW…grations/looker/samples/looker_mcp_inspector/_index.md25## Step 2: Install and configure ToolboxCOMMENT
LOW…grations/looker/samples/looker_mcp_inspector/_index.md75## Step 3: Connect to MCP InspectorCOMMENT
LOW…egrations/looker/samples/looker_gemini_oauth/_index.md21## Step 1: Register the OAuth App in LookerCOMMENT
LOW…egrations/looker/samples/looker_gemini_oauth/_index.md39## Step 2: Install and configure ToolboxCOMMENT
LOW…egrations/looker/samples/looker_gemini_oauth/_index.md93## Step 3: Configure Gemini-CLICOMMENT
LOWdocs/en/integrations/falkordb/samples/mcp_quickstart.md18## Step 1: Set up your FalkorDB graph and dataCOMMENT
LOWdocs/en/integrations/falkordb/samples/mcp_quickstart.md44## Step 2: Install and configure ToolboxCOMMENT
LOWdocs/en/integrations/falkordb/samples/mcp_quickstart.md103## Step 3: Connect to MCP InspectorCOMMENT
LOW…s/en/integrations/bigquery/samples/local_quickstart.md89## Step 1: Set up your BigQuery Dataset and TableCOMMENT
LOW…s/en/integrations/bigquery/samples/local_quickstart.md169## Step 2: Install and configure ToolboxCOMMENT
LOW…s/en/integrations/bigquery/samples/local_quickstart.md312## Step 3: Connect your agent to ToolboxCOMMENT
LOW…integrations/bigquery/samples/mcp_quickstart/_index.md17## Step 1: Set up your BigQuery Dataset and TableCOMMENT
LOW…integrations/bigquery/samples/mcp_quickstart/_index.md88## Step 2: Install and configure ToolboxCOMMENT
LOW…integrations/bigquery/samples/mcp_quickstart/_index.md214## Step 3: Connect to MCP InspectorCOMMENT
LOWdocs/en/integrations/snowflake/samples/sample.md24## Step 1: Set up your environmentCOMMENT
LOWdocs/en/integrations/snowflake/samples/sample.md44## Step 2: Install ToolboxCOMMENT
LOWdocs/en/integrations/snowflake/samples/sample.md69## Step 3: Configure the toolsCOMMENT
LOWdocs/en/integrations/snowflake/samples/sample.md116## Step 4: Run the Toolbox serverCOMMENT
32 more matches not shown…
AI Slop Vocabulary14 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUMevals/setup/bigquery.sh21# Idempotent: run_evals.sh invokes EvalBench once per harness, and EvalBenchCOMMENT
MEDIUM⚡evals/run_configs/toolbox.yaml15# Shared by every database and harness: EVAL_DATASET selects the evalset,COMMENT
MEDIUM⚡evals/run_configs/toolbox.yaml16# EVAL_MODEL_CONFIG the harness. Nothing else here is harness-specific, so aCOMMENT
MEDIUM⚡evals/run_configs/toolbox.yaml17# new harness needs a model config, not another run config.COMMENT
MEDIUM.ci/run_evals.sh16# Runs one prebuilt config's evalset against each harness in EVAL_HARNESSES,COMMENT
MEDIUM.ci/run_evals.sh21# Database is a step because that is where credentials live; harness is a loopCOMMENT
MEDIUM.ci/run_evals.sh99# Resolve and check every harness before running any, so a typo fails inCOMMENT
MEDIUM.ci/run_evals.sh125# One process per harness: pyaml_env resolves !ENV at load time, so a singleCOMMENT
MEDIUM.ci/run_evals.sh138 # Keep going so one broken harness does not hide the others' results, butCOMMENT
MEDIUM.ci/run_evals.sh146 # volume. Move rather than copy so the next harness starts from an emptyCOMMENT
MEDIUM.ci/evals.cloudbuild.yaml124 # harness.COMMENT
MEDIUM…neo4j/neo4jexecutecypher/classifier/classifier_test.go42 // reflect.DeepEqual provides a robust comparison for complex types, including sorted slices.COMMENT
MEDIUMinternal/util/parameters/parameters_test.go1399 // Use cmp.Diff for robust comparisonCOMMENT
MEDIUMinternal/server/mcp/v20260728/method.go104 // skip checking clientCapabilities since Toolbox do not utilize any of thoseCOMMENT
Magic Placeholder Names9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHcmd/internal/config_test.go1913 t.Setenv("API_KEY", "your_api_key")CODE
HIGHcmd/internal/config_test.go1973 t.Setenv("ELASTICSEARCH_APIKEY", "your_api_key")CODE
HIGH…onfiguration/pre-post-processing/js/langchain/agent.js18const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY || 'your-api-key'; // Replace it with your API keyCODE
HIGH…tion/configuration/pre-post-processing/js/adk/agent.js4process.env.GOOGLE_GENAI_API_KEY = process.env.GOOGLE_API_KEY || 'your-api-key'; // Replace it with your API keyCODE
HIGH…s/en/documentation/getting-started/local_quickstart.md124 echo 'GOOGLE_API_KEY="YOUR_API_KEY"' > my_agent/.envCODE
HIGH…ion/getting-started/quickstart/js/genkit/quickstart.js5const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY || 'your-api-key'; // Replace it with your API keyCODE
HIGH…/getting-started/quickstart/js/langchain/quickstart.js7const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY || 'your-api-key'; // Replace it with your API keyCODE
HIGH…tation/getting-started/quickstart/js/adk/quickstart.js21process.env.GOOGLE_GENAI_API_KEY = process.env.GOOGLE_API_KEY || 'your-api-key'; // Replace it with your API keyCODE
HIGH…tion/getting-started/quickstart/js/genAI/quickstart.js6const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY || 'your-api-key'; // Replace it with your API keyCODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…guration/pre-post-processing/python/langchain/agent.py0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
HIGH…/configuration/pre-post-processing/python/adk/agent.py0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
HIGH…ing-started/quickstart/python/llamaindex/quickstart.py0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
HIGH…ting-started/quickstart/python/langchain/quickstart.py0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
HIGH…on/getting-started/quickstart/python/adk/quickstart.py0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
HIGH…s/en/integrations/bigquery/samples/local_quickstart.md0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
HIGH…n/getting-started/quickstart/python/core/quickstart.py0you're a helpful hotel assistant. you handle hotel searching, booking and cancellations. when the user searches for a hoSTRING
Excessive Try-Catch Wrapping12 hits · 22 pts
SeverityFileLineSnippetContext
LOWevals/teardown/bigquery.sh69 except Exception as exc:CODE
LOWevals/teardown/bigquery.sh89 except Exception as exc:CODE
MEDIUMevals/teardown/bigquery.sh66def is_stale(reference):CODE
LOW⚡pypi/src/toolbox_server/main.py19 except Exception as e:CODE
MEDIUM⚡pypi/src/toolbox_server/main.py25 print("Error: toolbox-server requires Python 3.9 or higher.", file=sys.stderr)CODE
MEDIUM⚡pypi/src/toolbox_server/main.py31 print(f"Error: {e}", file=sys.stderr)CODE
LOWpypi/src/toolbox_server/main.py45 except Exception as e:CODE
MEDIUMpypi/src/toolbox_server/main.py46 print(f"Error running toolbox binary: {e}", file=sys.stderr)CODE
MEDIUM.ci/update_docs_versions.py27 print(f"Error: Version file {version_file_path} not found.")CODE
MEDIUM.ci/update_docs_versions.py34 print("Error: Version file is empty.")CODE
MEDIUM.ci/update_docs_versions.py64 print(f"Error: Could not find comment marker in {os.path.basename(file_path)}.")CODE
LOW…en/documentation/configuration/security/model-armor.md207 except Exception as e:CODE
Fake / Example Data21 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/http/http_mcp_test.go423 idToken = "dummy-token"CODE
LOW…s/cloudhealthcare/cloud_healthcare_integration_test.go343 "address":[{"use":"home","line":["123 Main St"],"city":"san fransisco","state":"CA","postalCode":"12345","country":"USCODE
LOW…s/cloudhealthcare/cloud_healthcare_integration_test.go346 "telecom":[{"system":"phone","value":"555-1234","use":"home"},{"system":"email","value":"john@foo.com","use":"work"}],CODE
LOW…s/cloudhealthcare/cloud_healthcare_integration_test.go1441 requestBody: bytes.NewBuffer([]byte(`{"storeID":"` + fhirStoreID + `", "givenName":"john","addressSubstring":"main CODE
LOW…looker/lookergetdashboards/lookergetdashboards_test.go144 "user_name": "Jane Doe",CODE
LOW…looker/lookergetdashboards/lookergetdashboards_test.go219 if cert.UserName == nil || *cert.UserName != "Jane Doe" {CODE
LOW…looker/lookergetdashboards/lookergetdashboards_test.go220 t.Errorf("expected user_name 'Jane Doe', got %v", cert.UserName)CODE
LOW…esearchdicomseries/cloudhealthcaresearchdicomseries.go174 parameters.NewBooleanParameter(common.EnablePatientNameFuzzyMatchingKey, `Whether to enable fuzzy matching for patientCODE
LOW…hdicominstances/cloudhealthcaresearchdicominstances.go190 parameters.NewBooleanParameter(common.EnablePatientNameFuzzyMatchingKey, `Whether to enable fuzzy matching for patientCODE
LOW…earchdicomstudies/cloudhealthcaresearchdicomstudies.go159 parameters.NewBooleanParameter(common.EnablePatientNameFuzzyMatchingKey, `Whether to enable fuzzy matching for patientCODE
LOWinternal/sources/cloudgda/cloud_gda_test.go187 client, cleanup, err := gdaSrc.GetClient(ctx, "dummy-token")CODE
LOWdocs/KNOWLEDGE_CATALOG_README.md49* "Create a new Data Product named 'my-product' with owner 'user@example.com'."COMMENT
LOW…egrations/firestore/tools/firestore-update-document.md87 "stringValue": "Jane Doe"CODE
LOW…cs/en/integrations/mongodb/tools/mongodb-insert-one.md40`tool_code: create_new_user(data='{"email": "new.user@example.com", "name": "Jane Doe", "status": "active"}')`CODE
LOWdocs/en/integrations/scylladb/tools/scylladb-cql.md46 "email": "user@example.com",CODE
LOWdocs/en/integrations/cassandra/tools/cassandra-cql.md50 "email": "user@example.com",CODE
LOWdocs/en/integrations/alloydb/samples/mcp_quickstart.md101 (1, 'John Doe', 'john.doe@example.com'),CODE
LOW…hcare/tools/cloud-healthcare-search-dicom-instances.md53| fuzzymatching | boolean | false | Whether to enable fuzzy matching for patient names. Fuzzy matching CODE
LOW…lthcare/tools/cloud-healthcare-search-dicom-studies.md49| fuzzymatching | boolean | false | Whether to enable fuzzy matching for patient names. Fuzzy matching CODE
LOW…althcare/tools/cloud-healthcare-search-dicom-series.md51| fuzzymatching | boolean | false | Whether to enable fuzzy matching for patient names. Fuzzy matching CODE
LOWdocs/en/samples/prompts_quickstart_gemini_cli.md138 (455, 'Pizza Palace', '123 Main St'),CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM.ci/lint-docs-source-page.sh53# ---------------------COMMENT
MEDIUM.ci/lint-docs-sample-filters.sh3# ==============================================================================COMMENT
MEDIUM.ci/lint-docs-sample-filters.sh7# ==============================================================================COMMENT
MEDIUM.ci/lint-docs-tool-page.sh54# ---------------------COMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOW.ci/lint-docs-sample-filters.sh40 # Check if the exact tag exists in our valid listCOMMENT
LOW.ci/test_prompts_with_coverage.sh69# Check if the coverage is below the defined threshold.COMMENT
LOW.ci/update_docs_versions.py55 # Check if version already existsCOMMENT
LOW.ci/generate_release_table.sh4# Check if VERSION has been setCOMMENT
LOW.ci/dataproc/recreate_dataproc_cluster.sh38# Check if the cluster exists and get its status, capturing output to handle NOT_FOUNDCOMMENT
LOW.github/workflows/deploy_versioned_docs_to_cf.yaml70 # Check if the folder exists in our Hugo config's versions listCOMMENT
LOW.github/workflows/update_release_docs_config.yml105 # Check if PR against main already existsCOMMENT
Modern AI Meta-Vocabulary3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM⚡…documentation/configuration/embedding-models/_index.md58name: gemini-model # Name of the embedding modelCODE
MEDIUM…documentation/configuration/embedding-models/_index.md106 embeddedBy: gemini-model # refers to the name of a defined embedding modelCODE
MEDIUMdocs/en/reference/faq.md63## Can I use _$BAR_ orchestration framework to use tools from Toolbox?COMMENT
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOWpypi/tests/test_main.py7def test_get_binary_path_returns_existing_file():CODE
LOWpypi/tests/test_main.py12def test_get_binary_path_returns_executable_file():CODE
LOWinternal/server/static/js/auth.js116export function createGoogleAuthMethodItem(toolId, authProfileName) {CODE
LOWinternal/server/static/js/toolDisplay.js265function createAuthTokenInfoDropdown() {CODE
LOW…configuration/pre-post-processing/python/agent_test.py42 def test_script_runs_without_errors(self, script_output):CODE
LOW…n/getting-started/quickstart/python/quickstart_test.py50 def test_script_runs_without_errors(self, script_output):CODE
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOW.ci/trigger_exit_gate.sh20# Usage:COMMENT
LOW…ools/neo4j/neo4jexecutecypher/classifier/classifier.go184// Usage example:COMMENT
LOW…ools/neo4j/neo4jexecutecypher/classifier/classifier.go408// Usage example:COMMENT
LOW…ools/neo4j/neo4jexecutecypher/classifier/classifier.go424// Usage example:COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM.ci/generate_release_table.sh44# Define the descriptions - ensure this array's order matches FILESCOMMENT
MEDIUM.ci/dataproc/recreate_dataproc_cluster.sh68# Create the clusterCOMMENT
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/dataplex/dataplex_integration_test.go2723 // Step 1: Invoke Generate/Discover/Check ToolCOMMENT
LOWtests/dataplex/dataplex_integration_test.go2758 // Step 2: Poll Operation StatusCOMMENT
LOWtests/dataplex/dataplex_integration_test.go2831 // Step 3: Get Run StatusCOMMENT
LOWtests/dataplex/dataplex_integration_test.go2856 // Step 4: Get Profile / Insights / Discovery / Quality ResultsCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…guration/pre-post-processing/python/langchain/agent.py47except ValueError:CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…configuration/pre-post-processing/python/agent_test.py18CODE
LOW…n/getting-started/quickstart/python/quickstart_test.py17CODE
LOW…n/getting-started/quickstart/python/quickstart_test.py19CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…guration/pre-post-processing/python/langchain/agent.py23CODE
LOW…n/getting-started/quickstart/python/core/quickstart.py35CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…guration/pre-post-processing/python/langchain/agent.py56CODE