Fast and lightweight DNS proxy as ad-blocker for local network with many features
This report summarizes scanner evidence for 0xERR0R/blocky, a Go project with 7,080 GitHub stars. SynthScan examined 108,678 lines of code across 423 source files, recording 67 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.7 (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? 65 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? 67 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 67 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 | tools/schemagen/overrides.go | 81 | COMMENT | |
| LOW | cache/stringcache/chained_grouped_cache.go | 21 | sum += cache.ElementCount(group) | COMMENT |
| LOW | cache/stringcache/golden_test.go | 21 | // against a checked-in reference. The exact and wildcard caches only keep | COMMENT |
| LOW | cache/stringcache/string_caches_benchmark_test.go | 161 | cache = factory.create() | COMMENT |
| LOW | util/dnssec.go | 21 | return false | COMMENT |
| LOW | lists/parsers/hosts_funcs_test.go | 181 | if net.ParseIP(s) != nil && !MightBeIP(s) { | COMMENT |
| LOW | lists/parsers/hosts.go | 21 | ) | COMMENT |
| LOW | lists/parsers/hosts.go | 321 | // Only entries with non-ASCII (Unicode) characters or an "xn--" ACE prefix | COMMENT |
| LOW | lists/parsers/parser.go | 21 | // Position returns a string that gives an user readable indication | COMMENT |
| LOW | config/config.go | 41 | // IsEnabled returns true when the receiver is configured. | COMMENT |
| LOW | config/config.go | 101 | // QueryLogType type of the query log ENUM( | COMMENT |
| LOW | config/config.go | 901 | COMMENT | |
| LOW | config/upstream_fuzz_test.go | 1 | package config | COMMENT |
| LOW | server/server.go | 581 | // adopts the ECS subnet as the internal client IP (ecs.useAsClient) before the | COMMENT |
| LOW | server/http3.go | 21 | COMMENT | |
| LOW | server/client_query.go | 101 | // RFC 6891 §6.1.1: a response to an EDNS0 query must carry an OPT record. Cache hits | COMMENT |
| LOW | server/freebind/freebind_others.go | 1 | //go:build !linux | COMMENT |
| LOW | docs/config.yml | 1 | # yaml-language-server: $schema=https://raw.githubusercontent.com/0xERR0R/blocky/main/docs/config.schema.json | COMMENT |
| LOW | docs/config.yml | 21 | - https://dns.digitale-gesellschaft.ch/dns-query | COMMENT |
| LOW | docs/config.yml | 141 | # refused: return REFUSED as return code, for every query type. Note that stub resolvers commonly treat REFUSED | COMMENT |
| LOW | docs/config.yml | 161 | writeTimeout: 60s | COMMENT |
| LOW | docs/config.yml | 181 | # optional: Maximum number of lists to process in parallel. | COMMENT |
| LOW | docs/config.yml | 201 | # If 0, use TTL | COMMENT |
| LOW | docs/config.yml | 241 | # enabled if true | COMMENT |
| LOW | docs/config.yml | 261 | # optional: Which fields should be logged. You can choose one or more from: clientIP, clientName, responseReason, resp | COMMENT |
| LOW | docs/config.yml | 321 | # optional: drop all queries with following query types. Default: empty | COMMENT |
| LOW | docs/config.yml | 341 | rateLimit: | COMMENT |
| LOW | docs/config.yml | 381 | - https://example.com/hosts | COMMENT |
| LOW | docs/config.yml | 401 | # optional: Maximum download attempts | COMMENT |
| LOW | docs/config.yml | 421 | # default: 5 | COMMENT |
| LOW | docs/config.yml | 441 | # example: [4000, :4000, 127.0.0.1:4000, [::1]:4000] | COMMENT |
| LOW | docs/config.yml | 501 | # optional: if the request contains a ecs option it will be forwarded to the upstream resolver | COMMENT |
| LOW | docs/config.yml | 521 | # Prevents DoS with deeply nested domains (e.g., a.b.c.d.e.f.g.h.i.j.example.com) | COMMENT |
| LOW | docs/config.yml | 541 | # default: 150 | COMMENT |
| LOW | docs/config.yml | 561 | # Only override this for testing, private zones, or lab environments | COMMENT |
| LOW | docs/config.yml | 581 | enable: false | COMMENT |
| LOW | docs/config.yml | 601 | # | COMMENT |
| LOW | docs/config.yml | 621 | # - 2001:db8::/32 # Custom exclusion range | COMMENT |
| LOW | .github/workflows/sponsors.yml | 81 | file: README.md | COMMENT |
| LOW | model/models.go | 1 | package model | COMMENT |
| LOW | model/models_enum.go | 101 | ResponseTypeCACHED | COMMENT |
| LOW | api/api_server.gen.go | 21 | // (GET /blocking/disable) | COMMENT |
| LOW | api/api_server.gen.go | 541 | // (GET /blocking/enable) | COMMENT |
| LOW | log/logger_enum.go | 121 | // Local use facility 1. | COMMENT |
| LOW | log/logger.go | 21 | const prefixField = "prefix" | COMMENT |
| LOW | log/logger.go | 61 | } | COMMENT |
| LOW | querylog/database_writer_sqlite.go | 21 | COMMENT | |
| LOW | resolver/dnssec_resolver.go | 101 | return nil, err | COMMENT |
| LOW | resolver/mock_doh_upstream_server_test.go | 21 | // dohConnKey carries the accepted connection into the handler, so it can tell | COMMENT |
| LOW | resolver/mock_doh_upstream_server_test.go | 221 | // the connection as reused, and the round trip then fails with an unexpected | COMMENT |
| LOW | resolver/connpool.go | 21 | conn *dns.Conn | COMMENT |
| LOW | resolver/upstream_resolver.go | 261 | // do sends the packed query to the upstream, retrying on a fresh connection when | COMMENT |
| LOW | resolver/upstream_resolver.go | 461 | // exchangeUDPWithTCPFallback queries the upstream over UDP first and only re-queries over TCP when | COMMENT |
| LOW | resolver/dnssec/validator.go | 1 | // Package dnssec implements DNSSEC validation per RFC 4033, 4034, 4035, and 5155. | COMMENT |
| LOW | resolver/dnssec/validator.go | 21 | // upstream, | COMMENT |
| LOW | resolver/dnssec/validator.go | 61 | COMMENT | |
| LOW | resolver/dnssec/validator.go | 141 | metrics.RegisterMetric(v.cacheHitMetrics) | COMMENT |
| LOW | resolver/dnssec/validator.go | 201 | COMMENT | |
| LOW | resolver/dnssec/validator.go | 901 | // trust-anchor-aware default (fail closed under a trust anchor). | COMMENT |
| LOW | resolver/dnssec/chain.go | 61 | return status | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | web/static/rapidoc-min.js | 2 | (()=>{var e,t,r={656:(e,t,r)=>{"use strict";const n=window,o=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/build-bin.yml | 70 | # Check if the repository is forked and add upstream for correct versioning | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resolver/dnssec/validator.go | 8 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/static/rapidoc-min.js | 1355 | `;function AP(e){return void 0===e?"":null===e?"null":""===e?"∅":"boolean"==typeof e||"number"==typeof e?`${e}`:Array.is | CODE |