Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
58 of your 226 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 55.04s for a 200.1 MB repo slow.
  • Repobility's analysis ran in 49.92s after the clone landed.

kubernetes/kubernetes

https://github.com/kubernetes/kubernetes · scanned 2026-06-05 05:10 UTC (2 hours, 39 minutes ago) · 10 languages

1074 findings (178 legacy + 896 scanner) 11/13 scanners ran 67th percentile · Go · huge (>500K LoC)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 hours, 39 minutes ago · v2 · 626 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 85.0 0.15 12.75
security_score 100.0 0.25 25.00
testing_score 85.0 0.20 17.00
documentation_score 98.0 0.15 14.70
practices_score 42.0 0.15 6.30
code_quality 69.0 0.10 6.90
Overall 1.00 82.7
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Repository scanned at 84.0/100 with 100.0% coverage. It contains 32570 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 448 findings — concentrated in quality (356), hardware (50), network (18). Risk profile is high: 7 critical, 3 high, 72 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 527 of 626 findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical 9-layer security secrets conf 1.00 Possible secret in cmd/kubeadm/app/util/users/users_linux.go
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
cmd/kubeadm/app/util/users/users_linux.go:83 secrets
critical 9-layer security secrets conf 1.00 Possible secret in staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags.go:58 secrets
critical 9-layer security secrets conf 1.00 Possible secret in staging/src/k8s.io/client-go/rest/config.go
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
staging/src/k8s.io/client-go/rest/config.go:205 secrets
critical 9-layer security secrets conf 1.00 Possible secret in staging/src/k8s.io/client-go/tools/clientcmd/overrides.go
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
staging/src/k8s.io/client-go/tools/clientcmd/overrides.go:163 secrets
low Legacy quality quality conf 1.00 ✓ Repobility [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums).
Review and fix per the pattern semantics. See CWE-327 / A02:2021 for context.
hack/update-vendor-licenses.sh:184 qualitylegacy
low Legacy quality quality conf 1.00 ✓ Repobility [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums).
Review and fix per the pattern semantics. See CWE-327 / A02:2021 for context.
cluster/get-kube-binaries.sh:134 qualitylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `alpine:latest` not pinned by digest: `FROM alpine:latest` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM alpine:latest@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
staging/src/k8s.io/kms/internal/plugins/_mock/Dockerfile:31 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `gcr.io/distroless/base-debian10:latest` not pinned by digest: `FROM gcr.io/distroless/base-debian10:latest` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM gcr.io/distroless/base-debian10:latest@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile:14 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `gcr.io/distroless/static:latest` not pinned by digest: `FROM gcr.io/distroless/static:latest` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM gcr.io/distroless/static:latest@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
cluster/images/etcd-version-monitor/Dockerfile:14 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `gcr.io/distroless/static:latest` not pinned by digest: `FROM gcr.io/distroless/static:latest` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM gcr.io/distroless/static:latest@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
staging/src/k8s.io/pod-security-admission/webhook/Dockerfile:14 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `registry.k8s.io/build-image/go-runner:v2.3.1-go1.17.2-bullseye.0` not pinned by digest: `FROM registry.k8s.io/build-image/go-runner:v2.3.1-go1.17.2-bullseye.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM registry.k8s.io/build-image/go-runner:v2.3.1-go1.17.2-bullseye.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
cluster/images/kubemark/Dockerfile:22 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ubuntu:xenial` not pinned by digest: `FROM ubuntu:xenial` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ubuntu:xenial@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
cluster/gce/gci/mounter/Dockerfile:14 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/sample-controller/go.mod:67 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/component-base/go.mod:96 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/kube-aggregator/go.mod:123 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/sample-apiserver/go.mod:120 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/apiserver/go.mod:132 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/sample-cli-plugin/go.mod:76 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/pod-security-admission/go.mod:117 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/endpointslice/go.mod:76 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/cli-runtime/go.mod:79 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/kube-controller-manager/go.mod:34 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/client-go/go.mod:72 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/apiextensions-apiserver/go.mod:134 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/kubectl/go.mod:105 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/csi-translation-lib/go.mod:38 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/metrics/go.mod:70 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/cloud-provider/go.mod:121 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/kubelet/go.mod:57 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/controller-manager/go.mod:113 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/component-helpers/go.mod:61 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/cluster-bootstrap/go.mod:39 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../apimachinery` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/api/go.mod:35 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../apimachinery` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/code-generator/go.mod:60 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ../cri-api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/cri-streaming/go.mod:37 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `(` — points to a LOCAL path: `replace ( => ./staging/src/k8s.io/api` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
go.mod:228 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED128] go.mod replaces `k8s.io/streaming` — points to a LOCAL path: `replace k8s.io/streaming => ../streaming` overrides the canonical dependency with a different source (points to a LOCAL path). Local-path replaces are fine for monorepos but in published modules they can hide malicious forks from anyone who only audits the require lines.
If the replace is intentional (e.g. waiting on an upstream fix), vendor the dependency into the repo and add a comment explaining the reason. Remove the replace once upstream merges.
staging/src/k8s.io/apimachinery/go.mod:62 dependencylegacy
high Legacy quality quality conf 1.00 [SEC088] Go: TLS InsecureSkipVerify=true: tls.Config{InsecureSkipVerify:true} disables certificate verification — MITM risk. Ported from gosec G402 (Apache-2.0).
Remove the option. If self-signed certs are required, pin via RootCAs.
pkg/probe/http/http.go:41 qualitylegacy
high Legacy quality quality conf 1.00 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name allows command injection. Ported from gosec G204 (Apache-2.0).
Use a constant command name and validate args via a whitelist.
pkg/kubelet/kubelet_server_journal_linux.go:68 qualitylegacy
high Legacy quality quality conf 1.00 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name allows command injection. Ported from gosec G204 (Apache-2.0).
Use a constant command name and validate args via a whitelist.
cmd/importverifier/importverifier.go:231 qualitylegacy
high Legacy quality quality conf 1.00 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name allows command injection. Ported from gosec G204 (Apache-2.0).
Use a constant command name and validate args via a whitelist.
cluster/gce/gci/mounter/mounter.go:70 qualitylegacy
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in staging/src/k8s.io/apiserver/pkg/authentication/cel/mapper.go:62
Found a known-risky pattern (eval_used). Review and replace if possible.
staging/src/k8s.io/apiserver/pkg/authentication/cel/mapper.go:62 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in staging/src/k8s.io/client-go/tools/cache/synctrack/lazy.go:52
Found a known-risky pattern (eval_used). Review and replace if possible.
staging/src/k8s.io/client-go/tools/cache/synctrack/lazy.go:52 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'exec_used' in staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:90
Found a known-risky pattern (exec_used). Review and replace if possible.
staging/src/k8s.io/kubectl/pkg/cmd/exec/exec.go:90 owaspexec_used
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
hack/verify-flags-underscore.py:42 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/ReadTimeout/WriteTimeout is vulnerable to Slowloris. Ported from gosec G112 + G114 (Apache-2.0).
Construct `&http.Server{Addr: ..., ReadHeaderTimeout: 5*time.Second, ReadTimeout: 10*time.Second, WriteTimeout: 30*time.Second}`.
pkg/proxy/healthcheck/common.go:60 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/ReadTimeout/WriteTimeout is vulnerable to Slowloris. Ported from gosec G112 + G114 (Apache-2.0).
Construct `&http.Server{Addr: ..., ReadHeaderTimeout: 5*time.Second, ReadTimeout: 10*time.Second, WriteTimeout: 30*time.Second}`.
cluster/images/etcd-version-monitor/etcd-version-monitor.go:403 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC094] Go: world-writable file permissions: File or directory created with world-writable mode (e.g. 0666, 0777). Ported from gosec G301 / G302 / G306 (Apache-2.0).
Use 0600 for files, 0700 for dirs that should be private.
cmd/prune-junit-xml/prunexml.go:64 qualitylegacy
medium Legacy software xss conf 1.00 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML on user input: Go's `text/template` does no HTML escaping. `template.HTML(x)` marks data as already-safe. Using either with user input = XSS.
Use `html/template` (NOT `text/template`) for HTML responses. Never wrap user input with `template.HTML/JS/URL`.
cmd/kubeadm/app/util/output/output.go:166 xsslegacy
medium Legacy software xss conf 1.00 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML on user input: Go's `text/template` does no HTML escaping. `template.HTML(x)` marks data as already-safe. Using either with user input = XSS.
Use `html/template` (NOT `text/template`) for HTML responses. Never wrap user input with `template.HTML/JS/URL`.
cmd/kubeadm/app/cmd/version.go:78 xsslegacy
medium Legacy quality quality conf 1.00 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws — wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated.
Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows.
hack/verify-flags-underscore.py:42 qualitylegacy
high Legacy quality quality conf 0.72 Agent control bridge may listen on a network interface without visible auth
Bind local agent bridges to 127.0.0.1 by default. If remote access is required, require a bearer token or mTLS, enforce origin/CSRF checks for browser clients, and document the threat model.
cluster/gce/config-default.sh:13 qualitylegacy
medium Legacy cicd docker conf 0.90 Docker build context has no .dockerignore
Add .dockerignore with at least .git, .env, private keys, dependency folders, build outputs, and local databases.
.dockerignore dockerlegacy
medium Legacy cicd docker conf 0.84 Docker build context is very large
Shrink the build context with .dockerignore, move generated/runtime data outside the build context, and copy only the manifest files needed for cached dependency layers.
.dockerignore dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
staging/src/k8s.io/sample-apiserver/artifacts/simple-image/Dockerfile:15 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
staging/src/k8s.io/kube-aggregator/artifacts/simple-image/Dockerfile:15 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
staging/src/k8s.io/kms/internal/plugins/_mock/Dockerfile:32 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/Dockerfile:15 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
cluster/images/kubemark/Dockerfile:22 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
cluster/gce/gci/mounter/Dockerfile:15 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
cluster/addons/addon-manager/Dockerfile:17 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
build/server-image/kubectl/Dockerfile:21 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
build/server-image/kube-apiserver/Dockerfile:28 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
build/server-image/Dockerfile:21 dockerlegacy
medium Legacy cicd docker conf 0.94 Dockerfile base image uses the latest tag
Pin to a maintained version tag or digest and update it deliberately through dependency automation.
staging/src/k8s.io/pod-security-admission/webhook/Dockerfile:15 dockerlegacy
medium Legacy cicd docker conf 0.94 Dockerfile base image uses the latest tag
Pin to a maintained version tag or digest and update it deliberately through dependency automation.
staging/src/k8s.io/kms/internal/plugins/_mock/Dockerfile:32 dockerlegacy
medium Legacy cicd docker conf 0.94 Dockerfile base image uses the latest tag
Pin to a maintained version tag or digest and update it deliberately through dependency automation.
staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile:15 dockerlegacy
medium Legacy cicd docker conf 0.94 Dockerfile base image uses the latest tag
Pin to a maintained version tag or digest and update it deliberately through dependency automation.
cluster/images/etcd-version-monitor/Dockerfile:15 dockerlegacy
medium Legacy cicd docker conf 0.88 Heavy generated directories are included in Docker build context
Add these paths to .dockerignore or move runtime data outside the repository root used as the Docker build context.
.dockerignore dockerlegacy
high Legacy quality quality conf 0.82 Parallel implementation file sits beside a canonical file
Merge the intended change into the canonical file, update tests/imports, and delete the parallel implementation if it is not the active entry point.
staging/src/k8s.io/apiserver/pkg/registry/rest/create_update.go:1 qualitylegacy
high Legacy software dependency conf 0.70 Remote install command pipes network code directly to a shell
Publish a package-manager install path or add checksum/signature verification before execution. For docs, show the inspect-then-run flow and pin the downloaded artifact version.
pkg/proxy/ipvs/README.md:329 dependencylegacy
high Legacy software dependency conf 0.70 Remote install command pipes network code directly to a shell
Publish a package-manager install path or add checksum/signature verification before execution. For docs, show the inspect-then-run flow and pin the downloaded artifact version.
cluster/get-kube.sh:19 dependencylegacy
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: alpine:latest
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
staging/src/k8s.io/kms/internal/plugins/_mock/Dockerfile:31 supply-chaindockerpinned-dependencies
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: debian
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/Dockerfile:14 supply-chaindockerpinned-dependencies
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: fedora
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
staging/src/k8s.io/kube-aggregator/artifacts/simple-image/Dockerfile:14 supply-chaindockerpinned-dependencies
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: fedora
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
staging/src/k8s.io/sample-apiserver/artifacts/simple-image/Dockerfile:14 supply-chaindockerpinned-dependencies
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: gcr.io/distroless/base-debian10:latest
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile:14 supply-chaindockerpinned-dependencies
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: gcr.io/distroless/static:latest
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
staging/src/k8s.io/pod-security-admission/webhook/Dockerfile:14 supply-chaindockerpinned-dependencies
medium 9-layer hardware supply-chain conf 1.00 Docker base image uses a mutable or implicit tag: gcr.io/distroless/static:latest
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
cluster/images/etcd-version-monitor/Dockerfile:14 supply-chaindockerpinned-dependencies
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: cluster/addons/addon-manager/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: cluster/gce/gci/mounter/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: cluster/images/etcd-version-monitor/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: cluster/images/kubemark/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: staging/src/k8s.io/apiextensions-apiserver/artifacts/simple-image/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: staging/src/k8s.io/client-go/examples/in-cluster-client-configuration/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: staging/src/k8s.io/kms/internal/plugins/_mock/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: staging/src/k8s.io/kube-aggregator/artifacts/simple-image/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: staging/src/k8s.io/pod-security-admission/webhook/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: staging/src/k8s.io/sample-apiserver/artifacts/simple-image/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/conformance/image/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/agnhost/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/apparmor-loader/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/busybox/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/glibc-dns-testing/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/ipc-utils/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/kitten/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/nautilus/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/nginx-new/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/nginx/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/node-perf/npb-ep/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/node-perf/npb-is/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/node-perf/pytorch-wide-deep/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/nonewprivs/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/perl/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/pets/peer-finder/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/pets/zookeeper-installer/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/regression-issue-74839/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/resource-consumer/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/sample-apiserver/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/sample-device-plugin/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/volume/iscsi/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/volume/nfs/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/windows-nanoserver/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/windows-servercore-cache/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: test/images/windows/powershell-helper/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer security owasp conf 1.00 Insecure pattern 'weak_hash' in hack/tools/instrumentation/documentation/documentation-list.yaml:1507
Found a known-risky pattern (weak_hash). Review and replace if possible.
hack/tools/instrumentation/documentation/documentation-list.yaml:1507 owaspweak_hash
medium 9-layer security owasp conf 1.00 Insecure pattern 'weak_hash' in staging/src/k8s.io/apiserver/pkg/util/webhook/metrics.go:42
Found a known-risky pattern (weak_hash). Review and replace if possible.
staging/src/k8s.io/apiserver/pkg/util/webhook/metrics.go:42 owaspweak_hash
medium 9-layer security owasp conf 1.00 Insecure pattern 'weak_hash' in staging/src/k8s.io/kube-aggregator/pkg/apiserver/metrics.go:42
Found a known-risky pattern (weak_hash). Review and replace if possible.
staging/src/k8s.io/kube-aggregator/pkg/apiserver/metrics.go:42 owaspweak_hash
medium 9-layer cicd coverage conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
coverage
medium 9-layer network security conf 1.00 Privileged port 252 in use
Port 252 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
cluster/gce/gci/configure-helper.sh securityports
medium 9-layer network security conf 1.00 Privileged port 254 in use
Port 254 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
cluster/addons/calico-policy-controller/felixconfigurations-crd.yaml securityports
medium 9-layer network security conf 1.00 Privileged port 987 in use
Port 987 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
cluster/gce/gci/configure-helper.sh securityports
medium 9-layer network security conf 1.00 Privileged port 988 in use
Port 988 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
cluster/gce/gci/configure-helper.sh securityports
low Legacy quality error_handling conf 1.00 [ERR003] Ignored Error (Go): Ignoring error return values.
Handle the error or use errcheck linter.
cmd/kubeadm/app/cmd/upgrade/common.go:203 error_handlinglegacy
low Legacy quality error_handling conf 1.00 [ERR003] Ignored Error (Go): Ignoring error return values.
Handle the error or use errcheck linter.
cmd/kubeadm/app/cmd/phases/upgrade/apply/preflight.go:91 error_handlinglegacy
low Legacy quality error_handling conf 1.00 [ERR003] Ignored Error (Go): Ignoring error return values.
Handle the error or use errcheck linter.
cmd/kubeadm/app/cmd/options/generic.go:66 error_handlinglegacy
low Legacy cicd docker conf 0.72 Dockerfile installs recommended OS packages
Add `--no-install-recommends` and explicitly list only packages the image needs.
cluster/gce/gci/mounter/Dockerfile:17 dockerlegacy
low Legacy cicd docker conf 0.74 Dockerfile leaves apt package indexes in the image layer
End the apt install layer with `rm -rf /var/lib/apt/lists/*`.
cluster/gce/gci/mounter/Dockerfile:17 dockerlegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/kube-apiserver/app/options/options.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/kube-apiserver/apiserver.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/kube-apiserver/apiserver.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/importverifier/importverifier.go:4 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/importverifier/importverifier.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/importverifier/importverifier.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/import-boss/main.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/gotemplate/gotemplate.go:6 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/gotemplate/gotemplate.go:3 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/gotemplate/gotemplate.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/gotemplate/gotemplate.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genyaml/gen_kubectl_yaml.go:125 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genyaml/gen_kubectl_yaml.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genyaml/gen_kubectl_yaml.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genswaggertypedocs/swagger_type_docs.go:3 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genswaggertypedocs/swagger_type_docs.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genman/gen_kube_man.go:3 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genman/gen_kube_man.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genman/gen_kube_man.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genkubedocs/postprocessing.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genkubedocs/postprocessing.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genkubedocs/gen_kube_docs.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/genkubedocs/gen_kube_docs.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/gendocs/gen_kubectl_docs.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/fieldnamedocscheck/field_name_docs_check.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/dependencyverifier/dependencyverifier.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/dependencycheck/dependencycheck.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/cloud-controller-manager/main.go:1 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cmd/clicheck/check_cli_conventions.go:2 qualitylegacy
high Legacy quality quality conf 0.86 Duplicated implementation block across source files
Extract the shared behavior into one function/module or delete the inactive duplicate after proving which path is used.
cluster/images/etcd-version-monitor/etcd-version-monitor.go:1 qualitylegacy
low Legacy quality quality conf 0.70 Generated build artifact directory is present at repository root
Remove generated output from version control, add it to .gitignore and .dockerignore where relevant, and regenerate it in CI or release jobs.
build:1 qualitylegacy
high Legacy quality quality conf 0.62 Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
pkg/kubelet/types/pod_update.go:1 qualitylegacy
low 9-layer quality maintenance conf 1.00 2156 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
maintenance
low 9-layer hardware supply-chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: registry.k8s.io/build-image/go-runner:v2.3.1-go1.17.2-bullseye.0
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
cluster/images/kubemark/Dockerfile:22 supply-chaindockerpinned-dependencies
low 9-layer hardware supply-chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: ubuntu:xenial
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
cluster/gce/gci/mounter/Dockerfile:14 supply-chaindockerpinned-dependencies
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: hack/boilerplate/test/fail.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code-candidate conf 1.00 File has no detected symbols: hack/boilerplate/test/pass.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
dead-code-candidate
low 9-layer software dead-code conf 1.00 Possibly dead Python function: import_replace
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
staging/src/k8s.io/kubectl/pkg/util/i18n/translations/extract.py:44 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: long_string_replace
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
staging/src/k8s.io/kubectl/pkg/util/i18n/translations/extract.py:62 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: short_replace
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
staging/src/k8s.io/kubectl/pkg/util/i18n/translations/extract.py:37 dead-code
low 9-layer software dead-code conf 1.00 Possibly dead Python function: string_flag_replace
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
staging/src/k8s.io/kubectl/pkg/util/i18n/translations/extract.py:54 dead-code
low 9-layer quality complexity conf 1.00 Very large file: cluster/gce/gci/configure-helper.sh (3701 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cluster/gce/util.sh (4218 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cmd/kube-controller-manager/app/options/options_test.go (1631 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cmd/kubeadm/app/apis/kubeadm/v1/zz_generated.conversion.go (1199 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go (1199 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go (1722 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cmd/kubeadm/app/phases/controlplane/manifests_test.go (1265 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: cmd/kubelet/app/server.go (1453 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: hack/local-up-cluster.sh (1580 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/api/pod/util.go (2009 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/api/pod/util_test.go (7461 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/api/pod/warnings_test.go (2089 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/admissionregistration/types.go (1498 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/admissionregistration/v1/zz_generated.conversion.go (1632 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/admissionregistration/v1alpha1/zz_generated.conversion.go (1124 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/admissionregistration/v1beta1/zz_generated.conversion.go (1572 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/admissionregistration/validation/validation.go (1537 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/admissionregistration/validation/validation_test.go (6156 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/apps/v1/zz_generated.conversion.go (1322 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/apps/v1beta1/zz_generated.conversion.go (980 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/apps/v1beta2/zz_generated.conversion.go (1418 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/apps/validation/validation_test.go (3898 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/autoscaling/v2/zz_generated.conversion.go (1041 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/autoscaling/validation/validation_test.go (2134 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/batch/validation/validation.go (1089 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/batch/validation/validation_test.go (4552 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/certificates/validation/validation_test.go (4683 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/core/types.go (7228 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/core/v1/defaults_test.go (3370 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/core/v1/zz_generated.conversion.go (9464 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/core/validation/validation.go (9748 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/core/zz_generated.deepcopy.go (6944 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/extensions/v1beta1/zz_generated.conversion.go (1912 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/flowcontrol/v1/zz_generated.conversion.go (870 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/flowcontrol/v1beta1/zz_generated.conversion.go (855 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/flowcontrol/v1beta2/zz_generated.conversion.go (855 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/flowcontrol/v1beta3/zz_generated.conversion.go (839 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/flowcontrol/validation/validation_test.go (1459 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/networking/v1/zz_generated.conversion.go (1227 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/networking/v1beta1/zz_generated.conversion.go (947 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/networking/validation/validation_test.go (3047 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/types.go (2263 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/v1/zz_generated.conversion.go (1618 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/v1/zz_generated.validations.go (2856 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/v1beta1/zz_generated.conversion.go (1649 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/v1beta1/zz_generated.validations.go (2859 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/v1beta2/zz_generated.conversion.go (1792 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/v1beta2/zz_generated.validations.go (2943 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/validation/validation.go (1623 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/validation/validation_resourceclaim_test.go (2394 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/resource/validation/validation_resourceslice_test.go (1582 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/scheduling/v1alpha3/zz_generated.validations.go (1557 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/apis/storage/validation/validation_test.go (2739 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/controller_utils.go (1452 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/controller_utils_test.go (1789 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/cronjob/cronjob_controllerv2_test.go (1899 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/daemon/daemon_controller.go (1560 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/daemon/daemon_controller_test.go (3675 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/devicetainteviction/device_taint_eviction.go (1691 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/devicetainteviction/device_taint_eviction_test.go (2926 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/disruption/disruption_test.go (1618 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/endpoint/endpoints_controller_test.go (3306 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/endpointslice/endpointslice_controller_test.go (2190 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/garbagecollector/garbagecollector_test.go (3181 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/history/controller_history_test.go (1740 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/job/job_controller.go (2247 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/job/job_controller_test.go (8003 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/nodelifecycle/node_lifecycle_controller.go (1399 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/nodelifecycle/node_lifecycle_controller_test.go (4097 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/podautoscaler/horizontal.go (1701 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/podautoscaler/horizontal_test.go (6266 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/podautoscaler/replica_calculator_test.go (2369 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/replicaset/replica_set_test.go (2177 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/resourceclaim/controller.go (1808 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/resourceclaim/controller_test.go (2096 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/statefulset/stateful_set_control_test.go (4380 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/statefulset/stateful_set_utils_test.go (1933 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go (1541 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/volume/attachdetach/reconciler/reconciler_test.go (1872 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/volume/persistentvolume/binder_test.go (1090 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/controller/volume/persistentvolume/pv_controller.go (2024 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/credentialprovider/plugin/plugin_test.go (1697 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/features/kube_features.go (2682 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubeapiserver/options/authentication_test.go (1789 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/allocation/allocation_manager_test.go (2485 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/apis/config/types.go (972 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/apis/config/v1beta1/defaults_test.go (1114 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go (1154 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/cpumanager/policy_static_test.go (2755 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/cpumanager/policy_test.go (2786 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/cpumanager/topology/topology_test.go (1634 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/devicemanager/manager.go (1273 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/devicemanager/manager_test.go (2207 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/devicemanager/topology_hints_test.go (2044 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/dra/manager_test.go (2906 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/memorymanager/memory_manager_test.go (2420 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/memorymanager/policy_static.go (1494 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/memorymanager/policy_static_test.go (5708 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/cm/testing/mocks.go (2484 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/container/testing/mocks.go (1984 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/eviction/eviction_manager_test.go (3174 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/eviction/helpers.go (1318 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/eviction/helpers_test.go (3723 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/images/image_manager_test.go (1651 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/images/pullmanager/image_pull_manager_test.go (1678 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/images/pullmanager/mem_pullrecords_test.go (1347 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kubelet.go (3588 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kubelet_node_status_test.go (3233 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kubelet_pods.go (2959 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kubelet_pods_test.go (9320 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kubelet_test.go (5220 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kuberuntime/kuberuntime_container.go (1464 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go (2172 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kuberuntime/kuberuntime_manager.go (2306 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/kuberuntime/kuberuntime_manager_test.go (6062 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/metrics/metrics.go (1471 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/nodestatus/setters_test.go (1957 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/pod_workers.go (1758 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/pod_workers_test.go (2675 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/server/server_test.go (2540 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/stats/cri_stats_provider_test.go (1596 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/status/status_manager.go (1494 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/status/status_manager_test.go (3096 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go (1576 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go (1621 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/kubelet/volumemanager/reconciler/reconciler_test.go (2617 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/printers/internalversion/printers.go (3575 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/printers/internalversion/printers_test.go (8627 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/proxy/endpointschangetracker_test.go (1650 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/proxy/iptables/proxier.go (1483 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity
low 9-layer quality complexity conf 1.00 Very large file: pkg/proxy/iptables/proxier_test.go (6713 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
complexity

Showing first 300 of 527. Refine filters or use the legacy findings page for deep search.

For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/ff9a7d79-b095-4271-96e0-6710ec3d6b0f/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/ff9a7d79-b095-4271-96e0-6710ec3d6b0f/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.