Lightweight justice for your single-board computer!
This report presents the forensic synthetic code analysis of MichaIng/DietPi, a Shell project with 6,233 GitHub stars. SynthScan v2.0 examined 11,714 lines of code across 56 source files, recording 63 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 10.1 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 63 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | dietpi.txt | 140 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 142 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 147 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 149 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 354 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 356 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 360 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | dietpi.txt | 362 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | dietpi.txt | 5 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | dietpi.txt | 7 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | dietpi.txt | 242 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | dietpi.txt | 244 | #------------------------------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | .build/software/shairport-sync/build.bash | 25 | # ------------------------- | COMMENT |
| MEDIUM | .build/software/shairport-sync/build.bash | 27 | # ------------------------- | COMMENT |
| MEDIUM | .build/software/shairport-sync/build.bash | 449 | # ------------------------- | COMMENT |
| MEDIUM | .build/software/shairport-sync/build.bash | 451 | # ------------------------- | COMMENT |
| MEDIUM | rootfs/var/lib/dietpi/services/dietpi-firstboot.bash | 341 | #----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | rootfs/var/lib/dietpi/services/dietpi-firstboot.bash | 343 | #----------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | rootfs/var/lib/dietpi/services/fs_partition_resize.sh | 40 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | rootfs/var/lib/dietpi/services/fs_partition_resize.sh | 178 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | rootfs/var/lib/dietpi/services/dietpi-wifi-monitor.sh | 15 | #------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | rootfs/var/lib/dietpi/services/dietpi-wifi-monitor.sh | 17 | #------------------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dietpi.txt | 1 | # IMPORTANT: | COMMENT |
| LOW | dietpi.txt | 61 | # Serial console: Set to "0" if you do not require a serial console. It will then be disabled automatically on first boo | COMMENT |
| LOW | dietpi.txt | 81 | # - Option 0 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically. | COMMENT |
| LOW | dietpi.txt | 101 | AUTO_SETUP_DESKTOP=none | COMMENT |
| LOW | dietpi.txt | 121 | # Autologin user name | COMMENT |
| LOW | dietpi.txt | 141 | ##### Misc DietPi program settings ##### | COMMENT |
| LOW | dietpi.txt | 161 | # - Set a specific path to override, e.g.: /sys/class/hwmon/hwmon1/temp1_input | COMMENT |
| LOW | dietpi.txt | 181 | # - amd | COMMENT |
| LOW | dietpi.txt | 221 | # LCD Panel addon | COMMENT |
| LOW | dietpi.txt | 241 | COMMENT | |
| LOW | dietpi.txt | 301 | # X11 | COMMENT |
| LOW | dietpi.txt | 321 | # https://rancher.com/docs/k3s/latest/en/installation/install-options/#options-for-installation-with-script | COMMENT |
| LOW | dietpi.txt | 341 | # - Uncomment and set to "2" to install experimental AirPlay 2 build: https://github.com/mikebrady/shairport-sync/blob/m | COMMENT |
| LOW | dietpi.txt | 361 | ##### Settings, automatically added by dietpi-update ##### | COMMENT |
| LOW | .build/images/RPi/config.txt | 1 | # Docs: https://www.raspberrypi.com/documentation/computers/config_txt.html | COMMENT |
| LOW | .build/images/RPi/config.txt | 21 | COMMENT | |
| LOW | .build/images/RPi/config.txt | 61 | #-------SPI------------- | COMMENT |
| LOW | .build/images/RPi/config.txt | 81 | COMMENT | |
| LOW | .build/software/shairport-sync/build.bash | 81 | { | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 101 | // interpolation = "auto"; // aka "stuffing". Default is "auto". Alternatives are "vernier", "basic" or "soxr". Choose " | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 121 | // 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.bash | 141 | // run_this_when_volume_is_set = "/full/path/to/application/and/args"; // Run the specified application whenever the vol | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 161 | // 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.bash | 181 | // Many of these "unfixable" problems are caused by malfunctioning output devices, and sometimes it is necessary to re | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 201 | // (Settings are static by default on the STDOUT and pipe backends, as there is no obvious way to signal a downstrea | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 221 | alsa = | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 241 | COMMENT | |
| LOW | .build/software/shairport-sync/build.bash | 261 | stdout = | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 281 | // socket_address = "226.0.0.1"; // if set to a host name or IP address, UDP packets containing metadata will be sent to | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 301 | // cafile = NULL; //this may be used as an (exclusive) alternative to capath with a single file for all ca-certificates | COMMENT |
| LOW | .build/software/shairport-sync/build.bash | 321 | { | COMMENT |
| LOW | .build/software/unbound/build.bash | 81 | cat << '_EOF_' > "$DIR/etc/unbound/unbound.conf.d/dietpi.conf" || exit 1 | COMMENT |
| LOW | rootfs/etc/bashrc.d/dietpi.bash | 1 | #!/bin/bash | COMMENT |
| LOW | rootfs/etc/bashrc.d/readme.txt | 1 | # /etc/bashrc.d/ is implemented by DietPi to source custom scripts user-wide on interactive bash session starts. | COMMENT |
| LOW | rootfs/etc/cron.minutely/readme.txt | 1 | # /etc/cron.minutely/ is implemented by DietPi and allows to run scripts every chosen amount of minutes. | COMMENT |
| LOW | rootfs/var/lib/dietpi/postboot.d/readme.txt | 1 | # /var/lib/dietpi/postboot.d is implemented by DietPi and allows to run scripts at the end of the boot process: | COMMENT |
| LOW | rootfs/var/lib/dietpi/services/dietpi-firstboot.bash | 1 | #!/bin/bash | COMMENT |
| LOW | .conf/desktop/lxde/lxde-rc.xml | 661 | class="second element of window's WM_CLASS property (see xprop)" | COMMENT |
| LOW | .conf/desktop/lxde/lxde-rc.xml | 681 | # make the window shaded when it appears, or not | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .conf/desktop/lxde/lxde-rc.xml | 668 | # used by a shell. you can use * to match any characters and ? to match | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rootfs/var/lib/dietpi/services/dietpi-fs_automount.sh | 24 | # Check if this UUID already has an /etc/fstab entry | COMMENT |