dnscrypt-proxy 2 - A flexible DNS proxy, with support for encrypted DNS protocols.
This report summarizes scanner evidence for DNSCrypt/dnscrypt-proxy, a Go project with 13,796 GitHub stars. SynthScan examined 22,254 lines of code across 125 source files, recording 64 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 3.2 (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? 56 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 8 finding(s).
Which changes need focused human review? 64 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 64 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 | dnscrypt-proxy/plugin_firefox.go | 1 | // Firefox DoH Canary Domain Plugin | COMMENT |
| LOW | dnscrypt-proxy/example-blocked-ips.txt | 1 | ############################## | COMMENT |
| LOW | dnscrypt-proxy/example-cloaking-rules.txt | 41 | # names for the same IP are supported | COMMENT |
| LOW | dnscrypt-proxy/example-blocked-names.txt | 1 | COMMENT | |
| LOW | dnscrypt-proxy/example-blocked-names.txt | 41 | # mask.apple-dns.net | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 1 | ############################################## | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 21 | ## | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 101 | ## only increase latency. | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 121 | ## solution is to reach out to these operators and encourage them to | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 161 | ## These networks don't have to match your actual networks. | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 181 | ## 'p2': Randomly choose 1 of the fastest 2 servers by latency. | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 201 | ## - At 125 connections (50% load): timeout remains ~4765ms (95.3%) | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 281 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 301 | ## This improves security, but also increases the risks of downtime if you | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 321 | # tls_key_log_file = '/tmp/keylog.txt' | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 341 | ## | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 361 | ## When internal DNS resolution is required, for example to retrieve | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 381 | ## and -1 to wait as much as possible. | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 401 | ## The proxy will remain fully functional to respond to queries that | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 461 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 521 | [captive_portals] | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 541 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 561 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 601 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 621 | ## ads*.example[0-9]*.com | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 641 | # log_file = 'blocked-names.log' | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 681 | ## If a name matches an allowlist entry, the corresponding session | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 721 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 741 | ## would block access to YouTube during the times defined by the 'time-to-sleep' schedule. | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 761 | # thu = [{after='9:00', before='18:00'}] | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 821 | # [sources.odoh-servers] | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 841 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 861 | # Servers with known bugs # | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 901 | ## If you are not using the standard root CA, an optional "root_ca" | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 921 | ## DNSCrypt stamp) or a server name. | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 941 | ## select (relay,server) pairs that work well and fit your own criteria (close by or | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 961 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 981 | ## Do not enable unless you know what DNS64 is and why you need it, or else | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 1001 | COMMENT | |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 1061 | ## Maximum number of recent query log entries to keep in memory | COMMENT |
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 1081 | # Static entries # | COMMENT |
| LOW | dnscrypt-proxy/example-allowed-ips.txt | 1 | ############################## | COMMENT |
| LOW | dnscrypt-proxy/example-allowed-names.txt | 1 | COMMENT | |
| LOW | dnscrypt-proxy/example-captive-portals.txt | 1 | ########################################### | COMMENT |
| LOW | dnscrypt-proxy/example-forwarding-rules.txt | 1 | ################################## | COMMENT |
| LOW | dnscrypt-proxy/example-forwarding-rules.txt | 21 | COMMENT | |
| LOW | dnscrypt-proxy/example-forwarding-rules.txt | 41 | ## Forward *.local to the resolvers provided by the DHCP server | COMMENT |
| LOW | dnscrypt-proxy/example-forwarding-rules.txt | 61 | # ipv6.example.com [2001:DB8::42] | COMMENT |
| LOW | …generate-domains-blocklist/domains-time-restricted.txt | 1 | ## Rules to be applied at specific times | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …nerate-domains-blocklist/generate-domains-blocklist.py | 154 | except: | CODE |
| HIGH | …nerate-domains-blocklist/generate-domains-blocklist.py | 166 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | dnscrypt-proxy/monitoring_ui.go | 1226 | // In this implementation, we're embedding everything in the HTML | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 125 | except Exception as err: | CODE |
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 199 | except Exception as e: | CODE |
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 247 | except Exception as e: | CODE |
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 305 | except Exception as e: | CODE |
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 314 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dnscrypt-proxy/example-dnscrypt-proxy.toml | 228 | ## This file is different from other log files, and will not be | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 141 | CODE | |
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 209 | CODE | |
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 255 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dnscrypt-proxy/example-dnscrypt-proxy.toml | 117 | ## WARNING: This setting is disabled by default because it will make | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 255 | def blocklists_from_config_file( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nerate-domains-blocklist/generate-domains-blocklist.py | 5 | CODE |