Lightweight Kubernetes
This report summarizes scanner evidence for k3s-io/k3s, a Go project with 34,290 GitHub stars. SynthScan examined 83,488 lines of code across 594 source files, recording 25 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 24 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 25 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 25 distinct pattern matches across 5 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 | install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | install.sh | 21 | # enforce that K3S_TOKEN is also set. | COMMENT |
| LOW | install.sh | 41 | # stable channel if not specified. | COMMENT |
| LOW | install.sh | 61 | # setting INSTALL_K3S_SKIP_DOWNLOAD=true | COMMENT |
| LOW | install.sh | 81 | # Name of systemd service to create, will default from the k3s exec command | COMMENT |
| LOW | contrib/util/generate-custom-ca-certs.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/scorecard.yml | 41 | - name: "Run analysis" | COMMENT |
| LOW | package/rpm/install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | package/rpm/install.sh | 21 | # | COMMENT |
| LOW | package/rpm/install.sh | 41 | # | COMMENT |
| LOW | package/rpm/install.sh | 61 | # | COMMENT |
| LOW | package/rpm/install.sh | 81 | # if not specified. | COMMENT |
| LOW | pkg/agent/flannel/flannel.go | 1 | // | COMMENT |
| LOW | pkg/kubeadm/types.go | 21 | // Expires and TTL are mutually exclusive. | COMMENT |
| LOW | pkg/etcd/store/store.go | 281 | if currentIndex, _ := schema.ReadConsistentIndex(s.be.ReadTx()); currentIndex == 0 { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pkg/etcd/snapshot_controller.go | 176 | nodes := e.etcd.config.Runtime.Core.Core().V1().Node() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 492 | # Check if jq is installed | COMMENT |
| LOW | install.sh | 497 | # Check if unzip is installed | COMMENT |
| LOW | tests/e2e/scripts/latest_commit.sh | 30 | # Verify if the response is an array with the k3s commits | COMMENT |
| LOW | tests/e2e/scripts/setup_rootless.sh | 12 | # Check if the download was successful | COMMENT |
| LOW | tests/e2e/scripts/setup_rootless.sh | 34 | # Check if the string is already in GRUB_CMDLINE_LINUX | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | updatecli/scripts/bump-staging-deps.sh | 33 | # More robust regex for spaces/tabs, and execute the replacement | COMMENT |
| LOW | .github/actions/setup-go/action.yaml | 31 | go-version-file: 'go.mod' # if go-version is not set, just use whatever version is in the go.mod file | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 5 | # Usage: | COMMENT |
| LOW | package/rpm/install.sh | 4 | # Usage: | COMMENT |