AI Slop Code Risk Monitor

pbatard/rufus

SlopCodeMonitor badge for pbatard/rufus Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The Reliable USB Formatting Utility

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for pbatard/rufus, a C project with 38,181 GitHub stars. SynthScan examined 205,999 lines of code across 519 source files, recording 433 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.1 (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.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
38.2K
Stars
C
Language
206.0K
Lines of Code
519
Files
433
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 10.0/100 · LOW

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

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

PR Review Velocity Impact 10.3/100 · LOW

Which changes need focused human review? 433 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 1MEDIUM 4LOW 428

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 433 distinct pattern matches across 5 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 Block426 hits · 412 pts
SeverityFileLineSnippetContext
LOW_pre-commit.sh1#!/bin/shCOMMENT
LOWres/setup/resource.h1//{{NO_DEPENDENCIES}}COMMENT
LOWsrc/xml.c21 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THECOMMENT
LOWsrc/localization.h21#include <stddef.h>COMMENT
LOWsrc/rufus.c21#include <stdlib.h>COMMENT
LOWsrc/rufus.c41COMMENT
LOWsrc/rufus.c3381 };COMMENT
LOWsrc/process.c21 * You should have received a copy of the GNU General Public LicenseCOMMENT
LOWsrc/ui.h21#include <stdint.h>COMMENT
LOWsrc/ui.h61 UPT_ETA,COMMENT
LOWsrc/settings.h21#include "rufus.h"COMMENT
LOWsrc/settings.h41#define SETTING_DISABLE_VHDS "DisableVHDs"COMMENT
LOWsrc/format_fat32.c21#ifdef _CRTDBG_MAP_ALLOCCOMMENT
LOWsrc/format_fat32.c361 // Sector 0 Boot SectorCOMMENT
LOWsrc/format.c21#include <crtdbg.h>COMMENT
LOWsrc/format.c41#include "resource.h"COMMENT
LOWsrc/vhd.c21// because we must apply a delay-loading workaround, and that workaroundCOMMENT
LOWsrc/format_ext.c21#include <stdlib.h>COMMENT
LOWsrc/stdio.c21#include <stdlib.h>COMMENT
LOWsrc/stdio.c761 return res;COMMENT
LOWsrc/smart.h21 * along with this program. If not, see <http://www.gnu.org/licenses/>.COMMENT
LOWsrc/smart.h41#define USB_JMICRON_ATA_PASSTHROUGH 0xdfCOMMENT
LOWsrc/smart.h61COMMENT
LOWsrc/drive.h21#include <stdint.h>COMMENT
LOWsrc/drive.h41#define PI_MAIN 0COMMENT
LOWsrc/drive.h281 HRESULT (STDMETHODCALLTYPE *Wait)(__RPC__in IVdsAsync *This, __RPC__out HRESULT *pHrResult, __RPC__out VDS_ASYNC_OUTPUTCOMMENT
LOWsrc/drive.h301#define IVdsPack_Release(This) (This)->lpVtbl->Release(This)COMMENT
LOWsrc/dos.c21/* Memory leaks detection - define _CRTDBG_MAP_ALLOC as preprocessor macro */COMMENT
LOWsrc/dos.c41static DWORD DiskImageSize;COMMENT
LOWsrc/hash.c61COMMENT
LOWsrc/hash.c81COMMENT
LOWsrc/dev.h21#include <cfgmgr32.h>COMMENT
LOWsrc/msapi_utf8.h21 * You should have received a copy of the GNU Lesser General PublicCOMMENT
LOWsrc/msapi_utf8.h41#include <sys/types.h>COMMENT
LOWsrc/msapi_utf8.h61 WideCharToMultiByte(CP_UTF8, 0, wsrc, -1, NULL, 0, NULL, NULL)COMMENT
LOWsrc/dos_locale.c21#ifdef _CRTDBG_MAP_ALLOCCOMMENT
LOWsrc/missing.h21#include <intrin.h>COMMENT
LOWsrc/missing.h41COMMENT
LOWsrc/missing.h61#pragma intrinsic(_byteswap_ushort)COMMENT
LOWsrc/missing.h161 return r;COMMENT
LOWsrc/missing.h181#define INTERNET_OPTION_HTTP_DECODING 65COMMENT
LOWsrc/missing.h201#define IMAGE_FILE_MACHINE_LOONGARCH32 0x6232COMMENT
LOWsrc/ntdll.h21 * You should have received a copy of the GNU General Public LicenseCOMMENT
LOWsrc/ntdll.h41#define STATUS_ACCESS_DENIED ((NTSTATUS)0xC0000022L)COMMENT
LOWsrc/ntdll.h241} RTL_HEAP_PARAMETERS, *PRTL_HEAP_PARAMETERS;COMMENT
LOWsrc/ntdll.h261// PrivilegesCOMMENT
LOWsrc/ntdll.h281#define SE_SHUTDOWN_PRIVILEGE (19L)COMMENT
LOWsrc/localization.c21#ifdef _CRTDBG_MAP_ALLOCCOMMENT
LOWsrc/rufus.h21#include <inttypes.h>COMMENT
LOWsrc/rufus.h41COMMENT
LOWsrc/rufus.h61#define LEFT_TO_RIGHT_MARK "\u200e"COMMENT
LOWsrc/rufus.h81#define MAX_LOG_SIZE 0x7FFFFFFECOMMENT
LOWsrc/rufus.h101#define SEARCH_PROCESS_TIMEOUT 5000 // How long we should wait to get the conflicting process data (in ms)COMMENT
LOWsrc/rufus.h121#define RSA_SIGNATURE_SIZE 256COMMENT
LOWsrc/rufus.h141#define OSCDIMG_HASH "2000160b2c5044691b2f9a0ac308e5207f273d4880a572457af16d05886ba861"COMMENT
LOWsrc/rufus.h161#define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))COMMENT
LOWsrc/rufus.h181}COMMENT
LOWsrc/rufus.h201#define static_sprintf(dst, ...) safe_sprintf(dst, sizeof(dst), __VA_ARGS__)COMMENT
LOWsrc/rufus.h221extern void uprintfs(const char *str);COMMENT
LOWsrc/rufus.h361#define NB_OLD_C32 2COMMENT
366 more matches not shown…
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMres/scripts/loadcfg.py17# Create a temp file as our sourceCOMMENT
MEDIUMsrc/localization_data.sh9# Create the first sed command fileCOMMENT
MEDIUMsrc/localization_data.sh68# Create the second sed command fileCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/bled/bled_size.c4 * Mostly generated by AI - No copyright assigned.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/xml.c1076#ifdef EZXML_TEST // test harnessCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/ui.c317 // Don't forget to add the dialog border width, since we resize the whole dialogCOMMENT
LOWsrc/ui.c515 // Don't forget to scroll the edit to the bottom after resizeCOMMENT