This report summarizes scanner evidence for daeuniverse/dae. SynthScan examined 146,652 lines of code across 585 source files, recording 207 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.9 (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? 186 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 20 finding(s).
Which changes need focused human review? 207 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 207 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 | cmd/run_controlplane.go | 121 | log.WithError(err).Warnf("Failed to %s transparent huge pages for dae process", action) | COMMENT |
| LOW | cmd/run_controlplane.go | 341 | // subscription failed to resolve. Without this guard the caller's rollback | COMMENT |
| LOW | cmd/run_controlplane.go | 361 | // veth is created after dae starts, or a WAN link that appears when | COMMENT |
| LOW | cmd/validate.go | 41 | log := logrus.New() | COMMENT |
| LOW | cmd/reload_manager.go | 501 | // bpfDatapathChanged returns true only when a config diff changes kernel | COMMENT |
| LOW | hack/maintenance/append_license_signature.sh | 1 | #!/bin/bash | COMMENT |
| LOW | component/sniffing/conn_sniffer.go | 81 | // | COMMENT |
| LOW | component/sniffing/conn_sniffer.go | 181 | // Called by io.Copy when ConnSniffer is the destination (server → client | COMMENT |
| LOW | component/sniffing/benchmark_test.go | 161 | // H8: deadlineConn SetReadDeadline routes this through deadline-sync read. | COMMENT |
| LOW | component/sniffing/sniffer.go | 21 | COMMENT | |
| LOW | component/sniffing/sniffer.go | 101 | s.quicNextRead = 0 | COMMENT |
| LOW | component/daedns/client.go | 521 | COMMENT | |
| LOW | component/daedns/bootstrap_dial_family_test.go | 41 | COMMENT | |
| LOW | component/outbound/filter.go | 21 | COMMENT | |
| LOW | component/outbound/dialer_group.go | 481 | } | COMMENT |
| LOW | component/outbound/dialer_group_test.go | 701 | // contract for a data-UDP domain whose DNS-UDP probe never succeeded | COMMENT |
| LOW | component/outbound/dialer/alive_dialer_set.go | 221 | return snap, true | COMMENT |
| LOW | component/outbound/dialer/connectivity_check.go | 41 | // check target has no DNS record for the requested IP version (e.g. an IPv4-only | COMMENT |
| LOW | component/outbound/dialer/connectivity_check.go | 61 | // wrapCheckOptionError classifies a check-option build failure. The sentinel | COMMENT |
| LOW | component/outbound/dialer/connectivity_check.go | 161 | // Design Note: TCP DNS (IsDns=true, L4Proto=TCP) and plain TCP (IsDns=false, L4Proto=TCP) | COMMENT |
| LOW | component/outbound/dialer/connectivity_check.go | 261 | COMMENT | |
| LOW | component/outbound/dialer/connectivity_check.go | 321 | } | COMMENT |
| LOW | component/outbound/dialer/connectivity_check.go | 801 | // Cold-start stagger: spread initial checks to avoid thundering herd. | COMMENT |
| LOW | component/outbound/dialer/dialer.go | 21 | "github.com/daeuniverse/dae/common/consts" | COMMENT |
| LOW | component/outbound/dialer/dialer.go | 41 | // - DNS UDP: DNS request / probe paths | COMMENT |
| LOW | component/outbound/dialer/dialer.go | 121 | proxyIpCache *ProxyIpCache | COMMENT |
| LOW | component/outbound/dialer/dialer.go | 881 | // caller is NotifyHealthCheckResult, which promotes when | COMMENT |
| LOW | component/routing/function_parser.go | 41 | // emptyKeyOnly rejects named parameters for the functions whose operands are | COMMENT |
| LOW | component/routing/sniff_punt.go | 201 | // | COMMENT |
| LOW | component/routing/domain_matcher/thp_bench_test.go | 21 | COMMENT | |
| LOW | component/dns/routing_validate.go | 41 | // `qtype(notavalidtype)`, an unknown qname key, an undefined upstream name, a | COMMENT |
| LOW | component/dns/upstream.go | 161 | Raw *url.URL | COMMENT |
| LOW | component/dns/routing_validate_test.go | 21 | // `qtype(notavalidtype)` exited 0 while `dae run` refused to start on the same | COMMENT |
| LOW | docs/zh/configuration/routing.md | 1 | # 路由规则 | COMMENT |
| LOW | docs/zh/configuration/routing.md | 161 | ### fwmark | COMMENT |
| LOW | docs/zh/configuration/dns.md | 101 | # alih3_path: 'h3://dns.alidns.com:443/dns-query' | COMMENT |
| LOW | docs/zh/configuration/dns.md | 121 | # asis queries the server the request was addressed to, always over UDP. | COMMENT |
| LOW | docs/zh/configuration/dns.md | 141 | qname(full: ok.com, regex: '^yes') -> googledns | COMMENT |
| LOW | docs/en/configuration/routing.md | 1 | # Routing | COMMENT |
| LOW | docs/en/configuration/routing.md | 161 | ### Firewall marks | COMMENT |
| LOW | docs/en/configuration/dns.md | 101 | # Bind to local address to listen for DNS queries | COMMENT |
| LOW | docs/en/configuration/dns.md | 121 | # http3_custom_path: 'http3://dns.example.com:443/custom-path' | COMMENT |
| LOW | docs/en/configuration/dns.md | 141 | # - sub(): subscription fetch requests | COMMENT |
| LOW | docs/en/configuration/dns.md | 161 | COMMENT | |
| LOW | common/consts/ebpf.go | 101 | // CVE-2025-37959 fix (per the linux-cve-announce notification). Distro | COMMENT |
| LOW | scripts/check-artifact-build-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/check-build-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/semantic-refactor-smoke.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/check-trace-arch-matrix.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/check-trace-arch-matrix.sh | 81 | fi | COMMENT |
| LOW | scripts/check-asset-names.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/checkpatch.pl | 3801 | WARN("SPDX_LICENSE_TAG", | COMMENT |
| LOW | scripts/checkpatch.pl | 5401 | } | COMMENT |
| LOW | scripts/checkpatch.pl | 6961 | # $fix) { | COMMENT |
| LOW | scripts/checkpatch.pl | 6981 | # | COMMENT |
| LOW | scripts/fetch-geo-data.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/daily-build.yml | 1 | # _ | COMMENT |
| LOW | control/dns.go | 981 | // requests beyond this budget should fail fast instead of queueing in userspace. | COMMENT |
| LOW | control/dns.go | 1001 | // Observe-only upstream source validation state. A mismatch is counted and | COMMENT |
| LOW | control/dns_truncated_fallback_scheme_test.go | 21 | ) | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/semantic-refactor-smoke.sh | 356 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 358 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 482 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 487 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 515 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 518 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 625 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 627 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 705 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 707 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 775 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 777 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 869 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 871 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 928 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 930 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 978 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 980 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 1030 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 1032 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | component/outbound/dialer/dialer.go | 127 | // dialer to keep health selection seamless across generations. | COMMENT |
| MEDIUM | scripts/semantic-refactor-smoke.sh | 3 | # Consolidated real-BPF smoke harness for dae (replaces the former | COMMENT |
| MEDIUM | control/control_plane.go | 2965 | // the linked peer generation is a seamless-reload optimization and | COMMENT |
| MEDIUM | control/control_plane.go | 2968 | // (seamless flow continuity on ordinary reloads is provided by the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/checkpatch.pl | 628 | #Create a search and print patterns for all these strings to be used directly below | COMMENT |
| MEDIUM | scripts/checkpatch.pl | 825 | #Create a search pattern for all these functions to speed up a loop below | COMMENT |
| MEDIUM | scripts/checkpatch.pl | 850 | #Create a search pattern for all these strings to speed up a loop below | COMMENT |
| MEDIUM | scripts/checkpatch.pl | 885 | #Create a search pattern for all these strings to speed up a loop below | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | control/bpf_maintenance_runtime_test.go | 200 | previous.bpfMaintenance.runtime.cleanup.active.Store(&bpfMaintenanceRuntime{}) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/checkpatch.pl | 2934 | # Check if the commit log has what seems like a diff which can confuse patch | COMMENT |
| LOW | scripts/checkpatch.pl | 3012 | # Check if MAINTAINERS is being updated. If so, there's probably no need to | COMMENT |
| LOW | scripts/checkpatch.pl | 3253 | # Check if the commit log is in a possible stack dump | COMMENT |
| LOW | scripts/checkpatch.pl | 3440 | # Check if it's the start of a commit log | COMMENT |
| LOW | scripts/checkpatch.pl | 3450 | # Check if there is UTF-8 in a commit log when a mail header has explicitly | COMMENT |
| LOW | scripts/checkpatch.pl | 4434 | # Check if either of these lines are modified, else | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | control/dns_controller_cache.go | 710 | // Step 1: Time-based eviction | COMMENT |
| LOW | control/dns_controller_cache.go | 747 | // Step 2: LRU eviction if cache size exceeds limit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | control/dns_controller_cache.go | 710 | // Step 1: Time-based eviction | COMMENT |
| LOW | control/dns_controller_cache.go | 747 | // Step 2: LRU eviction if cache size exceeds limit | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/maintenance/append_license_signature.sh | 6 | # Usage: | COMMENT |