AI Slop Code Risk Monitor

netwide-assembler/nasm

SlopCodeMonitor badge for netwide-assembler/nasm Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A cross-platform x86 assembler with an Intel-like syntax

1.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for netwide-assembler/nasm, a Assembly project with 3,339 GitHub stars. SynthScan examined 223,211 lines of code across 3128 source files, recording 245 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.3 (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.3
Adjusted Signal
1.3
Raw Pattern Score
100%
Time Factor
2026-08-19
Last Push
3.3K
Stars
Assembly
Language
223.2K
Lines of Code
3.1K
Files
245
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.2/100 · LOW

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

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

PR Review Velocity Impact 6.4/100 · LOW

Which changes need focused human review? 245 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 2MEDIUM 20LOW 223

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 245 distinct pattern matches across 9 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 Block211 hits · 204 pts
SeverityFileLineSnippetContext
LOWversion.pl1#!/usr/bin/perlCOMMENT
LOWversion.pl21# NASM_MINOR_VERCOMMENT
LOWtools/genperlbreq.pl1#!/usr/bin/perlCOMMENT
LOWtools/mkmsvcdocmak.pl1#!/usr/bin/perlCOMMENT
LOWtools/testgen/gen-insn-tests.pl1#!/usr/bin/perlCOMMENT
LOWtools/testgen/gen-insn-tests.pl21#COMMENT
LOWtools/testgen/gen-insn-tests.pl41# syntax on its own. This makes the generated tests regressionCOMMENT
LOWtools/testgen/gen-insn-tests.pl81 'variants=i' => \$variants,COMMENT
LOWtools/testgen/gen-insn-tests.pl161 xmm0 => sub { 'xmm0' }, fpu0 => sub { 'st0' },COMMENT
LOWtools/testgen/gen-insn-tests.pl481}COMMENT
LOWtools/testgen/gen-insn-tests.pl501 return undef;COMMENT
LOWtools/testgen/gen-insn-tests.pl621# Modrm-memory disp8/disp32 boundary coverage.COMMENT
LOWtools/testgen/gen-insn-tests.pl681COMMENT
LOWtools/testgen/gen-insn-tests.pl861 # independent decorator families this template's operand tokensCOMMENT
LOWtools/testgen/gen-insn-tests.pl881 # valid at every --bits width in the general case, a handful ofCOMMENT
LOWtools/testgen/gen-insn-tests.pl921 # aren't flagged needs64 (they don't require 64-bit -- the oppositeCOMMENT
LOWtools/testgen/gen-insn-tests.pl941 # they don't get captured into every stderr golden.COMMENT
LOWtools/testgen/gen-insn-tests.pl1001 close($nfh);COMMENT
LOWtools/travis/nasm-t.py481 return test_fail(desc['_test-name'], "stdout is not empty")COMMENT
LOWtools/travis/nasm-t.py581#COMMENT
LOWasm/preproc.c41#include "preproc.h"COMMENT
LOWasm/directiv.c1/* SPDX-License-Identifier: BSD-2-Clause */COMMENT
LOWasm/tokhash.pl1#!/usr/bin/perlCOMMENT
LOWasm/parser.c1/* SPDX-License-Identifier: BSD-2-Clause */COMMENT
LOWasm/nasm.c1/* SPDX-License-Identifier: BSD-2-Clause */COMMENT
LOWasm/nasm.c21#include "parser.h"COMMENT
LOWconfig/msvc.h81COMMENT
LOWconfig/msvc.h161#define HAVE_STRNICMP 1COMMENT
LOWconfig/msvc.h221 nothing if this is not supported. Do not define if restrict isCOMMENT
LOWconfig/watcom.h21#ifndef __LINUX__COMMENT
LOWconfig/watcom.h41#define HAVE_STRCASECMP 1COMMENT
LOWconfig/watcom.h61#elseCOMMENT
LOWconfig/unconfig.h1/* config/unconfig.h: autogenerated by tools/unconfig.pl */COMMENT
LOWconfig/unconfig.h21COMMENT
LOWconfig/unconfig.h41# elseCOMMENT
LOWconfig/unconfig.h61COMMENT
LOWconfig/unconfig.h81# elseCOMMENT
LOWconfig/unconfig.h101COMMENT
LOWconfig/unconfig.h121# elseCOMMENT
LOWconfig/unconfig.h141COMMENT
LOWconfig/unconfig.h161# elseCOMMENT
LOWconfig/unconfig.h181COMMENT
LOWconfig/unconfig.h201# elseCOMMENT
LOWconfig/unconfig.h221COMMENT
LOWinclude/error.h81COMMENT
LOWinclude/error.h221COMMENT
LOWinclude/opflags.h101COMMENT
LOWinclude/opflags.h121#define STRICT GEN_MODIFIER(2) /* do not optimize this operand */COMMENT
LOWinclude/opflags.h181#define RM_SEL (GEN_SUBCLASS(13) | REGMEM) /* valid segment selector */COMMENT
LOWinclude/opflags.h201#define RM_XMM_L16 (REG_CLASS_RM_XMM | REGMEM | RN_L16 ) /* XMM operand reg 0-15 */COMMENT
LOWinclude/opflags.h221#define TMMREG (REG_CLASS_RM_TMM | REG_EA ) /* TMM (AMX) register */COMMENT
LOWinclude/opflags.h241COMMENT
LOWinclude/opflags.h261#define REG_RCX (REG_COUNT | REG64)COMMENT
LOWinclude/opflags.h281#define REG_NA (REG_GPR | REG_NZERO)COMMENT
LOWinclude/opflags.h301#define IMM_NORMAL (GEN_SUBCLASS(0) | IMMEDIATE) /* operand is NOT a brcconst */COMMENT
LOWinclude/nasmint.h21# ifdef __LONG_LONG_MAX__COMMENT
LOWinclude/nasmint.h141COMMENT
LOWinclude/nasmint.h161#define PRIo64 _pri64 "o"COMMENT
LOWinclude/nasmint.h181#define SCNd64 _scn64 "d"COMMENT
LOWinclude/nasmint.h201#define SCNx64 _scn64 "x"COMMENT
151 more matches not shown…
Decorative Section Separators14 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMtools/testgen/gen-insn-tests.pl87#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl89#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl140#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl149#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl165#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl180#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl384#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl386#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl504#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl528#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl620#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl761#-----------------------------------------------------------------------COMMENT
MEDIUMtools/testgen/gen-insn-tests.pl764#-----------------------------------------------------------------------COMMENT
MEDIUMdoc/rdsrc.pl14# ---------------------COMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMtools/travis/nasm-t.py582# Create a new empty test caseCOMMENT
MEDIUMnasmlib/perfhash.pl54# Define the value to be returned if a string is not foundCOMMENT
MEDIUMdoc/rdsrc.pl946 # Create the navbar listCOMMENT
MEDIUMdoc/genps.pl168# Create a font path. At least some versions of GhostscriptCOMMENT
MEDIUMdoc/genps.pl188# Create a Fontmap. At least some versions of GhostscriptCOMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/travis/nasm-t.py205except:CODE
HIGHtools/travis/nasm-t.py527except lzma.LZMAError:CODE
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/syncfiles.pl98 # Write the file back outCOMMENT
LOWtools/travis/nasm-t.py136# Check if descriptor has mandatory fieldsCOMMENT
LOWdoc/rdsrc.pl146# Read the file; pass a paragraph at a time to the paragraph processor.COMMENT
LOWdoc/rdsrc.pl709 # Open file.COMMENT
LOWdoc/rdsrc.pl802 # Close file.COMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/mkdep.pl8# Usage:COMMENT
LOWnasmlib/perfhash.pl10# Usage:COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtools/testgen/gen-insn-tests.pl1168 # Let the existing, already-battle-tested harness do the actualCOMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/travis/nasm-t.py209CODE
LOWtools/travis/nasm-t.py230CODE
LOWtools/travis/nasm-t.py414CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/travis/nasm-t.py223def collect_test_desc_from_file(path):CODE
LOWtools/travis/nasm-t.py230def collect_test_desc_from_dir(basedir):CODE