Network-wide ads & trackers blocking DNS server
This report summarizes scanner evidence for AdguardTeam/AdGuardHome, a TypeScript project with 37,993 GitHub stars. SynthScan examined 387,672 lines of code across 1695 source files, recording 191 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 181 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 5 finding(s).
Which changes need focused human review? 191 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 191 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 | internal/dhcpsvc/config.go | 21 | // interface identified by its name. It must not be empty and must only | COMMENT |
| LOW | internal/dhcpsvc/v4.go | 41 | // Clock is used to get current time. It should not be nil. | COMMENT |
| LOW | internal/dhcpsvc/server.go | 21 | COMMENT | |
| LOW | internal/dhcpsvc/options4.go | 61 | func appendIPPerHostOptions(orig layers.DHCPOptions) (res layers.DHCPOptions) { | COMMENT |
| LOW | internal/dhcpsvc/options4.go | 81 | // The minimum legal value is 576. | COMMENT |
| LOW | internal/dhcpsvc/options4.go | 121 | func appendIPPerInterfaceOptions(orig layers.DHCPOptions) (res layers.DHCPOptions) { | COMMENT |
| LOW | internal/dhcpsvc/options4.go | 141 | // See https://datatracker.ietf.org/doc/html/rfc1122#section-3.2.2.9. | COMMENT |
| LOW | internal/dhcpsvc/options4.go | 161 | layers.NewDHCPOption(layers.DHCPOptSolicitAddr, netutil.IPv4allrouter()), | COMMENT |
| LOW | internal/dhcpsvc/options4.go | 181 | orig, | COMMENT |
| LOW | internal/dhcpsvc/options4.go | 221 | layers.NewDHCPOption(layers.DHCPOptTCPKeepAliveInt, []byte{0x0, 0x0, 0x1C, 0x20}), | COMMENT |
| LOW | internal/dhcpsvc/networkdevice.go | 61 | // to simplify testing. | COMMENT |
| LOW | internal/dhcpsvc/dhcpsvc.go | 21 | COMMENT | |
| LOW | internal/dhcpsvc/dhcpsvc.go | 41 | // client must always have a MAC address. mac must be a valid MAC address | COMMENT |
| LOW | internal/dhcpsvc/options6.go | 21 | // IANAOption represents a parsed IA_NA (Identity Association for Non-temporary | COMMENT |
| LOW | internal/dhcpsvc/options6.go | 41 | T2 time.Duration | COMMENT |
| LOW | internal/dhcpsvc/options6.go | 141 | // Addr is the IPv6 address. | COMMENT |
| LOW | internal/dhcpsvc/options6.go | 161 | // 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | COMMENT |
| LOW | internal/dhcpsvc/v6.go | 21 | COMMENT | |
| LOW | internal/dhcpsvc/v6.go | 41 | // | COMMENT |
| LOW | internal/dhcpsvc/v6.go | 61 | // address with last byte set to 0xff. Proper prefixes should be used instead, | COMMENT |
| LOW | internal/dhcpsvc/v6.go | 121 | // clock is used to get the current time. | COMMENT |
| LOW | internal/dhcpsvc/v6.go | 641 | } | COMMENT |
| LOW | internal/home/config.go | 81 | // not absolutely necessary. | COMMENT |
| LOW | internal/home/config.go | 121 | COMMENT | |
| LOW | internal/home/config.go | 181 | // PortDNSOverTLS is the DNS-over-TLS port. If 0, DoT will be disabled. | COMMENT |
| LOW | internal/home/service.go | 141 | } | COMMENT |
| LOW | internal/home/options.go | 21 | // options represents the command-line options. | COMMENT |
| LOW | internal/home/options.go | 41 | serviceControlAction string | COMMENT |
| LOW | internal/home/mobileconfig.go | 21 | ) | COMMENT |
| LOW | internal/home/clientshttp.go | 21 | // clients. Some of the fields are only necessary in one or two handlers and | COMMENT |
| LOW | internal/home/clients.go | 61 | // safeSearchCacheTTL is the TTL of the safe search cache to use for | COMMENT |
| LOW | internal/next/cmd/opt.go | 21 | COMMENT | |
| LOW | internal/next/cmd/opt.go | 41 | // - "status": Prints the service status. | COMMENT |
| LOW | internal/next/cmd/opt.go | 61 | // file, optionally print an error message to stdout, and exit with a | COMMENT |
| LOW | internal/next/cmd/opt.go | 81 | // directory instead of the files compiled into the binary. | COMMENT |
| LOW | internal/ipset/ipset.go | 21 | // Logger is used for logging the operation of the ipset manager. It must | COMMENT |
| LOW | internal/ipset/ipset_linux.go | 21 | ) | COMMENT |
| LOW | internal/ipset/ipset_linux_internal_test.go | 181 | // goos: linux | COMMENT |
| LOW | internal/aghrenameio/renameio.go | 1 | // Package aghrenameio is a wrapper around package github.com/google/renameio/v2 | COMMENT |
| LOW | internal/aghrenameio/renameio.go | 21 | // Cleanup closes the file, and removes it without performing the renaming. | COMMENT |
| LOW | internal/aghuser/db.go | 21 | // All retrieves all users from the database, sorted by login. | COMMENT |
| LOW | internal/aghuser/sessionstorage.go | 41 | // DefaultSessionStorageConfig represents the web user session storage | COMMENT |
| LOW | internal/arpdb/arpdb_openbsd.go | 21 | mu: &sync.RWMutex{}, | COMMENT |
| LOW | internal/filtering/filter.go | 401 | // 1. Get the list of filters to be updated. For each filter, run the download | COMMENT |
| LOW | internal/filtering/reason.go | 41 | FilteredBlockedService | COMMENT |
| LOW | internal/filtering/rewrite/storage_internal_test.go | 181 | Value: addr2v4, | COMMENT |
| LOW | …ernal/filtering/safesearch/safesearch_internal_test.go | 101 | COMMENT | |
| LOW | internal/filtering/rulelist/parser.go | 41 | COMMENT | |
| LOW | internal/aghtls/manager.go | 41 | // and/or key have been updated. | COMMENT |
| LOW | internal/configmigrate/v31.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v15.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v15.go | 21 | // # … | COMMENT |
| LOW | internal/configmigrate/v21.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v5.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v25.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v11.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v4.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v34.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v24.go | 1 | package configmigrate | COMMENT |
| LOW | internal/configmigrate/v24.go | 21 | // | COMMENT |
| 98 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/home/clients.go | 76 | // NOTE: This function must be called only once. | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 24 | // Step 1: Greeting | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 27 | // Step 2: Auth | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 33 | // Step 3: Interface settings | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 37 | // Step 4: DNS settings | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 40 | // Step 5: Setup guide | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 43 | // Step 6: Submit — open dashboard | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/make/helper.sh | 5 | # This file contains common script helpers. It should be sourced in scripts | COMMENT |
| MEDIUM | scripts/make/pack-release.sh | 229 | # Create the version.json file. | COMMENT |
| MEDIUM | scripts/hooks/helper.sh | 5 | # This file contains common script helpers for git hooks. It should be sourced | COMMENT |
| MEDIUM | scripts/snap/build.sh | 45 | # Create the meta subdirectory and copy files there. | COMMENT |
| MEDIUM | scripts/snap/build.sh | 57 | # Create a snap.yaml file, setting the values. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 24 | // Step 1: Greeting | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 27 | // Step 2: Auth | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 33 | // Step 3: Interface settings | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 37 | // Step 4: DNS settings | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 40 | // Step 5: Setup guide | COMMENT |
| LOW⚡ | client_v2/tests/e2e/globalSetup.ts | 43 | // Step 6: Submit — open dashboard | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …_v2/src/__tests__/helpers/validate-pem-content.test.ts | 25 | // ── Positive cases ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …_v2/src/__tests__/helpers/validate-pem-content.test.ts | 103 | // ── Negative cases ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …v2/src/__tests__/helpers/normalize-server-name.test.ts | 49 | // ── No silent rewriting beyond protocol and trailing slash ───── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …_v2/src/__tests__/components/tls-setup-wizard.test.tsx | 178 | expect(textarea).toHaveAttribute('placeholder', '-----BEGIN CERTIFICATE-----'); | CODE |
| LOW | .github/ISSUE_TEMPLATE/bug.yml | 114 | 'placeholder': > | CODE |
| LOW | .github/ISSUE_TEMPLATE/bug.yml | 126 | 'placeholder': > | CODE |
| LOW | .github/ISSUE_TEMPLATE/bug.yml | 138 | 'placeholder': > | CODE |
| LOW⚡ | .github/ISSUE_TEMPLATE/feature.yml | 25 | 'placeholder': > | CODE |
| LOW⚡ | .github/ISSUE_TEMPLATE/feature.yml | 35 | 'placeholder': > | CODE |
| LOW⚡ | .github/ISSUE_TEMPLATE/feature.yml | 44 | 'placeholder': > | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/make/build-docker.sh | 44 | # Set DOCKER_IMAGE_NAME to 'adguard/adguard-home' if you want (and are allowed) | COMMENT |
| LOW | scripts/make/build-docker.sh | 49 | # Set DOCKER_PUSH to '1' if you want (and are allowed) to push to DockerHub. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | client_v2/tests/e2e/query-log.spec.ts | 551 | async function expectQueryLogRequestCount(queryLogRequests: URL[], expectedCount: number) { | CODE |
| LOW | client_v2/src/helpers/useChart.ts | 145 | export function createExternalTooltipHandler( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | client_v2/src/__locales/pt-pt.json | 699 | "setup_devices_router_list_1": "Normalmente, pode aceder-lhes a partir do seu navegador através de um URL, como <code> | CODE |