AI Slop Code Risk Monitor

robertdavidgraham/masscan

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

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for robertdavidgraham/masscan, a C project with 26,117 GitHub stars. SynthScan examined 62,510 lines of code across 228 source files, recording 60 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 1.0 (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.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
26.1K
Stars
C
Language
62.5K
Lines of Code
228
Files
60
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 4.7/100 · LOW

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

Which changes need focused human review? 60 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 0LOW 60

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 60 distinct pattern matches across 1 syntactic category. 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 Block60 hits · 60 pts
SeverityFileLineSnippetContext
LOWsrc/proto-smb.c1/*COMMENT
LOWsrc/rawsock.c1/*COMMENT
LOWsrc/rawsock.c21#include "util-malloc.h"COMMENT
LOWsrc/masscan.h1#ifndef MASSCAN_HCOMMENT
LOWsrc/proto-banner1.c1/*COMMENT
LOWsrc/proto-netbios.c1#include "proto-netbios.h"COMMENT
LOWsrc/scripting-banner.c1/*COMMENT
LOWsrc/pixie-threads.c1#define _GNU_SOURCECOMMENT
LOWsrc/main-conf.c21#include "crypto-base64.h"COMMENT
LOWsrc/pixie-file.c1#include "pixie-file.h"COMMENT
LOWsrc/rawsock-getip6.c21#define _GNU_SOURCECOMMENT
LOWsrc/rawsock-getip6.c81/*****************************************************************************COMMENT
LOWsrc/rawsock-getip6.c201#include <sys/types.h>COMMENT
LOWsrc/proto-coap.c21 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+COMMENT
LOWsrc/pixie-sockets.h1#ifndef PIXIE_SOCKETS_HCOMMENT
LOWsrc/stack-tcp-core.c61#include <string.h>COMMENT
LOWsrc/proto-memcached.c1/*COMMENT
LOWsrc/rte-ring.c81#include "pixie-threads.h"COMMENT
LOWsrc/stub-lua.c1#define LUAAPICOMMENT
LOWsrc/rawsock-getroute.c1/*COMMENT
LOWsrc/rawsock-getroute.c21#define ROUNDUP2(a, n) ((a) > 0 ? (1 + (((a) - 1U) | ((n) - 1))) : (n))COMMENT
LOWsrc/rawsock-getroute.c421}COMMENT
LOWsrc/proto-x509.c81 critical BOOLEAN DEFAULT FALSE,COMMENT
LOWsrc/output.h1#ifndef OUTPUT_HCOMMENT
LOWsrc/massip-rangesv6.c1/*COMMENT
LOWsrc/proto-http.c1#include "proto-http.h"COMMENT
LOWsrc/smack1.c101 Make it so that the longest match triggers first.COMMENT
LOWsrc/smack1.c141#elif defined(__powerpc64__)COMMENT
LOWsrc/proto-versioning.c1/*COMMENT
LOWsrc/proto-dns.c1/*COMMENT
LOWsrc/main.c21#include "massip-parse.h"COMMENT
LOWsrc/main.c41#include "output.h" /* for outputting results */COMMENT
LOWsrc/main.c61#include "proto-snmp.h" /* parse SNMP responses */COMMENT
LOWsrc/templ-pkt.c1/*COMMENT
LOWsrc/proto-udp.c1#include "proto-udp.h"COMMENT
LOWsrc/rawsock-pcapfile.c21*/COMMENT
LOWsrc/pixie-threads.h41#define rte_atomic32_cmpset(dst, expected, src) __sync_bool_compare_and_swap((volatile int*)(dst),(int)expected,(int)srcCOMMENT
LOWsrc/util-bool.h1#ifndef UTIL_BOOL_HCOMMENT
LOWsrc/proto-ntp.c1/*COMMENT
LOWsrc/rte-ring.h81#endifCOMMENT
LOWsrc/rte-ring.h121 */COMMENT
LOWsrc/rawsock-getip.c141 free(pAdapterInfo);COMMENT
LOWsrc/stub-pfring.h21 } ts;COMMENT
LOWsrc/crypto-blackrock2.c1#include "crypto-blackrock.h"COMMENT
LOWsrc/in-binary.c1/*COMMENT
LOWsrc/stack-tcp-core.h1#ifndef PROTO_TCP_HCOMMENT
LOWsrc/stub-pcap.c41#include <windows.h>COMMENT
LOWsrc/pixie-timer.c21#include <errno.h>COMMENT
LOWsrc/unusedparm.h1#ifndef UNUSEDPARMCOMMENT
LOWsrc/proto-mc.h1#ifndef PROTO_MC_HCOMMENT
LOWsrc/util-safefunc.h21#include <time.h>COMMENT
LOWsrc/util-safefunc.h41#define sprintf SPRINTF_FUNCTION_IS_BADCOMMENT
LOWsrc/util-safefunc.h81COMMENT
LOWsrc/read-service-probes.c1#include "read-service-probes.h"COMMENT
LOWsrc/massip-rangesv4.c21 - fast application of exludes, using an optimal O(n + m) linearCOMMENT
LOWsrc/stub-lua.h41#define LUA_ERRGCMM 5COMMENT
LOWsrc/stub-lua.h61#define lua_isboolean(L,n) (lua_type(L, (n)) == LUA_TBOOLEAN)COMMENT
LOWsrc/rawsock-getif.c1/*COMMENT
LOWsrc/rawsock-getif.c21COMMENT
LOWsrc/rawsock-getif.c181#include <net/if.h>COMMENT