flannel is a network fabric for containers, designed for Kubernetes
This report summarizes scanner evidence for flannel-io/flannel, a Go project with 9,550 GitHub stars. SynthScan examined 23,887 lines of code across 163 source files, recording 122 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 5.5 (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? 121 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? 122 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 122 distinct pattern matches across 2 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 | main.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | main_test.go | 1 | // Copyright 2026 flannel authors | COMMENT |
| LOW | cmd/install_conf/main.go | 1 | // Copyright (c) 2026 Flannel Authors | COMMENT |
| LOW | chart/kube-flannel/values.yaml | 21 | cniBinDir: "/opt/cni/bin" | COMMENT |
| LOW | chart/kube-flannel/values.yaml | 41 | # VXLAN Configs: | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/scorecard.yml | 41 | - name: "Run analysis" | COMMENT |
| LOW | e2e/connectivity_test.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/rules.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/kube.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/flannel.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/dns_test.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/cluster.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/e2e_suite_test.go | 1 | //go:build e2e | COMMENT |
| LOW | e2e/e2e_suite_test.go | 21 | // | COMMENT |
| LOW | e2e/resilience_test.go | 1 | //go:build e2e | COMMENT |
| LOW | functional/etcd_test.go | 1 | //go:build functional | COMMENT |
| LOW | functional/k8s_test.go | 1 | //go:build functional | COMMENT |
| LOW | functional/docker_test.go | 1 | //go:build functional | COMMENT |
| LOW | functional/functional_suite_test.go | 1 | //go:build functional | COMMENT |
| LOW | functional/functional_suite_test.go | 21 | // Run with: | COMMENT |
| LOW | .clusterfuzzlite/project.yaml | 1 | # Copyright 2024 flannel authors | COMMENT |
| LOW | .clusterfuzzlite/build.sh | 1 | #!/bin/bash -eu | COMMENT |
| LOW | pkg/ns/ns.go | 1 | //go:build !windows | COMMENT |
| LOW | pkg/retry/retry.go | 1 | // Copyright 2023 flannel authors | COMMENT |
| LOW | pkg/ipmatch/match_test.go | 1 | //go:build !windows | COMMENT |
| LOW | pkg/ipmatch/match.go | 1 | // Copyright 2022 flannel authors | COMMENT |
| LOW | pkg/utils/utils.go | 1 | // Copyright (c) 2026 Flannel Authors | COMMENT |
| LOW | pkg/backend/route_network_test.go | 1 | // Copyright 2017 flannel authors | COMMENT |
| LOW | pkg/backend/route_network.go | 1 | //go:build !windows | COMMENT |
| LOW | pkg/backend/simple_network.go | 1 | // Copyright 2017 flannel authors | COMMENT |
| LOW | pkg/backend/common.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/manager.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/route_network_windows.go | 1 | // Copyright 2018 flannel authors | COMMENT |
| LOW | pkg/backend/tencentvpc/tencentvpc.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/tencentvpc/tencentvpc_windows.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/alloc/alloc.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/extension/extension_network.go | 1 | // Copyright 2017 flannel authors | COMMENT |
| LOW | pkg/backend/extension/extension.go | 1 | // Copyright 2017 flannel authors | COMMENT |
| LOW | pkg/backend/udp/udp_windows.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/udp/udp_network_amd64.go | 1 | //go:build !windows && !windows | COMMENT |
| LOW | pkg/backend/udp/proxy_amd64.c | 1 | // Copyright 2015 CoreOS, Inc. | COMMENT |
| LOW | pkg/backend/udp/proxy_amd64.c | 21 | COMMENT | |
| LOW | pkg/backend/udp/udp_network.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/udp/udp.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/udp/proxy_amd64.h | 1 | // Copyright 2015 CoreOS, Inc. | COMMENT |
| LOW | pkg/backend/udp/udp_amd64.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/udp/cproxy_amd64.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/ipip/ipip.go | 1 | //go:build !windows | COMMENT |
| LOW | pkg/backend/ipip/ipip_windows.go | 1 | // Copyright 2017 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/fuzz_test.go | 1 | // Copyright 2024 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/vxlan_windows.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/vxlan_network_windows.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/vxlan_network.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/device.go | 1 | //go:build !windows | COMMENT |
| LOW | pkg/backend/vxlan/vxlan.go | 1 | // Copyright 2015 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/vxlan.go | 21 | // The first versions of vxlan for flannel registered the flannel daemon as a handler for both "L2" and "L3" misses | COMMENT |
| LOW | pkg/backend/vxlan/vxlan.go | 41 | // listening for any netlink messages anymore. This improves reliability (no problems with timeouts if | COMMENT |
| LOW | pkg/backend/vxlan/device_windows.go | 1 | // Copyright 2018 flannel authors | COMMENT |
| LOW | pkg/backend/vxlan/vxlan_network_test.go | 1 | // Copyright 2026 flannel authors | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | pkg/backend/ipsec/ipsec_network.go | 77 | err := n.iked.LoadSharedKey(n.SimpleNetwork.SubnetLease.Attrs.PublicIP.ToIP().String(), n.password) | CODE |