The Void source packages collection
This report presents the forensic synthetic code analysis of void-linux/void-packages, a Shell project with 3,331 GitHub stars. SynthScan v2.0 examined 28,792 lines of code across 395 source files, recording 78 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 3.7 places this repository in the Likely human-written 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 78 distinct pattern matches across 10 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 | srcpkgs/firefox/files/stab.h | 41 | * the N_STAB mask set. | COMMENT |
| LOW | srcpkgs/firefox/files/stab.h | 61 | #define N_EINCL 0xa2 /* include file end */ | COMMENT |
| LOW | srcpkgs/gmime/files/iconv-detect.h | 1 | /* This is an auto-generated header, DO NOT EDIT! */ | COMMENT |
| LOW | srcpkgs/gmime/files/musl-iconv-detect.h | 1 | /* This is an auto-generated header, DO NOT EDIT! */ | COMMENT |
| LOW | srcpkgs/trn/files/Policy.sh | 1 | #!/bin/sh | COMMENT |
| LOW | srcpkgs/trn/files/Policy.sh | 21 | COMMENT | |
| LOW | srcpkgs/trn/files/Policy.sh | 81 | # multistate region distribution name | COMMENT |
| LOW | srcpkgs/trn/files/Policy.sh | 101 | newslib='/tmp' | COMMENT |
| LOW | srcpkgs/musl/files/getent.c | 41 | #include <stdbool.h> | COMMENT |
| LOW | srcpkgs/llvm18/files/llvm-Config-llvm-config.h | 1 | #include <bits/wordsize.h> | COMMENT |
| LOW | srcpkgs/llvm19/files/llvm-Config-llvm-config.h | 1 | #include <bits/wordsize.h> | COMMENT |
| LOW | srcpkgs/mdocml/files/cgi.h | 1 | #define SCRIPT_NAME "" | COMMENT |
| LOW | srcpkgs/llvm21/files/llvm-Config-llvm-config.h | 1 | #include <bits/wordsize.h> | COMMENT |
| LOW | srcpkgs/openbsd-netcat/files/base64.c | 41 | */ | COMMENT |
| LOW | srcpkgs/perl/files/update-perl-provides.pl | 1 | #!/usr/bin/perl | COMMENT |
| LOW | srcpkgs/signify/files/void.h | 1 | #ifndef __GLIBC__ | COMMENT |
| LOW | srcpkgs/qt5-webengine/files/sndio-files/sndio_input.h | 1 | // Copyright 2013 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | srcpkgs/qt5-webengine/files/sndio-files/sndio_output.h | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | …t5-webengine/files/sndio-files/audio_manager_openbsd.h | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | srcpkgs/python3-numpy/files/fenv-constants.h | 1 | #define FE_INVALID 1 | COMMENT |
| LOW | srcpkgs/musl1.1/files/getent.c | 41 | #include <stdbool.h> | COMMENT |
| LOW | srcpkgs/firefox-esr/files/stab.h | 41 | * the N_STAB mask set. | COMMENT |
| LOW | srcpkgs/firefox-esr/files/stab.h | 61 | #define N_EINCL 0xa2 /* include file end */ | COMMENT |
| LOW | srcpkgs/musl-legacy-compat/files/cdefs.h | 1 | #ifndef _SYS_CDEFS_H_ | COMMENT |
| LOW | srcpkgs/musl-legacy-compat/files/cdefs.h | 21 | #endif | COMMENT |
| LOW | srcpkgs/llvm22/files/llvm-Config-llvm-config.h | 1 | #include <bits/wordsize.h> | COMMENT |
| LOW | srcpkgs/fdm/files/base64.c | 41 | */ | COMMENT |
| LOW | srcpkgs/ifenslave/files/ifenslave.c | 141 | "\n" | COMMENT |
| LOW | srcpkgs/rpi-firmware/files/config.txt | 1 | # uncomment if you get no picture on HDMI for a default "safe" mode | COMMENT |
| LOW | srcpkgs/rpi-firmware/files/config.txt | 21 | #hdmi_force_hotplug=1 | COMMENT |
| LOW | srcpkgs/rpi-firmware/files/config.txt | 41 | # for more options see http://elinux.org/RPi_config.txt | COMMENT |
| LOW | srcpkgs/rpi-firmware/files/config.txt | 61 | #over_voltage=2 | COMMENT |
| LOW | srcpkgs/thunderbird/files/stab.h | 41 | * the N_STAB mask set. | COMMENT |
| LOW | srcpkgs/thunderbird/files/stab.h | 61 | #define N_EINCL 0xa2 /* include file end */ | COMMENT |
| LOW | srcpkgs/freepats/files/timidity-freepats.cfg | 1 | ## Load the patchset from freepats | COMMENT |
| LOW | srcpkgs/freepats/files/timidity-freepats.cfg | 21 | #opt s32kHz | COMMENT |
| LOW | common/chroot-style/ethereal.sh | 1 | #!/bin/sh | COMMENT |
| LOW | common/xbps-src/shutils/build_dependencies.sh | 41 | fi | COMMENT |
| LOW | common/build-style/void-cross.sh | 1 | # | COMMENT |
| LOW | common/build-style/perl-module.sh | 1 | # | COMMENT |
| LOW | common/build-style/perl-ModuleBuild.sh | 1 | # | COMMENT |
| LOW | common/build-style/slashpackage.sh | 1 | # | COMMENT |
| LOW | common/build-style/sip-build.sh | 81 | HostLibraries=/usr/lib | COMMENT |
| LOW | common/build-helper/gir.sh | 1 | # | COMMENT |
| LOW | …/hooks/post-install/04-create-xbps-metadata-scripts.sh | 21 | install) ;; | COMMENT |
| LOW | …/hooks/post-install/04-create-xbps-metadata-scripts.sh | 241 | _add_trigger gtk-immodules | COMMENT |
| LOW | common/hooks/post-install/80-prepare-32bit.sh | 1 | # This hook creates a new PKGDESTDIR with 32bit files for x86_64. | COMMENT |
| LOW | common/environment/fetch/fetch_cmd.sh | 1 | # | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | srcpkgs/nix/files/nix.sh | 27 | # Create the per-user garbage collector roots directory. | COMMENT |
| MEDIUM | srcpkgs/perl/files/update-perl-provides.pl | 47 | ## Create a path like $path/lib/Foo/Bar.pm for Foo::Bar. | COMMENT |
| MEDIUM | srcpkgs/perl/files/update-perl-provides.pl | 55 | ## Create a path to a file in the containing directory, named after | COMMENT |
| MEDIUM | common/xbps-src/shutils/cross.sh | 76 | # Create a sysroot/include and sysroot/lib symlink just in case. | COMMENT |
| MEDIUM | common/build-style/gemspec.sh | 68 | # Create a backup which we will restore later | COMMENT |
| MEDIUM | common/hooks/do-pkg/00-gen-pkg.sh | 66 | # Create the XBPS binary package. | COMMENT |
| MEDIUM | …/hooks/post-install/04-create-xbps-metadata-scripts.sh | 55 | # The following code will run the triggers. | COMMENT |
| MEDIUM | common/hooks/do-fetch/00-distfiles.sh | 218 | # Create a map from target file to index in _distfiles/_checksums | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | common/xbps-src/shutils/common.sh | 487 | # Check if required vars weren't set. | COMMENT |
| LOW⚡ | common/xbps-src/shutils/common.sh | 496 | # Check if version is valid. | COMMENT |
| LOW⚡ | common/xbps-src/shutils/common.sh | 506 | # Check if base-chroot is already installed. | COMMENT |
| LOW⚡ | common/xbps-src/shutils/cross.sh | 42 | # Check if the cross pkg is installed in host. | COMMENT |
| LOW⚡ | common/xbps-src/shutils/cross.sh | 46 | # Check if the cross compiler pkg is available in repos, otherwise build it. | COMMENT |
| LOW⚡ | common/xbps-src/shutils/cross.sh | 53 | # Check if cross-vpkg-dummy is installed. | COMMENT |
| LOW | common/xbps-src/shutils/cross.sh | 90 | # Check if installed. | COMMENT |
| LOW | common/xbps-src/shutils/cross.sh | 94 | # Check if the cross compiler pkg is available in repos, otherwise build it. | COMMENT |
| LOW | common/xbps-src/shutils/bulk.sh | 17 | # Iterate over the list and make sure that only real pkgs are | COMMENT |
| LOW | common/build-style/go.sh | 40 | # Check if go_import_path matches module | COMMENT |
| LOW | common/build-helper/gir.sh | 8 | # Check if the 'gir' build_option is set or if there is no | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/chroot-style/ethereal.sh | 53 | # to the base location then just return 0 | COMMENT |
| LOW | common/environment/build-style/go.sh | 15 | # target compiler to use; otherwise it'll just call gccgo | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | common/build-style/python3-module.sh | 19 | # Fall back to deprecated setup.py test orchestration without pytest | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | srcpkgs/backblaze-b2/files/test_b2_command_line.py | 103 | except Exception as e: | STRING |
| MEDIUM | srcpkgs/backblaze-b2/files/test_b2_command_line.py | 100 | def read_from(self, f): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | srcpkgs/backblaze-b2/files/test_b2_command_line.py | 12 | CODE | |
| LOW | common/scripts/xbps-cycles.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/scripts/xbps-cycles.py | 14 | CODE | |
| LOW | common/scripts/parse-py-metadata.py | 113 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | srcpkgs/perl/files/update-perl-provides.pl | 15 | ## Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | srcpkgs/backblaze-b2/files/test_b2_command_line.py | 108 | def remove_insecure_platform_warnings(text): | STRING |