AI Slop Code Risk Monitor

NetHack/NetHack

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

Official NetHack Git Repository

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for NetHack/NetHack, a C project with 3,969 GitHub stars. SynthScan examined 581,762 lines of code across 893 source files, recording 647 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.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.

1.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.0K
Stars
C
Language
581.8K
Lines of Code
893
Files
647
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 5.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 5.7/100 · LOW

Which changes need focused human review? 647 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 15LOW 632

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 647 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.

Over-Commented Block619 hits · 616 pts
SeverityFileLineSnippetContext
LOWazure-pipelines.yml121 export ADD_CURSES=YCOMMENT
LOWDEVEL/gitinfo.pl1#!/usr/bin/perlCOMMENT
LOWDEVEL/hooksdir/NHgithook.pm61sub POST {COMMENT
LOWutil/mdgrep.pl41# JUNK:COMMENT
LOWutil/mdgrep.h21 {"AMIGA", 0},COMMENT
LOWutil/mdgrep.h41 {"CLIPPING", 0},COMMENT
LOWutil/mdgrep.h61 {"DLB", 0},COMMENT
LOWutil/mdgrep.h81#elseCOMMENT
LOWutil/mdgrep.h101#elseCOMMENT
LOWutil/mdgrep.h121#elseCOMMENT
LOWutil/mdgrep.h141#elseCOMMENT
LOWutil/mdgrep.h161#elseCOMMENT
LOWutil/mdgrep.h181 {"UNICODE_DRAWING", 1},COMMENT
LOWutil/mdgrep.h201 {"USER_SOUNDS", 1},COMMENT
LOWutil/mdgrep.h221 {"WIN32_PLATFORM_HPCPRO", 1},COMMENT
LOWutil/mdgrep.h241 {"WIN_CE_POCKETPC", 1},COMMENT
LOWutil/mdgrep.h261 {"ZEROCOMP", 1},COMMENT
LOWutil/sftags.c21COMMENT
LOWutil/sftags.c121#ifdef VMSCOMMENT
LOWutil/makedefs.c1/* NetHack 5.0 makedefs.c $NHDT-Date: 1702948590 2023/12/19 01:16:30 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.COMMENT
LOWutil/makedefs.c21#include "context.h"COMMENT
LOWutil/makedefs.c41#include <errno.h>COMMENT
LOWutil/makedefs.c61#ifndef OPTIONS_FILECOMMENT
LOWutil/makedefs.c81#if defined(MAC68K) && !defined(__MACH__)COMMENT
LOWutil/makedefs.c101#define DGN_TEMPLATE "..\\dat\\%s" /* where dungeon.pdf file goes */COMMENT
LOWutil/recover.c21#include "rect.h"COMMENT
LOWutil/sfctool.c21#include "win32api.h"COMMENT
LOWutil/sfctool.c41#define RDTMODE "r"COMMENT
LOWwin/tty/wintty.c21/*#define DECgraphicsOptimization*/COMMENT
LOWwin/tty/wintty.c41#endifCOMMENT
LOWwin/tty/wintty.c5261 */COMMENT
LOWwin/tty/wintty.c5281#endif /* STATUS_HILITES */COMMENT
LOWwin/tty/wintty.c5301#undef AVTC_SOUND_PLAYCOMMENT
LOWwin/tty/termcap.c901COMMENT
LOWwin/curses/cursdial.c1/* vim:set cin ft=c sw=4 sts=4 ts=8 et ai cino=Ls\:0t0(0 : -*- mode:c;fill-column:80;tab-width:8;c-basic-offset:4;indentCOMMENT
LOWwin/curses/cursmain.c21extern char erase_char, kill_char;COMMENT
LOWwin/curses/Readme.txt61curses windowport are shown below. Copy any of these that you like toCOMMENT
LOWwin/curses/Readme.txt81# and status window on bottom. Placing either of these on the right orCOMMENT
LOWwin/Qt/qt_icon.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_icon.cpp21// worthwhile but with the 'single label using a style sheet for color'COMMENT
LOWwin/Qt/qt_inv.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_inv.cpp21extern "C" {COMMENT
LOWwin/Qt/qt_inv.cpp161 // equipment showing the map tiles that the inventory objectsCOMMENT
LOWwin/Qt/qt_set.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_set.cpp21#include "qt_main.h"COMMENT
LOWwin/Qt/qt_set.cpp41// switch back and forth if desired; nothing forces the Zoomed setting toCOMMENT
LOWwin/Qt/qt_main.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_main.cpp21#include <QtWidgets/QtWidgets>COMMENT
LOWwin/Qt/qt_main.cpp481#endifCOMMENT
LOWwin/Qt/qt_main.cpp801 } else {COMMENT
LOWwin/Qt/qt_main.cpp821 // from getting inserted into the "Help" menu behind our back.COMMENT
LOWwin/Qt/qt_svsel.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_svsel.cpp21// [ character two ] button with another character nameCOMMENT
LOWwin/Qt/qt_svsel.cpp41#include "qt_pre.h"COMMENT
LOWwin/Qt/qt_bind.h1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_rip.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_plsel.cpp1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_plsel.cpp21#include "hack.h"COMMENT
LOWwin/Qt/qt_win.h1// Copyright (c) Warwick Allison, 1999.COMMENT
LOWwin/Qt/qt_pre.h1/* NetHack 5.0 qt_pre.h $NHDT-Date: 1781973096 2026/06/20 16:31:36 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.10 $COMMENT
559 more matches not shown…
Excessive Try-Catch Wrapping8 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMsys/mac68k/tools/dump_rsrc.py65 print("Error: truncated or corrupt resource fork", file=sys.stderr)CODE
MEDIUMsys/mac68k/tools/decode_hqx.py141 print(f"Error: --creator-fixup found no"CODE
MEDIUMsys/mac68k/tools/decode_hqx.py194 print(f"Error: {label} CRC mismatch"CODE
MEDIUMsys/mac68k/tools/strip_rsrc.py103 print(f"Error: resource type {t!r} is not 4 characters",CODE
MEDIUMsys/mac68k/tools/strip_rsrc.py115 print("Error: type(s) not in file: "CODE
MEDIUMsys/mac68k/tools/make_scsi_image2.py79 print(f"Error: driver {driver_path} is {len(driver)} bytes; "CODE
MEDIUMsys/mac68k/tools/make_scsi_image2.py202 print(f"Error: HFS image size {len(hfs_data)} is not a multiple of"CODE
MEDIUMsys/mac68k/tools/make_info.py29 print("Error: name must be <= 31 chars; type/creator exactly 4",CODE
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMwin/share/objects.txt5864# tile 306 (sky blue / hallucination)COMMENT
MEDIUMinclude/monattk.h78#define AD_HALU 36 /* causes hallucination */COMMENT
MEDIUMinclude/artifact.h26#define SPFX_HALRES 0x00000800L /* blocks hallucinations */COMMENT
Slop Phrases5 hits · 9 pts
SeverityFileLineSnippetContext
LOWinclude/you.h238 /*** Don't forget to add... ***/COMMENT
LOWinclude/you.h289 /*** Don't forget to add... ***/COMMENT
LOWsys/mac68k/macwin.c90 * buffer. Don't forget to set inSelect to WIN_ERR when you'reCOMMENT
LOWsys/mac68k/macwin.c2506 * Don't forget to decrease in_putstr before returning...COMMENT
MEDIUMsrc/display.c1074 * again, as discussed above.COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMwin/Qt/qt_inv.cpp8// Essentially a "paper doll" style display. [grep fodder]COMMENT
MEDIUMwin/Qt/qt_main.cpp822 // Underscore works too and is more robust but unless we prependCOMMENT
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippetContext
LOWsys/mac68k/tools/wav2snd.py24CODE
LOWsys/mac68k/tools/decode_hqx.py13CODE
LOWsys/mac68k/tools/decode_hqx.py103CODE
LOWsys/mac68k/tools/rsrc_to_rez.py65CODE
LOWsys/mac68k/tools/rsrc_to_rez.py208CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWwin/share/tiletext.c208 ph = strcmp(ttype, "placeholder") == 0;CODE
LOWwin/share/tiletext.c303 type = "placeholder";CODE
LOWwin/share/objects.txt6719# tile 351 (LOREM IPSUM)COMMENT
LOWinclude/objects.h1242XTRA_SCROLL_LABEL( "LOREM IPSUM", SC06),CODE
Self-Referential Comments1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsys/unix/mkmkfile.sh16echo "# This file is generated automatically. Do not edit." >> $3CODE