AI Slop Code Risk Monitor

AdguardTeam/AdGuardHome

SlopCodeMonitor badge for AdguardTeam/AdGuardHome Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Network-wide ads & trackers blocking DNS server

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
38.0K
Stars
TypeScript
Language
387.7K
Lines of Code
1.7K
Files
191
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 2.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 181 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 7 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 5 finding(s).

PR Review Velocity Impact 2.7/100 · LOW

Which changes need focused human review? 191 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 9LOW 182

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block158 hits · 158 pts
SeverityFileLineSnippetContext
LOWinternal/dhcpsvc/config.go21 // interface identified by its name. It must not be empty and must onlyCOMMENT
LOWinternal/dhcpsvc/v4.go41 // Clock is used to get current time. It should not be nil.COMMENT
LOWinternal/dhcpsvc/server.go21COMMENT
LOWinternal/dhcpsvc/options4.go61func appendIPPerHostOptions(orig layers.DHCPOptions) (res layers.DHCPOptions) {COMMENT
LOWinternal/dhcpsvc/options4.go81 // The minimum legal value is 576.COMMENT
LOWinternal/dhcpsvc/options4.go121func appendIPPerInterfaceOptions(orig layers.DHCPOptions) (res layers.DHCPOptions) {COMMENT
LOWinternal/dhcpsvc/options4.go141 // See https://datatracker.ietf.org/doc/html/rfc1122#section-3.2.2.9.COMMENT
LOWinternal/dhcpsvc/options4.go161 layers.NewDHCPOption(layers.DHCPOptSolicitAddr, netutil.IPv4allrouter()),COMMENT
LOWinternal/dhcpsvc/options4.go181 orig,COMMENT
LOWinternal/dhcpsvc/options4.go221 layers.NewDHCPOption(layers.DHCPOptTCPKeepAliveInt, []byte{0x0, 0x0, 0x1C, 0x20}),COMMENT
LOWinternal/dhcpsvc/networkdevice.go61// to simplify testing.COMMENT
LOWinternal/dhcpsvc/dhcpsvc.go21COMMENT
LOWinternal/dhcpsvc/dhcpsvc.go41 // client must always have a MAC address. mac must be a valid MAC addressCOMMENT
LOWinternal/dhcpsvc/options6.go21// IANAOption represents a parsed IA_NA (Identity Association for Non-temporaryCOMMENT
LOWinternal/dhcpsvc/options6.go41 T2 time.DurationCOMMENT
LOWinternal/dhcpsvc/options6.go141 // Addr is the IPv6 address.COMMENT
LOWinternal/dhcpsvc/options6.go161// 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 1COMMENT
LOWinternal/dhcpsvc/v6.go21COMMENT
LOWinternal/dhcpsvc/v6.go41//COMMENT
LOWinternal/dhcpsvc/v6.go61// address with last byte set to 0xff. Proper prefixes should be used instead,COMMENT
LOWinternal/dhcpsvc/v6.go121 // clock is used to get the current time.COMMENT
LOWinternal/dhcpsvc/v6.go641}COMMENT
LOWinternal/home/config.go81// not absolutely necessary.COMMENT
LOWinternal/home/config.go121COMMENT
LOWinternal/home/config.go181 // PortDNSOverTLS is the DNS-over-TLS port. If 0, DoT will be disabled.COMMENT
LOWinternal/home/service.go141 }COMMENT
LOWinternal/home/options.go21// options represents the command-line options.COMMENT
LOWinternal/home/options.go41 serviceControlAction stringCOMMENT
LOWinternal/home/mobileconfig.go21)COMMENT
LOWinternal/home/clientshttp.go21// clients. Some of the fields are only necessary in one or two handlers andCOMMENT
LOWinternal/home/clients.go61 // safeSearchCacheTTL is the TTL of the safe search cache to use forCOMMENT
LOWinternal/next/cmd/opt.go21COMMENT
LOWinternal/next/cmd/opt.go41 // - "status": Prints the service status.COMMENT
LOWinternal/next/cmd/opt.go61 // file, optionally print an error message to stdout, and exit with aCOMMENT
LOWinternal/next/cmd/opt.go81 // directory instead of the files compiled into the binary.COMMENT
LOWinternal/ipset/ipset.go21 // Logger is used for logging the operation of the ipset manager. It mustCOMMENT
LOWinternal/ipset/ipset_linux.go21)COMMENT
LOWinternal/ipset/ipset_linux_internal_test.go181 // goos: linuxCOMMENT
LOWinternal/aghrenameio/renameio.go1// Package aghrenameio is a wrapper around package github.com/google/renameio/v2COMMENT
LOWinternal/aghrenameio/renameio.go21 // Cleanup closes the file, and removes it without performing the renaming.COMMENT
LOWinternal/aghuser/db.go21 // All retrieves all users from the database, sorted by login.COMMENT
LOWinternal/aghuser/sessionstorage.go41// DefaultSessionStorageConfig represents the web user session storageCOMMENT
LOWinternal/arpdb/arpdb_openbsd.go21 mu: &sync.RWMutex{},COMMENT
LOWinternal/filtering/filter.go401// 1. Get the list of filters to be updated. For each filter, run the downloadCOMMENT
LOWinternal/filtering/reason.go41 FilteredBlockedServiceCOMMENT
LOWinternal/filtering/rewrite/storage_internal_test.go181 Value: addr2v4,COMMENT
LOW…ernal/filtering/safesearch/safesearch_internal_test.go101COMMENT
LOWinternal/filtering/rulelist/parser.go41COMMENT
LOWinternal/aghtls/manager.go41 // and/or key have been updated.COMMENT
LOWinternal/configmigrate/v31.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v15.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v15.go21// # …COMMENT
LOWinternal/configmigrate/v21.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v5.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v25.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v11.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v4.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v34.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v24.go1package configmigrateCOMMENT
LOWinternal/configmigrate/v24.go21//COMMENT
98 more matches not shown…
Structural Annotation Overuse7 hits · 15 pts
SeverityFileLineSnippetContext
LOWinternal/home/clients.go76// NOTE: This function must be called only once.COMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts24 // Step 1: GreetingCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts27 // Step 2: AuthCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts33 // Step 3: Interface settingsCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts37 // Step 4: DNS settingsCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts40 // Step 5: Setup guideCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts43 // Step 6: Submit — open dashboardCOMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMscripts/make/helper.sh5# This file contains common script helpers. It should be sourced in scriptsCOMMENT
MEDIUMscripts/make/pack-release.sh229# Create the version.json file.COMMENT
MEDIUMscripts/hooks/helper.sh5# This file contains common script helpers for git hooks. It should be sourcedCOMMENT
MEDIUMscripts/snap/build.sh45 # Create the meta subdirectory and copy files there.COMMENT
MEDIUMscripts/snap/build.sh57 # Create a snap.yaml file, setting the values.COMMENT
Verbosity Indicators6 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡client_v2/tests/e2e/globalSetup.ts24 // Step 1: GreetingCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts27 // Step 2: AuthCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts33 // Step 3: Interface settingsCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts37 // Step 4: DNS settingsCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts40 // Step 5: Setup guideCOMMENT
LOW⚡client_v2/tests/e2e/globalSetup.ts43 // Step 6: Submit — open dashboardCOMMENT
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…_v2/src/__tests__/helpers/validate-pem-content.test.ts25 // ── Positive cases ──────────────────────────────────────────────COMMENT
MEDIUM…_v2/src/__tests__/helpers/validate-pem-content.test.ts103 // ── Negative cases ──────────────────────────────────────────────COMMENT
MEDIUM…v2/src/__tests__/helpers/normalize-server-name.test.ts49 // ── No silent rewriting beyond protocol and trailing slash ─────COMMENT
Fake / Example Data7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…_v2/src/__tests__/components/tls-setup-wizard.test.tsx178 expect(textarea).toHaveAttribute('placeholder', '-----BEGIN CERTIFICATE-----');CODE
LOW.github/ISSUE_TEMPLATE/bug.yml114 'placeholder': >CODE
LOW.github/ISSUE_TEMPLATE/bug.yml126 'placeholder': >CODE
LOW.github/ISSUE_TEMPLATE/bug.yml138 'placeholder': >CODE
LOW⚡.github/ISSUE_TEMPLATE/feature.yml25 'placeholder': >CODE
LOW⚡.github/ISSUE_TEMPLATE/feature.yml35 'placeholder': >CODE
LOW⚡.github/ISSUE_TEMPLATE/feature.yml44 'placeholder': >CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/make/build-docker.sh44# Set DOCKER_IMAGE_NAME to 'adguard/adguard-home' if you want (and are allowed)COMMENT
LOWscripts/make/build-docker.sh49# Set DOCKER_PUSH to '1' if you want (and are allowed) to push to DockerHub.COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWclient_v2/tests/e2e/query-log.spec.ts551async function expectQueryLogRequestCount(queryLogRequests: URL[], expectedCount: number) {CODE
LOWclient_v2/src/helpers/useChart.ts145export function createExternalTooltipHandler(CODE
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMclient_v2/src/__locales/pt-pt.json699 "setup_devices_router_list_1": "Normalmente, pode aceder-lhes a partir do seu navegador através de um URL, como <code>CODE