Kubernetes IN Docker - local clusters for testing Kubernetes
This report summarizes scanner evidence for kubernetes-sigs/kind, a Go project with 15,587 GitHub stars. SynthScan examined 32,432 lines of code across 320 source files, recording 70 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 2.2 (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? 66 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 70 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 70 distinct pattern matches across 6 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 | images/local-path-helper/stage-binary-and-deps.sh | 1 | #!/bin/bash | COMMENT |
| LOW | images/base/files/kind/bin/undo-mount-hacks.sh | 1 | #!/bin/bash | COMMENT |
| LOW | images/base/files/kind/bin/mount-product-files.sh | 1 | #!/bin/bash | COMMENT |
| LOW | images/base/files/kind/bin/mount-product-files.sh | 21 | set -o errexit | COMMENT |
| LOW | images/base/files/kind/bin/create-kubelet-cgroup-v2.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/ci/e2e.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/ci/cache-wrapper.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/ci/init-vm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/ci/e2e-k8s.sh | 1 | #!/bin/sh | COMMENT |
| LOW | hack/ci/e2e-k8s.sh | 21 | COMMENT | |
| LOW | hack/ci/build-all.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/ci/lima-helper.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/ci/push-latest-cli/push-latest-cli.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/release/push-node.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/release/create.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/release/get-contributors.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/update/gofmt.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hack/make-rules/update/generated.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/update/deps.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/update/all.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/verify/shellcheck.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/verify/lint.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/verify/generated.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/verify/boilerplate.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/make-rules/verify/all.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | hack/boilerplate/verify_boilerplate.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | hack/boilerplate/boilerplate.Dockerfile.txt | 1 | # Copyright The Kubernetes Authors. | COMMENT |
| LOW | hack/boilerplate/boilerplate.sh.txt | 1 | # Copyright The Kubernetes Authors. | COMMENT |
| LOW | site/static/examples/kind-gcr.sh | 1 | #!/bin/sh | COMMENT |
| LOW | site/static/examples/config-with-mounts.yaml | 21 | selinuxRelabel: false | COMMENT |
| LOW | site/static/examples/kind-with-registry.sh | 1 | #!/bin/sh | COMMENT |
| LOW | pkg/cluster/provider.go | 101 | var NoNodeProviderDetectedError = errors.NewWithoutStack("failed to detect any supported node provider") | COMMENT |
| LOW | pkg/cluster/constants/constants.go | 41 | // ExternalEtcdNodeRoleValue identifies a node that hosts an external-etcd | COMMENT |
| LOW | pkg/cluster/internal/providers/nerdctl/provision.go | 141 | "--net", networkName, | COMMENT |
| LOW | pkg/cluster/internal/providers/podman/network.go | 21 | "encoding/binary" | COMMENT |
| LOW | pkg/cluster/internal/providers/podman/provision.go | 181 | return nil, err | COMMENT |
| LOW | pkg/cluster/internal/providers/docker/network.go | 41 | // network because the default bridge is actually special versus any other | COMMENT |
| LOW | pkg/cluster/internal/providers/docker/provision.go | 141 | // user a user defined docker network so we get embedded DNS | COMMENT |
| LOW | pkg/cluster/internal/providers/docker/provision.go | 161 | // reboots, not failures. *however* we can limit the number of retries | COMMENT |
| LOW | pkg/cluster/internal/providers/docker/provision.go | 221 | // running containers in a container requires privileged | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 41 | // https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/ | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 61 | // as JSON 6902 patches. The `kind` field must match the target object, and | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 121 | // binded to a host Port | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 141 | // Name and Namespace are now ignored, but the fields continue to exist for | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 161 | ControlPlaneRole NodeRole = "control-plane" | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 181 | // Defaults to 127.0.0.1 | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 241 | // see: k8s.io/kubernetes/pkg/kubelet/apis/cri/runtime/v1alpha2 | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 261 | // If set, the mount is read-only. | COMMENT |
| LOW | pkg/apis/config/v1alpha4/types.go | 281 | // If unset, a random port will be selected. | COMMENT |
| LOW | pkg/internal/apis/config/types.go | 41 | COMMENT | |
| LOW | pkg/internal/apis/config/types.go | 61 | KubeadmConfigPatchesJSON6902 []PatchJSON6902 | COMMENT |
| LOW | pkg/internal/apis/config/types.go | 101 | // KubeadmConfigPatches are applied to the generated kubeadm config as | COMMENT |
| LOW | pkg/internal/apis/config/types.go | 121 | // WorkerRole identifies a node that hosts a Kubernetes worker | COMMENT |
| LOW | pkg/internal/apis/config/types.go | 181 | ) | COMMENT |
| LOW | pkg/internal/apis/config/types.go | 201 | // | COMMENT |
| LOW | pkg/internal/apis/config/types.go | 221 | Propagation MountPropagation | COMMENT |
| LOW | pkg/internal/patch/kubeyaml.go | 21 | COMMENT | |
| LOW | pkg/internal/sets/doc.go | 21 | // and we only need some trivial utilities. Avoiding importing k8s.io/apimachinery | COMMENT |
| LOW | pkg/exec/local.go | 81 | func (cmd *LocalCmd) Run() error { | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/internal/kubeconfig/internal/kubeconfig/paths_test.go | 180 | "HOMEPATH": `ZZ:\Users\fake-user-zzz`, | CODE |
| LOW | …/internal/kubeconfig/internal/kubeconfig/paths_test.go | 199 | "HOMEPATH": path.Join("Users", "fake-user-zzz"), | CODE |
| LOW | …/internal/kubeconfig/internal/kubeconfig/paths_test.go | 211 | "HOMEPATH": path.Join("Users", "fake-user-zzz"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/make-rules/update/deps.sh | 18 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | site/static/examples/kind-with-registry.sh | 31 | # If you're only supporting newer relases, you can just use `kind create cluster` here. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/boilerplate/verify_boilerplate.py | 21 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/boilerplate/verify_boilerplate.py | 188 | CODE |