AI Slop Code Risk Monitor

gentoo/gentoo

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

[MIRROR] Official Gentoo ebuild repository

0.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gentoo/gentoo, a Shell project with 2,479 GitHub stars. SynthScan examined 318,425 lines of code across 19979 source files, recording 76 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.4 (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.4
Adjusted Signal
0.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
2.5K
Stars
Shell
Language
318.4K
Lines of Code
20.0K
Files
76
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 1.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 69 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 0.4/100 · LOW

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

PR Review Velocity Impact 1.7/100 · LOW

Which changes need focused human review? 76 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 3MEDIUM 10LOW 63

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 76 distinct pattern matches across 11 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 Block48 hits · 48 pts
SeverityFileLineSnippetContext
LOWheader.txt1# Copyright 2026 Gentoo AuthorsCOMMENT
LOWx11-libs/fox-wrapper/files/fox-wrapper-3.sh1#!/bin/bashCOMMENT
LOWkde-plasma/plasma-workspace/files/10-agent-startup.sh1# Agents startup fileCOMMENT
LOWkde-plasma/plasma-workspace/files/10-agent-shutdown.sh1#!/bin/shCOMMENT
LOWsys-apps/less/files/lesspipe-r4.sh261# [[ $1 == *hd* ]] && hdparm -I "${1:0:8}"COMMENT
LOWsys-apps/less/files/lesspipe-r5.sh261# [[ $1 == *hd* ]] && hdparm -I "${1:0:8}"COMMENT
LOWsys-apps/attr/files/xattr-shim.h1/* Small shim until we update all packages. */COMMENT
LOW…ps/rkflashtool/files/rkflashtool-6.1-missing-version.h1#ifndef RKFLASHTOOL_VERSION_HCOMMENT
LOWnet-vpn/openvpn/files/up.sh1#!/bin/shCOMMENT
LOWsys-fs/quota/files/ldap-scripts/applySystemQuotas.pl1#!/usr/bin/perl -wCOMMENT
LOWsys-fs/quota/files/ldap-scripts/setSystemQuotas.pl1#!/usr/bin/perl -wCOMMENT
LOWapp-text/jabref/files/jabref.sh1#!/bin/bashCOMMENT
LOWnet-dialup/pptpclient/files/xpptp_fe.pl1#!/usr/bin/perl -wCOMMENT
LOWnet-dialup/pptpclient/files/pptp_fe.pl1#!/usr/bin/perlCOMMENT
LOWmedia-plugins/vdr-mplayer/files/confd-0.9.15.sh1# Global config file for vdr mplayer pluginCOMMENT
LOWmedia-plugins/vdr-systeminfo/files/systeminfo.sh1#!/bin/bashCOMMENT
LOW…gp-keys-gentoo-infrastructure/files/keyring-mangler.py1#!/usr/bin/env pythonCOMMENT
LOW…penpgp-keys-gentoo-developers/files/keyring-mangler.py1#!/usr/bin/env pythonCOMMENT
LOWapp-antivirus/fangfrisch/files/fangfrisch-has-news.sh1#!/usr/bin/env bashCOMMENT
LOWsys-power/acpid/files/acpid-1.0.6-default.sh41 # for each core!COMMENT
LOW…mware/files/raspberrypi-firmware-1.20201022-config.txt1# For more options and information seeCOMMENT
LOW…mware/files/raspberrypi-firmware-1.20201022-config.txt21#framebuffer_width=1280COMMENT
LOW…mware/files/raspberrypi-firmware-1.20201022-config.txt41COMMENT
LOWsys-boot/milo/files/objstrip.c21#include <sys/fcntl.h>COMMENT
LOWscripts/bootstrap.sh1#!/bin/bashCOMMENT
LOWapp-emulation/xen-tools/files/stubs-32.h1/* This file is automatically generated.COMMENT
LOWapp-shells/bash/files/bashrc.d/10-gentoo-title-r3.bash1# /etc/bash/bashrc.d/10-gentoo-title.bashCOMMENT
LOWapp-shells/bash/files/bashrc.d/10-gentoo-title-r3.bash41 alacritty*|contour|foot*|tmux*|xterm-ghostty)COMMENT
LOWdev-util/nvidia-cuda-toolkit/files/parse_manifest.py1#!/usr/bin/env pythonCOMMENT
LOWdev-util/nvidia-cuda-toolkit/files/parse_manifest.py101 # <type>compiler</type>COMMENT
LOWdev-util/nvidia-cuda-toolkit/files/parse_manifest.py121 # unusedCOMMENT
LOWeclass/tests/version-funcs.sh1#!/bin/bashCOMMENT
LOWeclass/tests/version-funcs.sh21# A version component can either consist purely of digits ([0-9]+)COMMENT
LOWeclass/tests/version-funcs.sh41#COMMENT
LOWeclass/tests/version-funcs.sh121 # Work around a bug in bash-3.2, where "${comp[*]:start:end*2-start}"COMMENT
LOWeclass/tests/dot-a.sh21COMMENT
LOWeclass/tests/dot-a.sh141 # focus of this test is more basic, not checking all possible optionCOMMENT
LOWmedia-video/aegisub/files/9999/git_version.h1#define BUILD_GIT_VERSION_NUMBER 9999COMMENT
LOWmedia-video/aegisub/files/3.4.2/git_version.h1#define BUILD_GIT_VERSION_NUMBER 342COMMENT
LOW…rint/kyocera-1x2x-mfp-driver/files/rastertokpsl-fix.sh1#!/bin/bashCOMMENT
LOWnet-dns/avahi/files/autoipd.sh1# Copyright (c) 2004-2006 Gentoo FoundationCOMMENT
LOW…libs/pjproject/files/pjproject-2.13.1-r1-config_site.h21#define PJ_IOQUEUE_MAX_HANDLES (5000)COMMENT
LOW…libs/pjproject/files/pjproject-2.13.1-r1-config_site.h81#define PJSIP_TSX_UAS_CONTINUE_ON_TP_ERROR 0COMMENT
LOWnet-libs/pjproject/files/pjproject-config_site-v2.h41#define PJ_LOG_MAX_LEVEL 6COMMENT
LOWnet-libs/ppp-defs/files/ppp_defs.h1#ifndef _NET_PPP_DEFS_HCOMMENT
LOWapp-admin/analog/files/analog.cfg1# Configuration file for analog 5.1COMMENT
LOW…in/gentoo-rsync-mirror/files/rsynclogparse-extended.pl1#!/usr/bin/env perlCOMMENT
LOWwww-servers/pound/files/pound-2.2.cfg1## Minimal sample pound.cfgCOMMENT
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMdev-ruby/rubygems/files/auto_gem.rb1# This file is installed by Gentoo's rubygems package.COMMENT
MEDIUMkde-plasma/plasma-workspace/files/10-agent-startup.sh3# This file is sourced at Plasma startup, so thatCOMMENT
MEDIUMkde-plasma/plasma-workspace/files/10-agent-shutdown.sh3# This file is executed at Plasma shutdown.COMMENT
MEDIUMapp-shells/bash/files/bashrc.d/10-gentoo-color-r2.bash38 # Define a prompt without color.COMMENT
MEDIUM…rint/kyocera-1x2x-mfp-driver/files/rastertokpsl-fix.sh2# This file is a slightly modified version of 'rastertokpsl_wrapper' scriptCOMMENT
MEDIUMapp-admin/logstash-bin/files/pipelines.yml1# This file is where you define your pipelines. You can define multiple.COMMENT
MEDIUM…-firmware/files/linux-firmware-make-amd-ucode-img.bash65 # Create the cpio archiveCOMMENT
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHapp-emulation/virtualbox/files/test_python.py14except:CODE
HIGHapp-emulation/virtualbox-kvm/files/test_python.py14except:CODE
HIGHwww-client/chromium/files/bin-finder.py171except (PermissionError, OSError):CODE
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdev-embedded/arduino-builder/files/platform.txt2# --------------------COMMENT
MEDIUMdev-embedded/arduino-builder/files/platform.txt9# ------------------------------COMMENT
MEDIUMeclass/tests/version-funcs.sh16# ---------------COMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWmail-client/thunderbird-bin/files/thunderbird-bin-r1.sh4## Usage:COMMENT
LOWmail-client/thunderbird/files/thunderbird-r1.sh4## Usage:COMMENT
LOWwww-client/firefox/files/firefox-r1.sh4## Usage:COMMENT
LOWwww-client/firefox-bin/files/firefox-bin-r1.sh4## Usage:COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWmedia-plugins/vdr-skinsoppalusikka/files/rc-addon.sh6# Check if dxr3 plugin in /etc/conf.d/vdr Plugins=""COMMENT
LOWx11-misc/virtualgl/files/vgl-helper.sh9 # Check if XAUTHORITY was set successfully, if not wait up toCOMMENT
LOWeclass/tests/version-funcs.sh257# Check if the relation <v1> <op> <v2> is true. If <v1> is not specified,COMMENT
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsci-chemistry/mdtraj/files/mdtraj-1.10.3-tests.py33-def test_compare_rdf_t_master(get_fn):CODE
LOWsci-chemistry/mdtraj/files/mdtraj-1.10.3-tests.py47+#def test_compare_rdf_t_master(get_fn):CODE
LOWsci-chemistry/mdtraj/files/mdtraj-1.10.3-tests.py62 def test_compare_n_concurrent_pairs(get_fn):CODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsys-power/acpid/files/acpid-1.0.6-default.sh40 # multicore systems, make sure you set powersave modeCOMMENT
LOWsys-power/acpid/files/acpid-1.0.6-default.sh48 # multicore systems, make sure you set performance modeCOMMENT
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…openafs/files/systemd/openafs-client-systemd-helper.sh17 # just return success, to let the unit activate, so stopping theCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdev-python/grep-ast/files/tsl.py40__all__ = [get_parser, get_language, USING_TSL_PACK]CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwww-client/chromium/files/bin-finder.py131CODE