AI Slop Code Risk Monitor

daeuniverse/dae

SlopCodeMonitor badge for daeuniverse/dae Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
146.7K
Lines of Code
585
Files
207
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 6.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

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

Agent Over-Engineering Ratio 2.0/100 · LOW

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

PR Review Velocity Impact 8.9/100 · LOW

Which changes need focused human review? 207 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 1HIGH 0MEDIUM 28LOW 178

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 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.

Over-Commented Block167 hits · 166 pts
SeverityFileLineSnippetContext
LOWcmd/run_controlplane.go121 log.WithError(err).Warnf("Failed to %s transparent huge pages for dae process", action)COMMENT
LOWcmd/run_controlplane.go341 // subscription failed to resolve. Without this guard the caller's rollbackCOMMENT
LOWcmd/run_controlplane.go361 // veth is created after dae starts, or a WAN link that appears whenCOMMENT
LOWcmd/validate.go41 log := logrus.New()COMMENT
LOWcmd/reload_manager.go501// bpfDatapathChanged returns true only when a config diff changes kernelCOMMENT
LOWhack/maintenance/append_license_signature.sh1#!/bin/bashCOMMENT
LOWcomponent/sniffing/conn_sniffer.go81//COMMENT
LOWcomponent/sniffing/conn_sniffer.go181// Called by io.Copy when ConnSniffer is the destination (server → clientCOMMENT
LOWcomponent/sniffing/benchmark_test.go161 // H8: deadlineConn SetReadDeadline routes this through deadline-sync read.COMMENT
LOWcomponent/sniffing/sniffer.go21COMMENT
LOWcomponent/sniffing/sniffer.go101 s.quicNextRead = 0COMMENT
LOWcomponent/daedns/client.go521COMMENT
LOWcomponent/daedns/bootstrap_dial_family_test.go41COMMENT
LOWcomponent/outbound/filter.go21COMMENT
LOWcomponent/outbound/dialer_group.go481 }COMMENT
LOWcomponent/outbound/dialer_group_test.go701// contract for a data-UDP domain whose DNS-UDP probe never succeededCOMMENT
LOWcomponent/outbound/dialer/alive_dialer_set.go221 return snap, trueCOMMENT
LOWcomponent/outbound/dialer/connectivity_check.go41// check target has no DNS record for the requested IP version (e.g. an IPv4-onlyCOMMENT
LOWcomponent/outbound/dialer/connectivity_check.go61// wrapCheckOptionError classifies a check-option build failure. The sentinelCOMMENT
LOWcomponent/outbound/dialer/connectivity_check.go161// Design Note: TCP DNS (IsDns=true, L4Proto=TCP) and plain TCP (IsDns=false, L4Proto=TCP)COMMENT
LOWcomponent/outbound/dialer/connectivity_check.go261COMMENT
LOWcomponent/outbound/dialer/connectivity_check.go321 }COMMENT
LOWcomponent/outbound/dialer/connectivity_check.go801 // Cold-start stagger: spread initial checks to avoid thundering herd.COMMENT
LOWcomponent/outbound/dialer/dialer.go21 "github.com/daeuniverse/dae/common/consts"COMMENT
LOWcomponent/outbound/dialer/dialer.go41// - DNS UDP: DNS request / probe pathsCOMMENT
LOWcomponent/outbound/dialer/dialer.go121 proxyIpCache *ProxyIpCacheCOMMENT
LOWcomponent/outbound/dialer/dialer.go881// caller is NotifyHealthCheckResult, which promotes whenCOMMENT
LOWcomponent/routing/function_parser.go41// emptyKeyOnly rejects named parameters for the functions whose operands areCOMMENT
LOWcomponent/routing/sniff_punt.go201//COMMENT
LOWcomponent/routing/domain_matcher/thp_bench_test.go21COMMENT
LOWcomponent/dns/routing_validate.go41// `qtype(notavalidtype)`, an unknown qname key, an undefined upstream name, aCOMMENT
LOWcomponent/dns/upstream.go161 Raw *url.URLCOMMENT
LOWcomponent/dns/routing_validate_test.go21// `qtype(notavalidtype)` exited 0 while `dae run` refused to start on the sameCOMMENT
LOWdocs/zh/configuration/routing.md1# 路由规则COMMENT
LOWdocs/zh/configuration/routing.md161### fwmarkCOMMENT
LOWdocs/zh/configuration/dns.md101 # alih3_path: 'h3://dns.alidns.com:443/dns-query'COMMENT
LOWdocs/zh/configuration/dns.md121 # asis queries the server the request was addressed to, always over UDP.COMMENT
LOWdocs/zh/configuration/dns.md141 qname(full: ok.com, regex: '^yes') -> googlednsCOMMENT
LOWdocs/en/configuration/routing.md1# RoutingCOMMENT
LOWdocs/en/configuration/routing.md161### Firewall marksCOMMENT
LOWdocs/en/configuration/dns.md101 # Bind to local address to listen for DNS queriesCOMMENT
LOWdocs/en/configuration/dns.md121 # http3_custom_path: 'http3://dns.example.com:443/custom-path'COMMENT
LOWdocs/en/configuration/dns.md141 # - sub(): subscription fetch requestsCOMMENT
LOWdocs/en/configuration/dns.md161COMMENT
LOWcommon/consts/ebpf.go101 // CVE-2025-37959 fix (per the linux-cve-announce notification). DistroCOMMENT
LOWscripts/check-artifact-build-env.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/check-build-env.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/semantic-refactor-smoke.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/check-trace-arch-matrix.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/check-trace-arch-matrix.sh81 fiCOMMENT
LOWscripts/check-asset-names.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/checkpatch.pl3801 WARN("SPDX_LICENSE_TAG",COMMENT
LOWscripts/checkpatch.pl5401 }COMMENT
LOWscripts/checkpatch.pl6961# $fix) {COMMENT
LOWscripts/checkpatch.pl6981#COMMENT
LOWscripts/fetch-geo-data.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/daily-build.yml1# _COMMENT
LOWcontrol/dns.go981 // requests beyond this budget should fail fast instead of queueing in userspace.COMMENT
LOWcontrol/dns.go1001// Observe-only upstream source validation state. A mismatch is counted andCOMMENT
LOWcontrol/dns_truncated_fallback_scheme_test.go21)COMMENT
107 more matches not shown…
Decorative Section Separators20 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMscripts/semantic-refactor-smoke.sh356# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh358# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh482# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh487# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh515# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh518# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh625# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh627# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh705# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh707# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh775# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh777# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh869# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh871# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh928# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh930# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh978# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh980# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh1030# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh1032# ---------------------------------------------------------------------------COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMcomponent/outbound/dialer/dialer.go127 // dialer to keep health selection seamless across generations.COMMENT
MEDIUMscripts/semantic-refactor-smoke.sh3# Consolidated real-BPF smoke harness for dae (replaces the formerCOMMENT
MEDIUMcontrol/control_plane.go2965 // the linked peer generation is a seamless-reload optimization andCOMMENT
MEDIUMcontrol/control_plane.go2968 // (seamless flow continuity on ordinary reloads is provided by theCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMscripts/checkpatch.pl628#Create a search and print patterns for all these strings to be used directly belowCOMMENT
MEDIUMscripts/checkpatch.pl825#Create a search pattern for all these functions to speed up a loop belowCOMMENT
MEDIUMscripts/checkpatch.pl850#Create a search pattern for all these strings to speed up a loop belowCOMMENT
MEDIUMscripts/checkpatch.pl885#Create a search pattern for all these strings to speed up a loop belowCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALcontrol/bpf_maintenance_runtime_test.go200 previous.bpfMaintenance.runtime.cleanup.active.Store(&bpfMaintenanceRuntime{})CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/checkpatch.pl2934# Check if the commit log has what seems like a diff which can confuse patchCOMMENT
LOWscripts/checkpatch.pl3012# Check if MAINTAINERS is being updated. If so, there's probably no need toCOMMENT
LOWscripts/checkpatch.pl3253# Check if the commit log is in a possible stack dumpCOMMENT
LOWscripts/checkpatch.pl3440# Check if it's the start of a commit logCOMMENT
LOWscripts/checkpatch.pl3450# Check if there is UTF-8 in a commit log when a mail header has explicitlyCOMMENT
LOWscripts/checkpatch.pl4434 # Check if either of these lines are modified, elseCOMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcontrol/dns_controller_cache.go710 // Step 1: Time-based evictionCOMMENT
LOWcontrol/dns_controller_cache.go747 // Step 2: LRU eviction if cache size exceeds limitCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcontrol/dns_controller_cache.go710 // Step 1: Time-based evictionCOMMENT
LOWcontrol/dns_controller_cache.go747 // Step 2: LRU eviction if cache size exceeds limitCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWhack/maintenance/append_license_signature.sh6# Usage:COMMENT