AI Slop Code RIsk Monitor

ptitSeb/box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64, RV64 and LoongArch Linux devices

4.5 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ptitSeb/box64, a C project with 5,661 GitHub stars. SynthScan examined 567,962 lines of code across 1413 source files, recording 2853 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 4.5 (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.

4.5
Adjusted Signal
4.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.7K
Stars
C
Language
568.0K
Lines of Code
1.4K
Files
2.9K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 19.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 2829 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 7 finding(s).

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 22.4/100 · LOW

Which changes need focused human review? 2853 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 0LOW 2847

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 2853 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 Block2799 hits · 2464 pts
SeverityFileLineSnippetContext
LOWrebuild_wrappers.py821 # "defined() && ..." -> [vFEv -> vFv, ...]COMMENT
LOWrebuild_wrappers.py1001 // the generic wrapper pointer functionsCOMMENT
LOWrebuild_wrappers.py1021 // A = va_listCOMMENT
LOWrebuild_wrappers.py1041 #ifndef __{filename}DEFS_H_COMMENT
LOWrebuild_wrappers_32.py1221 # Files header and guardCOMMENT
LOWrebuild_wrappers_32.py1321 COMMENT
LOWrebuild_wrappers_32.py1341 // V = vaargs, s = address on the stack (doesn't move forward the pointer)COMMENT
LOWrebuild_wrappers_32.py1361 #define __CONVERTER32_H_COMMENT
LOWrebuild_wrappers_32.py1481 if (len(args[0]) == 2) and (args[0][0].name == 'E') and (args[0][1].name == 'v'): args = ([args[0][0]], args[1][0])COMMENT
LOWCMakeLists.txt221 add_definitions(-DSD8G2)COMMENT
LOWtests32/test28.c21COMMENT
LOWtests32/test26.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests32/test17.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests32/test25.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests32/benchfloat.c21** To compile: cc -O -o linpack linpack.c -lmCOMMENT
LOWtests32/roundtest.h21#define FE_TONEAREST 0COMMENT
LOWtests/test21_alt.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests/test28.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests/test17.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests/benchfloat.c21** To compile: cc -O -o linpack linpack.c -lmCOMMENT
LOWtests/roundtest.h21#define FE_TONEAREST 0COMMENT
LOWtests/test34.c21COMMENT
LOWtests/test30.c1// SPDX-License-Identifier: MITCOMMENT
LOWtests/test27.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/box64ec/box64ec_runtime.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/box64ec/box64ec_thread.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/box64ec/box64ec_init.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/box64ec/box64ec_dispatch.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/box64ec/box64ec_transition.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/box64ec/box64ec_syscalls.c1// SPDX-License-Identifier: MITCOMMENT
LOWwine/include/wine/debug.h1// SPDX-License-Identifier: MITCOMMENT
LOWwine/wow64/wowbox64.c1/*COMMENT
LOWwine/wow64/wowbox64.c61#define ROUND_SIZE(addr, size) (((SIZE_T)(size) + ((UINT_PTR)(addr) & page_mask) + page_mask) & ~page_mask)COMMENT
LOWsystem/kde/box64_profile_propertiesplugin.cpp1// SPDX-License-Identifier: MITCOMMENT
LOWwrapperhelper/example-libc.h1// SPDX-License-Identifier: MITCOMMENT
LOWwrapperhelper/example-libc.h21#include <event.h>COMMENT
LOWwrapperhelper/example-libc.h41#include <locale.h>COMMENT
LOWwrapperhelper/example-libc.h61#include <rpc/rpc.h>COMMENT
LOWwrapperhelper/example-libc.h81#include <sys/mman.h>COMMENT
LOWwrapperhelper/example-libc.h101#include <sys/swap.h>COMMENT
LOWwrapperhelper/example-libc.h121#include <ucontext.h>COMMENT
LOWwrapperhelper/include-override/common/stdc-predef.h1// Ignore all attributesCOMMENT
LOWwrapperhelper/include-override/common/stdint.h81# define __INT64_C(c) c ## LLCOMMENT
LOWwrapperhelper/include-override/common/stdint.h101# define UINT32_MAX (4294967295U)COMMENT
LOWwrapperhelper/include-override/common/stdint.h121COMMENT
LOWwrapperhelper/include-override/common/stdint.h161# define SIG_ATOMIC_MIN (-__SIG_ATOMIC_MAX__-1)COMMENT
LOWwrapperhelper/include-override/common/stdint.h181# define INT32_C(c) __INT32_C(c)COMMENT
LOWwrapperhelper/include-override/common/stdint.h201# define UINT32_WIDTH 32COMMENT
LOWwrapperhelper/include-override/common/stdint.h221# define UINT_FAST64_WIDTH 64COMMENT
LOWwrapperhelper/include-override/common/bits/types.h81 we used `long' when it's 64 bits where `long long' is expected, then theCOMMENT
LOWwrapperhelper/include-override/common/bits/floatn.h61# elseCOMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h1// C standardCOMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h21#define linux 1COMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h41//#define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1COMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h61#define __REGISTER_PREFIX__COMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h81#define __ATOMIC_ACQ_REL 4COMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h101#define __SIZEOF_LONG_DOUBLE__ 12COMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h121//#define __INT_FAST8_TYPE__ signed charCOMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h141#define __INT_LEAST64_MAX__ 0x7fffffffffffffffLLCOMMENT
LOWwrapperhelper/include-override/x86/stdc-predef.h161#define __SCHAR_WIDTH__ 8COMMENT
2739 more matches not shown…
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHrebuild_wrappers.py803except IOError:CODE
HIGHrebuild_wrappers.py620except IndexError:CODE
HIGHrebuild_wrappers_32.py1113except IOError:CODE
HIGHrebuild_wrappers_32.py991except IndexError:CODE
Deep Nesting17 hits · 17 pts
SeverityFileLineSnippetContext
LOWrebuild_wrappers.py355CODE
LOWrebuild_wrappers.py638CODE
LOWrebuild_wrappers.py809CODE
LOWrebuild_wrappers.py884CODE
LOWrebuild_wrappers.py382CODE
LOWrebuild_wrappers.py1459CODE
LOWrebuild_wrappers.py1503CODE
LOWrebuild_wrappers_32.py811CODE
LOWrebuild_wrappers_32.py1078CODE
LOWrebuild_wrappers_32.py1119CODE
LOWrebuild_wrappers_32.py349CODE
LOWrebuild_wrappers_32.py472CODE
LOWrebuild_wrappers_32.py501CODE
LOWrebuild_wrappers_32.py539CODE
LOWrebuild_wrappers_32.py832CODE
LOWdocs/gen/gen.py142CODE
LOWconfigurator/configurator.py209CODE
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWwine/override_wine_builtin.py4CODE
LOWconfigurator/box64rc.py2CODE
LOWconfigurator/model.py2CODE
LOWconfigurator/configurator.py3CODE
LOWconfigurator/usage.py2CODE
LOWconfigurator/build_standalone.py3CODE
Hyper-Verbose Identifiers8 hits · 6 pts
SeverityFileLineSnippetContext
LOWconfigurator/model.py348 def _apply_matching_wildcards(self, states: Dict[str, ValueState], entry: EntryRecord) -> None:CODE
LOWconfigurator/configurator.py209def detect_supported_executable(path: Path) -> Optional[str]:STRING
LOW⚡configurator/configurator.py663 def _on_entry_list_button_press(self, _listbox: Gtk.ListBox, event) -> bool:STRING
LOWconfigurator/configurator.py1000 def _remove_selected_option_editor(self) -> None:STRING
LOWconfigurator/configurator.py1010 def _insert_option_editor_after(STRING
LOWconfigurator/configurator.py1074 def _on_editor_choice_changed(STRING
LOWconfigurator/usage.py95def load_default_usage_catalog() -> UsageCatalog:CODE
LOWconfigurator/usage.py111def load_usage_catalog_from_data(CODE
Excessive Try-Catch Wrapping9 hits · 6 pts
SeverityFileLineSnippetContext
LOWrebuild_wrappers_32.py994 except Exception as e:CODE
LOWconfigurator/configurator.py631 except Exception as error:STRING
LOW⚡configurator/configurator.py647 except Exception as error:STRING
LOW⚡configurator/configurator.py653 except Exception as error:STRING
LOWconfigurator/configurator.py1030 except Exception as error:STRING
LOWconfigurator/configurator.py1044 except Exception as error:STRING
LOWconfigurator/configurator.py1174 except Exception as error:STRING
LOWconfigurator/configurator.py1186 except Exception as error:STRING
LOWconfigurator/configurator.py1224 except Exception as error:STRING
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md8Code that is initially generated by AI and subsequently edited will still be considered AI-generated. AI assistance is pCODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWrebuild_wrappers.py773 # Check if there was any new functions compared to last runCOMMENT
LOWrebuild_wrappers_32.py1079 # Check if there was any new functions compared to last runCOMMENT
LOWrebuild_wrappers_32.py1637 # Check if there was any new functionsSTRING
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHconfigurator/configurator.py1267 self.status.push(self.status_context, text)STRING
Modern Structural Boilerplate4 hits · 2 pts
SeverityFileLineSnippetContext
LOWconfigurator/configurator.py173def set_style(widget: Gtk.Widget, css_class: str, active: bool) -> None:STRING
LOWconfigurator/configurator.py298def set_profile_from_menu(store: ConfigStore, executable: Path, profile: str) -> None:STRING
LOWconfigurator/configurator.py446 def set_selected(self, selected: bool) -> None:STRING
LOWconfigurator/configurator.py1262 def _update_actions(self) -> None:STRING
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/emu/x64syscall.c380 // TODO: implement fallback if __NR_statx is not definedCOMMENT