Package scripts for MinGW-w64 targets to build under MSYS2.
This report presents the forensic synthetic code analysis of msys2/MINGW-packages, a Shell project with 2,718 GitHub stars. SynthScan v2.0 examined 32,754 lines of code across 151 source files, recording 147 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 6.5 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 147 distinct pattern matches across 9 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 |
|---|---|---|---|---|
| LOW | mingw-w64-gnucobol/cobenv.sh | 1 | #!/bin/sh | COMMENT |
| LOW | mingw-w64-p11-kit/pathtools.c | 21 | #endif | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 81 | #define _Success_( x ) | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 101 | #ifndef _In_z_ | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 121 | #endif | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 141 | #define _Out_writes_bytes_opt_( x ) | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 161 | #ifndef _Post_satisfies_ | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 201 | #define MPI_ERR_GROUP 8 /* Invalid group */ | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 221 | #define MPI_ERR_INFO 28 /* Invalid info argument */ | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 281 | typedef int MPI_Datatype; | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 301 | #define MPI_LB ((MPI_Datatype)0x4c000010) | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 321 | #define MPI_2INTEGER ((MPI_Datatype)0x4c000820) | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 341 | #define MPI_INTEGER16 MPI_DATATYPE_NULL | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 3501 | COMMENT | |
| LOW | mingw-w64-msmpi/mpi.h | 6841 | #define PMPI_Comm_c2f(comm) (MPI_Fint)(comm) | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 6861 | #define MPI_Request_f2c(request) (MPI_Request)(request) | COMMENT |
| LOW | mingw-w64-msmpi/mpi.h | 6881 | COMMENT | |
| LOW | mingw-w64-msmpi/hello_mpi.cpp | 1 | # include <cstdlib> | COMMENT |
| LOW | mingw-w64-msmpi/hello_mpi.cpp | 21 | // | COMMENT |
| LOW | mingw-w64-msmpi/hello_mpi.cpp | 41 | // | COMMENT |
| LOW | mingw-w64-msmpi/hello_mpi.cpp | 121 | } | COMMENT |
| LOW | mingw-w64-msmpi/hello_mpi.cpp | 141 | // | COMMENT |
| LOW | mingw-w64-msmpi/mpi.c | 1 | #include <stdio.h> | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 21 | #ifndef NOWTMESSAGES | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 61 | typedef DWORD WTPKT; /* packet mask */ | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 141 | COMMENT | |
| LOW | mingw-w64-wintab-sdk/wintab.h | 161 | #define SBN_MDBLCLICK 0x08 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 181 | COMMENT | |
| LOW | mingw-w64-wintab-sdk/wintab.h | 201 | COMMENT | |
| LOW | mingw-w64-wintab-sdk/wintab.h | 221 | #define WTI_STATUS 2 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 241 | #define CTX_OPTIONS 2 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 261 | #define CTX_OUTEXTX 22 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 281 | #define DVC_NAME 1 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 301 | COMMENT | |
| LOW | mingw-w64-wintab-sdk/wintab.h | 321 | #define CSR_PHYSID 15 /* 1.1 */ | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 481 | #define CXO_MESSAGES 0x0004 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 521 | // grandfather in obsolete member names. | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 541 | COMMENT | |
| LOW | mingw-w64-wintab-sdk/wintab.h | 641 | #define TABLET_PROPERTY_OVERRIDE_NAME 6 // UTF-8: Displayable name when control is overridden | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 681 | #ifndef NOWTFUNCTIONS | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 701 | #ifdef WIN32 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 741 | #define ORD_WTGetW 1061 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 761 | #else | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 821 | #define ORD_WTMgrDeviceConfig 140 | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 861 | #endif | COMMENT |
| LOW | mingw-w64-wintab-sdk/wintab.h | 881 | #endif | COMMENT |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 61 | COMMENT | |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 121 | WTOpen(hWnd, &lc, TRUE); | COMMENT |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 141 | #endif | COMMENT |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 161 | #if (__DATA & PK_STATUS) | COMMENT |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 181 | #endif | COMMENT |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 201 | #else | COMMENT |
| LOW | mingw-w64-wintab-sdk/pktdef.h | 241 | COMMENT | |
| LOW | mingw-w64-curl/pathtools.c | 21 | #endif | COMMENT |
| LOW | mingw-w64-libressl/pathtools.c | 21 | #endif | COMMENT |
| LOW | mingw-w64-openssl/pathtools.c | 21 | #endif | COMMENT |
| LOW | mingw-w64-connect/pathtools.c | 21 | #endif | COMMENT |
| LOW | mingw-w64-libserdes/queue.h | 121 | #define QMD_TRACE_ELEM(elem) | COMMENT |
| LOW | mingw-w64-port-scanner/pathtools.c | 21 | #endif | COMMENT |
| LOW | mingw-w64-cyrus-sasl/pathtools.c | 21 | #endif | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 76 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 78 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 118 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 120 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 514 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 516 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 610 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 612 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1028 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1030 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1042 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1044 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1129 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1131 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1153 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1155 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1226 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1228 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1252 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1254 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1277 | #============================================================================ | COMMENT |
| MEDIUM | mingw-w64-crypto++/CMakeLists.txt | 1279 | #============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mingw-w64-perl-inc-latest/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-win32-tieregistry/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-encode-locale/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-clone/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-math-int64/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-encode-compat/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-exporter-tiny/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-file-sharedir-install/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-io-html/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-win32-console/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-digest-sha/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-http-message/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-capture-tiny/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-win32-shortcut/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-file-which/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-lwp-mediatypes/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-timedate/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-html-parser/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-devel-cover/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-uri/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-http-date/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-win32api-registry/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-win32-winerror/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-win32-api/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-mime-base32/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-file-sharedir/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-class-inspector/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-html-tagset/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-io-string/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-mozilla-ca/patchmakefile.py | 3 | CODE | |
| LOW | mingw-w64-perl-try-tiny/patchmakefile.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | mingw-w64-itstool/pyscript2exe.py | 0 | creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.py | STRING |
| HIGH | mingw-w64-nicotine+/pyscript2exe.py | 0 | creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.py | STRING |
| HIGH | mingw-w64-glib2/pyscript2exe.py | 0 | creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.py | STRING |
| HIGH | mingw-w64-meld3/pyscript2exe.py | 0 | creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.py | STRING |
| HIGH | mingw-w64-gtk-doc/pyscript2exe.py | 0 | creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.py | STRING |
| HIGH | mingw-w64-gobject-introspection/pyscript2exe.py | 0 | creates an exe launcher for python scripts for the executing interpreter. foobar.py -> foobar.exe + foobar-script.py | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mingw-w64-PKGBUILD-common/replace-symlinks.py | 36 | print(f"Error: Can't copy a file into itself {src}=={dest}") | CODE |
| LOW | mingw-w64-PKGBUILD-common/replace-symlinks.py | 53 | except Exception as e: | CODE |
| MEDIUM | mingw-w64-PKGBUILD-common/replace-symlinks.py | 54 | print(f"Error: Failed to copy file:\n{src} to\n{dest}", exc_info=e) | CODE |
| LOW | mingw-w64-PKGBUILD-common/replace-symlinks.py | 99 | except Exception as e: | CODE |
| MEDIUM | mingw-w64-PKGBUILD-common/replace-symlinks.py | 100 | print(f"Error: Failed to copy dir:\n{srcdir} to\n{destdir}", exc_info=e) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ci/ci-check.py | 251 | CODE | |
| LOW | .ci/ci-check.py | 287 | CODE | |
| LOW | mingw-w64-PKGBUILD-common/replace-symlinks.py | 59 | CODE | |
| LOW | mingw-w64-PKGBUILD-common/replace-symlinks.py | 105 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | mingw-w64-gnucobol/cobenv.sh | 10 | # This file is part of GnuCOBOL. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ci/ci-check.py | 221 | def check_strip_disabled_for_pkg(pkg_name: str) -> bool: | STRING |
| LOW | .ci/ci-check.py | 238 | def check_whether_using_python_installer(pkg_name: str) -> bool: | STRING |
| LOW | .ci/ci-check.py | 246 | def check_whether_files_in_bin_folder(pkg_name: str) -> bool: | STRING |
| LOW | .ci/ci-check.py | 287 | def check_whether_we_should_run() -> bool: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mingw-w64-emscripten/get-compatible-versions.sh | 5 | # How to use: | COMMENT |