AI Slop Code RIsk Monitor

MichaIng/DietPi

Lightweight justice for your single-board computer!

9.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for MichaIng/DietPi, a Shell project with 6,327 GitHub stars. SynthScan examined 12,238 lines of code across 58 source files, recording 60 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 9.6 (Moderate 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.

9.6
Adjusted Signal
9.6
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.3K
Stars
Shell
Language
12.2K
Lines of Code
58
Files
60
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 14.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 27.3/100 · MEDIUM

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

PR Review Velocity Impact 35.1/100 · MEDIUM

Which changes need focused human review? 60 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 23LOW 37

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 60 distinct pattern matches across 4 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.

Decorative Section Separators22 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUM⚡dietpi.txt141#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt143#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt148#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt150#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt359#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt361#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt365#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡dietpi.txt367#------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdietpi.txt5#------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdietpi.txt7#------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdietpi.txt246#------------------------------------------------------------------------------------------------------COMMENT
MEDIUMdietpi.txt248#------------------------------------------------------------------------------------------------------COMMENT
MEDIUM.build/software/shairport-sync/build.bash25# -------------------------COMMENT
MEDIUM.build/software/shairport-sync/build.bash27# -------------------------COMMENT
MEDIUM.build/software/shairport-sync/build.bash449# -------------------------COMMENT
MEDIUM.build/software/shairport-sync/build.bash451# -------------------------COMMENT
MEDIUMrootfs/var/lib/dietpi/services/dietpi-firstboot.bash341 #-----------------------------------------------------------------------------------COMMENT
MEDIUMrootfs/var/lib/dietpi/services/dietpi-firstboot.bash343 #-----------------------------------------------------------------------------------COMMENT
MEDIUMrootfs/var/lib/dietpi/services/fs_partition_resize.sh40 # ---------------------------------------------------------COMMENT
MEDIUMrootfs/var/lib/dietpi/services/fs_partition_resize.sh178 # ---------------------------------------------------------COMMENT
MEDIUMrootfs/var/lib/dietpi/services/dietpi-wifi-monitor.sh15 #-------------------------------------------------------------------------------------COMMENT
MEDIUMrootfs/var/lib/dietpi/services/dietpi-wifi-monitor.sh17 #-------------------------------------------------------------------------------------COMMENT
Over-Commented Block36 hits · 34 pts
SeverityFileLineSnippetContext
LOWdietpi.txt1# IMPORTANT:COMMENT
LOWdietpi.txt61# Serial console: Set to "0" if you do not require a serial console. It will then be disabled automatically on first booCOMMENT
LOWdietpi.txt81# - Option 0 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically.COMMENT
LOWdietpi.txt101AUTO_SETUP_DESKTOP=noneCOMMENT
LOWdietpi.txt121# Autologin user nameCOMMENT
LOWdietpi.txt141#------------------------------------------------------------------------------------------------------COMMENT
LOWdietpi.txt161# - "auto" or empty uses auto-detection (default)COMMENT
LOWdietpi.txt181# - nvidiaCOMMENT
LOWdietpi.txt241# - To use another public NTP pool, see the full list at: https://www.ntppool.org/zone/@COMMENT
LOWdietpi.txt321COMMENT
LOWdietpi.txt341# PiVPNCOMMENT
LOW.build/images/RPi/config.txt1# Docs: https://www.raspberrypi.com/documentation/computers/config_txt.htmlCOMMENT
LOW.build/images/RPi/config.txt21COMMENT
LOW.build/images/RPi/config.txt61#-------SPI-------------COMMENT
LOW.build/images/RPi/config.txt81COMMENT
LOW.build/software/shairport-sync/build.bash81{COMMENT
LOW.build/software/shairport-sync/build.bash101// interpolation = "auto"; // aka "stuffing". Default is "auto". Alternatives are "vernier", "basic" or "soxr". Choose "COMMENT
LOW.build/software/shairport-sync/build.bash121// If "off", or if there is no device channel map, audio channels are output to the device channels in order.COMMENT
LOW.build/software/shairport-sync/build.bash141// run_this_when_volume_is_set = "/full/path/to/application/and/args"; // Run the specified application whenever the volCOMMENT
LOW.build/software/shairport-sync/build.bash161// resend_control_check_interval_time = 0.25; // Use this optional advanced setting to set the time in seconds between COMMENT
LOW.build/software/shairport-sync/build.bash181// Many of these "unfixable" problems are caused by malfunctioning output devices, and sometimes it is necessary to reCOMMENT
LOW.build/software/shairport-sync/build.bash201// (Settings are static by default on the STDOUT and pipe backends, as there is no obvious way to signal a downstreaCOMMENT
LOW.build/software/shairport-sync/build.bash221alsa =COMMENT
LOW.build/software/shairport-sync/build.bash241COMMENT
LOW.build/software/shairport-sync/build.bash261stdout =COMMENT
LOW.build/software/shairport-sync/build.bash281// socket_address = "226.0.0.1"; // if set to a host name or IP address, UDP packets containing metadata will be sent toCOMMENT
LOW.build/software/shairport-sync/build.bash301// cafile = NULL; //this may be used as an (exclusive) alternative to capath with a single file for all ca-certificatesCOMMENT
LOW.build/software/shairport-sync/build.bash321{COMMENT
LOW.build/software/unbound/build.bash81cat << '_EOF_' > "$DIR/etc/unbound/unbound.conf.d/dietpi.conf" || exit 1COMMENT
LOWrootfs/etc/bashrc.d/dietpi.bash1#!/bin/bashCOMMENT
LOWrootfs/etc/bashrc.d/readme.txt1# /etc/bashrc.d/ is implemented by DietPi to source custom scripts user-wide on interactive bash session starts.COMMENT
LOWrootfs/etc/cron.minutely/readme.txt1# /etc/cron.minutely/ is implemented by DietPi and allows to run scripts every chosen amount of minutes.COMMENT
LOWrootfs/var/lib/dietpi/postboot.d/readme.txt1# /var/lib/dietpi/postboot.d is implemented by DietPi and allows to run scripts at the end of the boot process:COMMENT
LOWrootfs/var/lib/dietpi/services/dietpi-firstboot.bash1#!/bin/bashCOMMENT
LOW.conf/desktop/lxde/lxde-rc.xml661 class="second element of window's WM_CLASS property (see xprop)"COMMENT
LOW.conf/desktop/lxde/lxde-rc.xml681 # make the window shaded when it appears, or notCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.conf/desktop/lxde/lxde-rc.xml668 # used by a shell. you can use * to match any characters and ? to matchCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWrootfs/var/lib/dietpi/services/dietpi-fs_automount.sh24 # Check if this UUID already has an /etc/fstab entryCOMMENT