Distributed reliable key-value store for the most critical data of a distributed system
This report summarizes scanner evidence for etcd-io/etcd, a Go project with 52,345 GitHub stars. SynthScan examined 246,045 lines of code across 1257 source files, recording 1266 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 5.2 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 1264 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 1266 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 1266 distinct pattern matches across 9 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 | dummy.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | etcdutl/ctl.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/main.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/completion_commmand.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/printer_fields.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/common_test.go | 1 | // Copyright 2025 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/snapshot_command.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/printer_protobuf.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/printer_table.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/common.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/printer_simple.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/migrate_command.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/printer_json.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/defrag_command.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/hashkv_command_test.go | 1 | // Copyright 2026 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/printer.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/version_command.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | etcdutl/etcdutl/hashkv_command.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | etcdutl/snapshot/doc.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | etcdutl/snapshot/v3_snapshot.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | etcdutl/snapshot/v3_snapshot_test.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/benchmark/doc.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/benchmark/main.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/txn_put.go | 1 | // Copyright 2017 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/put.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/mvcc.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/watch_latency.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/range.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/util.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/util.go | 41 | // defragTriggerPercent is the shared backing var for each benchmark command's | COMMENT |
| LOW | tools/benchmark/cmd/mvcc-put.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/doc.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/txn_mixed.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/watch_test.go | 1 | // Copyright 2026 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/watch_get.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/lease.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/root.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/watch.go | 1 | // Copyright 2015 The etcd Authors | COMMENT |
| LOW | tools/benchmark/cmd/stm.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/local-tester/bridge/bridge.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/local-tester/bridge/dispatch.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/testgrid-analysis/main.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/testgrid-analysis/cmd/flaky.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/testgrid-analysis/cmd/data.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/testgrid-analysis/cmd/github.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/testgrid-analysis/cmd/root.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/proto-annotations/main.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | tools/proto-annotations/cmd/etcd_version.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | tools/proto-annotations/cmd/root.go | 1 | // Copyright 2021 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/install_windows.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/metrics.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/install_darwin.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/utils.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/etcd.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/install_linux.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-metrics/main.go | 1 | // Copyright 2018 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-db/backend.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-db/page.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-db/scan.go | 1 | // Copyright 2024 The etcd Authors | COMMENT |
| LOW | tools/etcd-dump-db/doc.go | 1 | // Copyright 2016 The etcd Authors | COMMENT |
| 1178 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/contributor-guide/triage_issues.md | 21 | ## Step 1 - Find an issue to triage | COMMENT |
| LOW | Documentation/contributor-guide/triage_issues.md | 31 | ## Step 2 - Check the issue is valid | COMMENT |
| LOW | Documentation/contributor-guide/triage_issues.md | 45 | ## Step 3 - Apply the appropriate type of label | COMMENT |
| LOW | Documentation/contributor-guide/triage_issues.md | 104 | ## Step 4 - Define the areas impacted | COMMENT |
| LOW | Documentation/contributor-guide/triage_issues.md | 130 | ## Step 5 - Prioritise the issue | COMMENT |
| LOW | Documentation/contributor-guide/triage_issues.md | 144 | ## Step 6 - Support new contributors | COMMENT |
| LOW | Documentation/contributor-guide/triage_issues.md | 176 | ## Step 7 - Follow up | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 81 | // Step 1: generate configuration for creating cluster | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 90 | // Step 2: create the cluster | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 97 | // Step 3: run test | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 115 | // Step 4: Close the cluster | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 121 | // Step 5: Waiting all watch goroutines to exit. | COMMENT |
| LOW | scripts/test_lib.sh | 309 | # WARNING: This depend on "any" version of the 'binary' that might be tricky | COMMENT |
| LOW | client/v3/client.go | 141 | // NOTE: This method is for internal use of etcd-client library and should not be used as general-purpose logger. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 81 | // Step 1: generate configuration for creating cluster | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 90 | // Step 2: create the cluster | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 97 | // Step 3: run test | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 115 | // Step 4: Close the cluster | COMMENT |
| LOW⚡ | tests/e2e/v3_curl_maxstream_test.go | 121 | // Step 5: Waiting all watch goroutines to exit. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/benchmark_test.sh | 34 | # Create a directory for etcd data under /tmp/etcd | COMMENT |
| MEDIUM | scripts/test_lib.sh | 321 | # This function is only used to run commands that are managed by tools/mod. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | server/proxy/grpcproxy/cluster.go | 182 | // TODO: implement | COMMENT |
| LOW | pkg/proxy/server.go | 280 | // TODO: implement packet reordering from multiple TCP connections | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | server/etcdserver/server.go | 189 | // The API/raft component can utilize ClusterVersion to determine if | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/e2e/watch_test.go | 110 | validateWatchDelay(t, c.Watch(ctx, "fake-key", clientv3.WithProgressNotify()), tc.maxWatchDelay) | CODE |
| LOW | tests/e2e/watch_test.go | 147 | validateWatchDelay(t, c.Watch(ctx, "fake-key"), tc.maxWatchDelay) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/update_dep.sh | 16 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/update_dep.sh | 70 | # Check if the module is a dependency. | COMMENT |