A Chaos Engineering Platform for Kubernetes.
This report summarizes scanner evidence for chaos-mesh/chaos-mesh, a Go project with 7,962 GitHub stars. SynthScan examined 279,567 lines of code across 1143 source files, recording 938 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 3.5 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 931 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 8 finding(s).
Which changes need focused human review? 938 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 938 distinct pattern matches across 14 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 | ui/app/src/vite-env.d.ts | 1 | /// <reference types="vite/client" /> | COMMENT |
| LOW | ui/app/src/lib/cytoscape.ts | 81 | // const first = serial[0] | COMMENT |
| LOW | cmd/generate-makefile/doc.go | 1 | // Copyright 2023 Chaos Mesh Authors. | COMMENT |
| LOW | …generate-makefile/generate_container_image_makefile.go | 1 | // Copyright 2023 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/generate-makefile/funcmaps.go | 1 | // Copyright 2023 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/generate-makefile/generate_local_binary_makefile.go | 1 | // Copyright 2023 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/generate-makefile/main.go | 1 | // Copyright 2023 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/generate-makefile/generate_binary_makefile.go | 1 | // Copyright 2023 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/main.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/main_test.go | 1 | // Copyright 2026 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/provider/controller.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | …aos-controller-manager/provider/updated_client_test.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/provider/doc.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/provider/updated_client.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/provider/readers_test.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-controller-manager/provider/suite_test.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-dashboard/main.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-daemon-helper/main.go | 1 | // Copyright 2022 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/watchmaker/main_darwin.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/watchmaker/main_linux.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-daemon/main.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/boilerplate.go | 1 | // Copyright Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/boilerplate.go | 21 | // you may not use this file except in compliance with the License. | COMMENT |
| LOW | cmd/chaos-builder/config.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/template_fields_test.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/test.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/frontend.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/test_workflow.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/workflow_test.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/init.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/main.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/impl.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/workflow.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | cmd/chaos-builder/schedule.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | tools/assets_generate/main.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/cmd/timer/main.go | 1 | // Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/integration_test/physical_machine/chaos.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/physical_machine/workflow.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/physical_machine/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …/integration_test/physical_machine/chaos_selector.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/physical_machine/schedule.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | …ntegration_test/physical_machine/physical_machine.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | …egration_test/dashboard_authority/cluster-manager.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | …tegration_test/dashboard_authority/busybox-viewer.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | …egration_test/dashboard_authority/busybox-manager.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/dashboard_authority/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/integration_test/dashboard_authority/run.sh | 101 | echo "cluster manager and viewer can list all chaos experiments in the cluster" | COMMENT |
| LOW | test/integration_test/dashboard_authority/run.sh | 221 | #echo "all token can get the report of archive experiments under namespace busybox" | COMMENT |
| LOW | …tegration_test/dashboard_authority/cluster-viewer.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/network/delay_chaos.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/network/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/integration_test/oidc/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/integration_test/oidc/patch-apiserver.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/integration_test/oidc/setup-keycloak.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | test/integration_test/oidc/manifests/keycloak.yaml | 1 | # Copyright 2025 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/aws/aws_chaos_template.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/aws/aws_secret.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/aws/aws_chaos.yaml | 1 | # Copyright 2021 Chaos Mesh Authors. | COMMENT |
| LOW | test/integration_test/aws/run.sh | 1 | #!/usr/bin/env bash | COMMENT |
| 837 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | config/crd/bases/chaos-mesh.org_workflows.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | config/crd/bases/chaos-mesh.org_schedules.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | helm/chaos-mesh/crds/chaos-mesh.org_workflows.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| HIGH | helm/chaos-mesh/crds/chaos-mesh.org_schedules.yaml | 0 | type: string resourcefieldref: description: |- selects a resource of the container: only resources limits and requests ( | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/chaos-controller-manager/provider/controller.go | 52 | // +kubebuilder:scaffold:scheme | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 29 | # +kubebuilder:scaffold:crdkustomizeresource | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 37 | # +kubebuilder:scaffold:crdkustomizewebhookpatch | COMMENT |
| MEDIUM⚡ | config/crd/kustomization.yaml | 44 | # +kubebuilder:scaffold:crdkustomizecainjectionpatch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | controllers/statuscheck/worker.go | 131 | // also checks the success threshold, so if you want to modify the logic here, don't forget to modify that | COMMENT |
| LOW | controllers/statuscheck/worker.go | 150 | // also checks the failure threshold, so if you want to modify the logic here, don't forget to modify that | COMMENT |
| LOW | controllers/statuscheck/conditions.go | 107 | // so if you want to modify the logic here, don't forget to modify that function as well. | COMMENT |
| LOW | controllers/statuscheck/conditions.go | 118 | // so if you want to modify the logic here, don't forget to modify that function as well. | COMMENT |
| MEDIUM | helm/chaos-mesh/values.yaml | 219 | # If you are using Kind or using containerd as CRI, you can use the | COMMENT |
| MEDIUM | helm/chaos-mesh/values.yaml | 224 | # If you are using CRI-O as CRI, you can use the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/client-go/main.go | 62 | // Step 1: Set up informer factory and start it early | COMMENT |
| LOW | examples/client-go/main.go | 106 | // Step 2: List existing PodChaos resources before creation | COMMENT |
| LOW | examples/client-go/main.go | 121 | // Step 3: Create a PodChaos resource for pod-kill | COMMENT |
| LOW | examples/client-go/main.go | 180 | // Step 4: Use the lister to query resources | COMMENT |
| LOW | examples/client-go/main.go | 211 | // Step 5: Demonstrate informer watching changes | COMMENT |
| LOW | examples/client-go/main.go | 246 | // Step 6: Compare direct API calls vs cached lister | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/client-go/main.go | 62 | // Step 1: Set up informer factory and start it early | COMMENT |
| LOW | examples/client-go/main.go | 106 | // Step 2: List existing PodChaos resources before creation | COMMENT |
| LOW | examples/client-go/main.go | 121 | // Step 3: Create a PodChaos resource for pod-kill | COMMENT |
| LOW | examples/client-go/main.go | 180 | // Step 4: Use the lister to query resources | COMMENT |
| LOW | examples/client-go/main.go | 211 | // Step 5: Demonstrate informer watching changes | COMMENT |
| LOW | examples/client-go/main.go | 246 | // Step 6: Compare direct API calls vs cached lister | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/integration_test/dashboard_authority/run.sh | 90 | # here just use busybox manager because experiment can be created only one time | COMMENT |
| LOW | test/integration_test/dashboard_authority/run.sh | 161 | # here just use cluster manager because experiment can be delete only one time | COMMENT |
| MEDIUM | helm/chaos-mesh/Chart.yaml | 44 | # Use this annotation to indicate the capabilities of the operator your chart provides. It must be one of the followin | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | config/crd/kustomizeconfig.yaml | 2 | # This file is for teaching kustomize how to substitute name and namespace reference in CRD | COMMENT |
| MEDIUM | helm/chaos-mesh/values.yaml | 66 | # Create the serviceAccount for chaos-controller-manager | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/app/src/lib/formikhelpers.ts | 31 | export function parsePodsOrPhysicalMachines(data: string[]) { | CODE |
| LOW | ui/app/src/lib/formikhelpers.ts | 174 | function parsePhysicalMachineChaos(spec: any) { | CODE |
| LOW | ui/packages/openapi/factory.js | 114 | function typeReferenceToObjectLiteralExpression( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | helm/chaos-mesh/values.yaml | 416 | ## Set this to true in order to add the corresponding annotations for cert-manager | COMMENT |
| LOW | helm/chaos-mesh/values.yaml | 433 | ## Set this to true in order to enable TLS on the ingress record | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/app/src/i18n/zh.json | 308 | "placeholder": "搜索", | CODE |
| LOW | ui/app/src/i18n/en.json | 307 | "placeholder": "Search", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/chaos-builder/workflow_test.go | 54 | // TODO: Add test cases. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/env-image-tag.sh | 19 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/scripts/cleanup_ghcr.py | 137 | except Exception: | CODE |