Package scripts for MinGW-w64 targets to build under MSYS2.
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 85 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 37 finding(s).
Which changes need focused human review? 118 finding(s).
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.
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.
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.
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.
| 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/msmpifec.c | 1 | // mpif.c – minimal gfortran-compatible Fortran bindings for MS-MPI | 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 |
| 15 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 |
|---|---|---|---|---|
| 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 |