AI Slop Code Risk Monitor

hfiref0x/KDU

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

Kernel Driver Utility

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for hfiref0x/KDU, a C project with 2,789 GitHub stars. SynthScan examined 72,278 lines of code across 187 source files, recording 149 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 1.8 (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.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-09-29
Last Push
2.8K
Stars
C
Language
72.3K
Lines of Code
187
Files
149
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 8.5/100 · LOW

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

Which changes need focused human review? 149 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 0MEDIUM 1LOW 148

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 149 distinct pattern matches across 2 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 Block148 hits · 126 pts
SeverityFileLineSnippetContext
LOWREADME.md21#### UsageCOMMENT
LOWSource/Utils/PCOMP/PCOMP.cpp21#include <msdelta.h>COMMENT
LOWSource/Shared/consts.h21COMMENT
LOWSource/Shared/consts.h41#define PROCEXP1702_DESC L"Process Explorer v17"COMMENT
LOWSource/Shared/consts.h61#define CPU_VENDOR_INTEL_LENGTH sizeof(CPU_VENDOR_INTEL) - sizeof(CHAR)COMMENT
LOWSource/Shared/consts.h81// Victim providers id tableCOMMENT
LOWSource/Shared/consts.h101#define IDR_DATA_ASUSCERTSERVICE 1004COMMENT
LOWSource/Shared/consts.h121#define IDR_ENEIO64 110COMMENT
LOWSource/Shared/consts.h141#define IDR_PASSMARK_OSF 130COMMENT
LOWSource/Shared/consts.h161#define IDR_ASROCKDRV2 150COMMENT
LOWSource/Shared/consts.h181COMMENT
LOWSource/Shared/consts.h201#define KDU_PROVIDER_DBUTIL23 16COMMENT
LOWSource/Shared/consts.h221#define KDU_PROVIDER_KEXPLORE 36COMMENT
LOWSource/Shared/consts.h241#define KDU_PROVIDER_TOSHIBA 56COMMENT
LOWSource/Shared/consts.h261#define KDUPROV_FLAGS_NONE 0x00000000COMMENT
LOWSource/Shared/consts.h281COMMENT
LOWSource/Shared/consts.h301COMMENT
LOWSource/Shared/consts.h321#define KDUPROV_FLAGS_USE_SYMBOLS 0x00000800COMMENT
LOWSource/Shared/consts.h341#define KDUPROV_SC_NONE (0x000)COMMENT
LOWSource/Shared/minirtl/minirtl.h101/* =================================== */COMMENT
LOWSource/Shared/minirtl/minirtl.h121#define ultohex ultohex_wCOMMENT
LOWSource/Shared/minirtl/minirtl.h141#define _strcpyn _strcpyn_aCOMMENT
LOWSource/Shared/minirtl/minirtl.h161#define strtoi64 strtoi64_aCOMMENT
LOWSource/Shared/minirtl/_filename.h21#define _filename _filename_aCOMMENT
LOWSource/Shared/ntos/ntsup.c21COMMENT
LOWSource/Shared/ntos/ntsup.h21COMMENT
LOWSource/Shared/ntos/ntsup.h41#pragma warning(disable: 4005) //macro redefinitionCOMMENT
LOWSource/Shared/ntos/ntsup.h281 ULONGLONG ntsupHexToUInt64W(COMMENT
LOWSource/Shared/ntos/ntsup.h301#elseCOMMENT
LOWSource/Shared/ntos/ntsup.h701#ifdef __cplusplusCOMMENT
LOWSource/Shared/ntos/halamd64.h21* PARTICULAR PURPOSE.COMMENT
LOWSource/Shared/ntos/halamd64.h221 // Far jump target from Pm to Lm codeCOMMENT
LOWSource/Shared/ntos/halamd64.h261// HALAMD64_RTL HEADER ENDCOMMENT
LOWSource/Shared/ntos/ntalpc.h21#pragma onceCOMMENT
LOWSource/Shared/ntos/ntalpc.h41COMMENT
LOWSource/Shared/ntos/ntos.h41// NTOS_RTL HEADER BEGINCOMMENT
LOWSource/Shared/ntos/ntos.h61#define PAGE_SIZE 0x1000ullCOMMENT
LOWSource/Shared/ntos/ntos.h81COMMENT
LOWSource/Shared/ntos/ntos.h121typedef struct _EJOB* PESILO;COMMENT
LOWSource/Shared/ntos/ntos.h141#ifndef RTLP_IMAGE_MAX_DOS_HEADERCOMMENT
LOWSource/Shared/ntos/ntos.h161#define ALIGN_UP_TYPE(Address, Align) (((ULONG_PTR)(Address) + (Align) - 1) & ~((Align) - 1))COMMENT
LOWSource/Shared/ntos/ntos.h181#define ALIGN_DOWN_BY(Address, Align) ((ULONG_PTR)(Address) & ~((ULONG_PTR)(Align) - 1))COMMENT
LOWSource/Shared/ntos/ntos.h201#define ARGUMENT_PRESENT(ArgumentPointer) (\COMMENT
LOWSource/Shared/ntos/ntos.h241#ifndef RTL_CONSTANT_OBJECT_ATTRIBUTESCOMMENT
LOWSource/Shared/ntos/ntos.h261COMMENT
LOWSource/Shared/ntos/ntos.h281// Callback Object RightsCOMMENT
LOWSource/Shared/ntos/ntos.h301//COMMENT
LOWSource/Shared/ntos/ntos.h321// Event Object Access RightsCOMMENT
LOWSource/Shared/ntos/ntos.h341// I/O Completion Object Access RightsCOMMENT
LOWSource/Shared/ntos/ntos.h361#ifndef MUTANT_ALL_ACCESS //SDK compatibilityCOMMENT
LOWSource/Shared/ntos/ntos.h381#define PROFILE_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | PROFILE_CONTROL)COMMENT
LOWSource/Shared/ntos/ntos.h401#ifndef TIMER_QUERY_STATECOMMENT
LOWSource/Shared/ntos/ntos.h421//COMMENT
LOWSource/Shared/ntos/ntos.h461// WMI Object Access RightsCOMMENT
LOWSource/Shared/ntos/ntos.h481#ifndef MEMORY_PARTITION_QUERY_ACCESSCOMMENT
LOWSource/Shared/ntos/ntos.h501#ifndef FILE_SHARE_VALID_FLAGSCOMMENT
LOWSource/Shared/ntos/ntos.h1801COMMENT
LOWSource/Shared/ntos/ntos.h2261 ULONG CodeIntegrityOptions;COMMENT
LOWSource/Shared/ntos/ntos.h2401** File startCOMMENT
LOWSource/Shared/ntos/ntos.h2421COMMENT
88 more matches not shown…
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMSource/Hamakaze/idrv/winring0.h58// Essentially it's a slightly tweaked WinRing0 copy-paste.COMMENT