Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
This report summarizes scanner evidence for GoogleCloudPlatform/microservices-demo, a Go project with 21,039 GitHub stars. SynthScan examined 47,903 lines of code across 261 source files, recording 292 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 8.0 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 279 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 42 finding(s).
Which changes need focused human review? 292 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 292 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cloudbuild.yaml | 1 | # Copyright 2020 Google LLC | COMMENT |
| LOW | skaffold.yaml | 1 | # Copyright 2021 Google LLC | COMMENT |
| LOW | skaffold.yaml | 61 | # "gcb" profile allows building and pushing the images | COMMENT |
| LOW | terraform/output.tf | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | terraform/main.tf | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | terraform/providers.tf | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | terraform/memorystore.tf | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | terraform/variables.tf | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | istio-manifests/frontend-gateway.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | istio-manifests/allow-egress-googleapis.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | istio-manifests/frontend.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | .deploystack/test.yaml | 1 | # Copyright 2021 Google LLC | COMMENT |
| LOW | .deploystack/scripts/preinit.sh | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | kubernetes-manifests/emailservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/checkoutservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/recommendationservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/kustomization.yaml | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | kubernetes-manifests/kustomization.yaml | 21 | - currencyservice.yaml | COMMENT |
| LOW | kubernetes-manifests/frontend.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/frontend.yaml | 81 | - name: AD_SERVICE_ADDR | COMMENT |
| LOW | kubernetes-manifests/paymentservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/productcatalogservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/cartservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/loadgenerator.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/currencyservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/shippingservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | kubernetes-manifests/adservice.yaml | 1 | # Copyright 2018 Google LLC | COMMENT |
| LOW | release/istio-manifests.yaml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | release/kubernetes-manifests.yaml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | release/kubernetes-manifests.yaml | 541 | - name: SHOPPING_ASSISTANT_SERVICE_ADDR | COMMENT |
| LOW | docs/releasing/make-release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/releasing/make-release-artifacts.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/releasing/make-docker-images.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/releasing/make-helm-chart.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/releasing/license_header.txt | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | helm-chart/Chart.yaml | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | helm-chart/Chart.yaml | 21 | # Application charts are a collection of templates that can be packaged into versioned archives | COMMENT |
| LOW | helm-chart/values.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/opentelemetry-collector.yaml | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | helm-chart/templates/emailservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/checkoutservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/recommendationservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/common.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/frontend.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/paymentservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/productcatalogservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/cartservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/loadgenerator.yaml | 1 | # Copyright 2022 Google LLC | COMMENT |
| LOW | helm-chart/templates/currencyservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/shippingservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | helm-chart/templates/adservice.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | .github/header-checker-lint.yml | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | .github/snippet-bot.yml | 1 | COMMENT | |
| LOW | .github/auto-approve.yml | 1 | # Copyright 2023 Google LLC | COMMENT |
| LOW | .github/release-cluster/backend-config.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | .github/release-cluster/frontend-config.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | .github/release-cluster/managed-cert.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | .github/release-cluster/frontend-ingress.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | .github/release-cluster/frontend-service.yaml | 1 | # Copyright 2024 Google LLC | COMMENT |
| LOW | .github/workflows/terraform-validate-ci.yaml | 1 | # Copyright 2020 Google LLC | COMMENT |
| 153 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | terraform/memorystore.tf | 15 | # Create the Memorystore (redis) instance | COMMENT |
| MEDIUM | helm-chart/templates/opentelemetry-collector.yaml | 111 | # Create a volume to store the expanded template (with correct cloud project ID) | COMMENT |
| MEDIUM | …components/google-cloud-operations/otel-collector.yaml | 83 | # Create a volume to store the expanded template (with correct cloud project ID) | COMMENT |
| MEDIUM | …c/shoppingassistantservice/shoppingassistantservice.py | 51 | # Create a synchronous connection to our vectorstore | COMMENT |
| MEDIUM | …c/shoppingassistantservice/shoppingassistantservice.py | 118 | # Create an instance of flask server when called directly | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 99 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 200 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 299 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 416 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 516 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 600 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 667 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 734 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/emailservice/demo_pb2_grpc.py | 801 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 99 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 200 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 299 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 416 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 516 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 600 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 667 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 734 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| MEDIUM | src/recommendationservice/demo_pb2_grpc.py | 801 | # This class is part of an EXPERIMENTAL API. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kubernetes-manifests/frontend.yaml | 97 | # As part of an optional Google Cloud demo, you can run an optional microservice called the "packaging service | COMMENT |
| MEDIUM | release/kubernetes-manifests.yaml | 555 | # As part of an optional Google Cloud demo, you can run an optional microservice called the "packaging service | COMMENT |
| MEDIUM | docs/development-guide.md | 122 | ## Adding a new microservice | COMMENT |
| MEDIUM | docs/adding-new-microservice.md | 1 | # Adding a new microservice | COMMENT |
| MEDIUM | docs/releasing/make-docker-images.sh | 17 | # Builds and pushes docker image for each demo microservice. | COMMENT |
| MEDIUM | helm-chart/templates/opentelemetry-collector.yaml | 87 | # This gateway container will receive traces and metrics from each microservice | COMMENT |
| MEDIUM | …components/google-cloud-operations/otel-collector.yaml | 59 | # This gateway container will receive traces and metrics from each microservice | COMMENT |
| MEDIUM | kustomize/components/shopping-assistant/README.md | 1 | # Shopping Assistant with RAG & AlloyDB | COMMENT |
| MEDIUM | kustomize/base/frontend.yaml | 97 | # As part of an optional Google Cloud demo, you can run an optional microservice called the "packaging service | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | release/istio-manifests.yaml | 15 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | release/istio-manifests.yaml | 17 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | release/kubernetes-manifests.yaml | 15 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | release/kubernetes-manifests.yaml | 17 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/releasing/make-release-artifacts.sh | 38 | # ---------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | docs/releasing/make-release-artifacts.sh | 40 | # ---------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c/shoppingassistantservice/shoppingassistantservice.py | 113 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 106 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 123 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 140 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 207 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 306 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 323 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 340 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 423 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 440 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 523 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 540 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 607 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 674 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 741 | CODE | |
| LOW | src/emailservice/demo_pb2_grpc.py | 808 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 106 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 123 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 140 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 207 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 306 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 323 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 340 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 423 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 440 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 523 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 540 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 607 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 674 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 741 | CODE | |
| LOW | src/recommendationservice/demo_pb2_grpc.py | 808 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/emailservice/email_server.py | 143 | except KeyError: | CODE |
| HIGH | src/recommendationservice/recommendation_server.py | 47 | except KeyError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | release/istio-manifests.yaml | 16 | # WARNING: This file is autogenerated. Do not manually edit. | COMMENT |
| LOW⚡ | release/kubernetes-manifests.yaml | 16 | # WARNING: This file is autogenerated. Do not manually edit. | COMMENT |
| LOW⚡ | docs/releasing/make-release-artifacts.sh | 39 | # WARNING: This file is autogenerated. Do not manually edit. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/emailservice/email_server.py | 197 | except Exception as e: | CODE |
| LOW | src/recommendationservice/recommendation_server.py | 127 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/emailservice/email_server.py | 18 | CODE | |
| LOW | src/emailservice/email_server.py | 20 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/emailservice/email_server.py | 64 | CODE |