AI Slop Code RIsk Monitor

msys2/MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.

5.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for msys2/MINGW-packages, a Shell project with 2,749 GitHub stars. SynthScan examined 33,247 lines of code across 124 source files, recording 118 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 5.5 (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.

5.5
Adjusted Signal
5.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
2.7K
Stars
Shell
Language
33.2K
Lines of Code
124
Files
118
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 11.8/100 · LOW

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

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

PR Review Velocity Impact 26.0/100 · MEDIUM

Which changes need focused human review? 118 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 6MEDIUM 26LOW 86

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 118 distinct pattern matches across 8 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 Block75 hits · 73 pts
SeverityFileLineSnippetContext
LOWmingw-w64-gnucobol/cobenv.sh1#!/bin/shCOMMENT
LOWmingw-w64-p11-kit/pathtools.c21#endifCOMMENT
LOWmingw-w64-msmpi/mpi.h81#define _Success_( x )COMMENT
LOWmingw-w64-msmpi/mpi.h101#ifndef _In_z_COMMENT
LOWmingw-w64-msmpi/mpi.h121#endifCOMMENT
LOWmingw-w64-msmpi/mpi.h141#define _Out_writes_bytes_opt_( x )COMMENT
LOWmingw-w64-msmpi/mpi.h161#ifndef _Post_satisfies_COMMENT
LOWmingw-w64-msmpi/mpi.h201#define MPI_ERR_GROUP 8 /* Invalid group */COMMENT
LOWmingw-w64-msmpi/mpi.h221#define MPI_ERR_INFO 28 /* Invalid info argument */COMMENT
LOWmingw-w64-msmpi/mpi.h281typedef int MPI_Datatype;COMMENT
LOWmingw-w64-msmpi/mpi.h301#define MPI_LB ((MPI_Datatype)0x4c000010)COMMENT
LOWmingw-w64-msmpi/mpi.h321#define MPI_2INTEGER ((MPI_Datatype)0x4c000820)COMMENT
LOWmingw-w64-msmpi/mpi.h341#define MPI_INTEGER16 MPI_DATATYPE_NULLCOMMENT
LOWmingw-w64-msmpi/mpi.h3501COMMENT
LOWmingw-w64-msmpi/mpi.h6841#define PMPI_Comm_c2f(comm) (MPI_Fint)(comm)COMMENT
LOWmingw-w64-msmpi/mpi.h6861#define MPI_Request_f2c(request) (MPI_Request)(request)COMMENT
LOWmingw-w64-msmpi/mpi.h6881COMMENT
LOWmingw-w64-msmpi/msmpifec.c1// mpif.c – minimal gfortran-compatible Fortran bindings for MS-MPICOMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp1# include <cstdlib>COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp21//COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp41//COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp121 }COMMENT
LOWmingw-w64-msmpi/hello_mpi.cpp141//COMMENT
LOWmingw-w64-msmpi/mpi.c1#include <stdio.h>COMMENT
LOWmingw-w64-wintab-sdk/wintab.h21#ifndef NOWTMESSAGESCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h61typedef DWORD WTPKT; /* packet mask */COMMENT
LOWmingw-w64-wintab-sdk/wintab.h141COMMENT
LOWmingw-w64-wintab-sdk/wintab.h161#define SBN_MDBLCLICK 0x08COMMENT
LOWmingw-w64-wintab-sdk/wintab.h181COMMENT
LOWmingw-w64-wintab-sdk/wintab.h201COMMENT
LOWmingw-w64-wintab-sdk/wintab.h221#define WTI_STATUS 2COMMENT
LOWmingw-w64-wintab-sdk/wintab.h241 #define CTX_OPTIONS 2COMMENT
LOWmingw-w64-wintab-sdk/wintab.h261 #define CTX_OUTEXTX 22COMMENT
LOWmingw-w64-wintab-sdk/wintab.h281 #define DVC_NAME 1COMMENT
LOWmingw-w64-wintab-sdk/wintab.h301COMMENT
LOWmingw-w64-wintab-sdk/wintab.h321 #define CSR_PHYSID 15 /* 1.1 */COMMENT
LOWmingw-w64-wintab-sdk/wintab.h481 #define CXO_MESSAGES 0x0004COMMENT
LOWmingw-w64-wintab-sdk/wintab.h521// grandfather in obsolete member names.COMMENT
LOWmingw-w64-wintab-sdk/wintab.h541COMMENT
LOWmingw-w64-wintab-sdk/wintab.h641#define TABLET_PROPERTY_OVERRIDE_NAME 6 // UTF-8: Displayable name when control is overriddenCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h681#ifndef NOWTFUNCTIONSCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h701#ifdef WIN32COMMENT
LOWmingw-w64-wintab-sdk/wintab.h741 #define ORD_WTGetW 1061COMMENT
LOWmingw-w64-wintab-sdk/wintab.h761 #elseCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h821 #define ORD_WTMgrDeviceConfig 140COMMENT
LOWmingw-w64-wintab-sdk/wintab.h861 #endifCOMMENT
LOWmingw-w64-wintab-sdk/wintab.h881 #endifCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h61COMMENT
LOWmingw-w64-wintab-sdk/pktdef.h121 WTOpen(hWnd, &lc, TRUE);COMMENT
LOWmingw-w64-wintab-sdk/pktdef.h141#endifCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h161 #if (__DATA & PK_STATUS)COMMENT
LOWmingw-w64-wintab-sdk/pktdef.h181 #endifCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h201 #elseCOMMENT
LOWmingw-w64-wintab-sdk/pktdef.h241COMMENT
LOWmingw-w64-curl/pathtools.c21#endifCOMMENT
LOWmingw-w64-libressl/pathtools.c21#endifCOMMENT
LOWmingw-w64-openssl/pathtools.c21#endifCOMMENT
LOWmingw-w64-connect/pathtools.c21#endifCOMMENT
LOWmingw-w64-libserdes/queue.h121#define QMD_TRACE_ELEM(elem)COMMENT
LOWmingw-w64-port-scanner/pathtools.c21#endifCOMMENT
15 more matches not shown…
Decorative Section Separators22 hits · 63 pts
SeverityFileLineSnippetContext
MEDIUMmingw-w64-crypto++/CMakeLists.txt76#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt78#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt118#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt120#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt514#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt516#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt610#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt612#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1028#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1030#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1042#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1044#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1129#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1131#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1153#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1155#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1226#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1228#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1252#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1254#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1277#============================================================================COMMENT
MEDIUMmingw-w64-crypto++/CMakeLists.txt1279#============================================================================COMMENT
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHmingw-w64-itstool/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-nicotine+/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-glib2/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-meld3/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-gtk-doc/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
HIGHmingw-w64-gobject-introspection/pyscript2exe.py0creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.pySTRING
Excessive Try-Catch Wrapping5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMmingw-w64-PKGBUILD-common/replace-symlinks.py36 print(f"Error: Can't copy a file into itself {src}=={dest}")CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py53 except Exception as e:CODE
MEDIUMmingw-w64-PKGBUILD-common/replace-symlinks.py54 print(f"Error: Failed to copy file:\n{src} to\n{dest}", exc_info=e)CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py99 except Exception as e:CODE
MEDIUMmingw-w64-PKGBUILD-common/replace-symlinks.py100 print(f"Error: Failed to copy dir:\n{srcdir} to\n{destdir}", exc_info=e)CODE
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOW.ci/ci-check.py251CODE
LOW.ci/ci-check.py287CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py59CODE
LOWmingw-w64-PKGBUILD-common/replace-symlinks.py105CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMmingw-w64-gnucobol/cobenv.sh10# This file is part of GnuCOBOL.COMMENT
Hyper-Verbose Identifiers4 hits · 2 pts
SeverityFileLineSnippetContext
LOW.ci/ci-check.py221def check_strip_disabled_for_pkg(pkg_name: str) -> bool:STRING
LOW.ci/ci-check.py238def check_whether_using_python_installer(pkg_name: str) -> bool:STRING
LOW.ci/ci-check.py246def check_whether_files_in_bin_folder(pkg_name: str) -> bool:STRING
LOW.ci/ci-check.py287def check_whether_we_should_run() -> bool:STRING
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmingw-w64-emscripten/get-compatible-versions.sh5# How to use:COMMENT