AI Slop Code RIsk Monitor

nothings/stb

stb single-file public domain libraries for C/C++

6.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for nothings/stb, a C project with 34,808 GitHub stars. SynthScan examined 109,822 lines of code across 113 source files, recording 882 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 6.1 (Moderate 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.

6.1
Adjusted Signal
6.1
Raw Pattern Score
100%
Time Factor
2026-08-02
Last Push
34.8K
Stars
C
Language
109.8K
Lines of Code
113
Files
882
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 26.2/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 882 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 33.5/100 · MEDIUM

Which changes need focused human review? 882 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 2LOW 878

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 882 distinct pattern matches across 6 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 Block875 hits · 641 pts
SeverityFileLineSnippetContext
LOWstb_c_lexer.h1// stb_c_lexer.h - v0.12 - public domain Sean Barrett 2013COMMENT
LOWstb_c_lexer.h21// 0.04 fix octal parsing bugCOMMENT
LOWstb_c_lexer.h41// github:mundusnine (bugfix)COMMENT
LOWstb_c_lexer.h61#define STB_C_LEX_C_HEX_INTS Y // "0x[0-9a-fA-F]+" CLEX_intlitCOMMENT
LOWstb_c_lexer.h81 // "<<=" CLEX_shleq ">>=" CLEX_shreqCOMMENT
LOWstb_c_lexer.h141extern "C" {COMMENT
LOWstb_c_lexer.h161extern void stb_c_lexer_get_location(const stb_lexer *lexer, const char *where, stb_lex_location *loc);COMMENT
LOWstb_c_lexer.h221typedef double stb__clex_int;COMMENT
LOWstb_c_lexer.h241#define STB__clex_hex_intsCOMMENT
LOWstb_image_write.h201#ifdef _WIN32COMMENT
LOWstb_image_write.h221#elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_REALLOC_SIZED)COMMENT
LOWstb_image_write.h801 } elseCOMMENT
LOWstb_image_write.h881 (bitbuf |= (code) << bitcount, bitcount += (codebits), stbiw__zlib_flush())COMMENT
LOWstb_image_resize2.h401typedef uint32_t stbir_uint32;COMMENT
LOWstb_image_resize2.h421//COMMENT
LOWstb_image_resize2.h541// * Separate input and output data typesCOMMENT
LOWstb_image_resize2.h641STBIRDEF int stbir_set_non_pm_alpha_speed_over_quality( STBIR_RESIZE * resize, int non_pma_alpha_speed_over_quality );COMMENT
LOWstb_image_resize2.h661STBIRDEF int stbir_resize_extended( STBIR_RESIZE * resize );COMMENT
LOWstb_image_resize2.h681// Note that you MUST call stbir_build_samplers_with_splits before stbir_resize_extended_split!COMMENT
LOWstb_image_resize2.h701//COMMENT
LOWstb_image_resize2.h721// return optional_output; // return the optional buffer that we filledCOMMENT
LOWstb_image_resize2.h781#endif // STBIR_INCLUDE_STB_IMAGE_RESIZE2_HCOMMENT
LOWstb_image_resize2.h801#elseCOMMENT
LOWstb_image_resize2.h821#endifCOMMENT
LOWstb_image_resize2.h841#endifCOMMENT
LOWstb_image_resize2.h881 STBIRI_AR_PM = 16,COMMENT
LOWstb_image_resize2.h1161 return (unsigned char) ((bias + scale*t) >> 16);COMMENT
LOWstb_image_resize2.h1181COMMENT
LOWstb_image_resize2.h1201 #define STBIR_AVX2COMMENT
LOWstb_image_resize2.h1221#endifCOMMENT
LOWstb_image_resize2.h1241 #elseCOMMENT
LOWstb_image_resize2.h1261#elseCOMMENT
LOWstb_image_resize2.h1281#endifCOMMENT
LOWstb_image_resize2.h1301#endifCOMMENT
LOWstb_image_resize2.h1321 #define stbir__simdf_load2( out, ptr ) (out) = _mm_castsi128_ps( _mm_loadl_epi64( (__m128i*)(ptr)) ) // top values canCOMMENT
LOWstb_image_resize2.h1361 out1 = _mm_unpackhi_epi16( ireg, zero ); \COMMENT
LOWstb_image_resize2.h1381 #define stbir__simdf_madd1( out, add, mul1, mul2 ) (out) = _mm_fmadd_ss( mul1, mul2, add )COMMENT
LOWstb_image_resize2.h1401COMMENT
LOWstb_image_resize2.h1461 #if defined(_MSC_VER) && !defined(__clang__)COMMENT
LOWstb_image_resize2.h1501 #include <immintrin.h>COMMENT
LOWstb_image_resize2.h1641COMMENT
LOWstb_image_resize2.h1661COMMENT
LOWstb_image_resize2.h1721 #define stbir__simdf_load1( out, ptr ) (out) = vld1q_dup_f32( (float const*)(ptr) ) // top values can be random (not dCOMMENT
LOWstb_image_resize2.h1761 { \COMMENT
LOWstb_image_resize2.h1781 #define stbir__simdf_madd( out, add, mul1, mul2 ) (out) = vfmaq_f32( add, mul1, mul2 )COMMENT
LOWstb_image_resize2.h1921COMMENT
LOWstb_image_resize2.h1981 #define stbir_simdi_castf( reg ) (reg)COMMENT
LOWstb_image_resize2.h2021 v128_t tmp = wasm_u16x8_extend_low_u8x16(ireg); \COMMENT
LOWstb_image_resize2.h2041 #define stbir__simdf_add_mem( out, reg, ptr ) (out) = wasm_f32x4_add( reg, wasm_v128_load( (void const*)(ptr) )COMMENT
LOWstb_image_resize2.h2121 #define STBIR__SIMDF_CONST(var, x) stbir__simdf var = (v128_t)(stbir__f32x4){ x, x, x, x }COMMENT
LOWstb_image_resize2.h2141 return wasm_f32x4_extract_lane( wasm_f32x4_ceil( wasm_f32x4_splat(x) ), 0);COMMENT
LOWstb_image_resize2.h2161 #define stbir__simdfX_madd stbir__simdf8_maddCOMMENT
LOWstb_image_resize2.h2181 static const stbir__simdf8 STBIR_simd_point58 = { 0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5 };COMMENT
LOWstb_image_resize2.h2201 #define stbir__simdfX_1a1a stbir__simdf_1a1aCOMMENT
LOWstb_image_resize2.h2541#define stbir__simdf_0123to0001( out, reg ) (out) = stbir__simdf_swiz( reg, 0,0,0,1 )COMMENT
LOWstb_image_resize2.h2781#define STBIR_PROFILE_START_ll( info, wh ) { stbir_uint64 wh##thiszonetime = STBIR_PROFILE_FUNC(); stbir_uint64 * wh##saCOMMENT
LOWstb_image_resize2.h2801#define STBIR_ONLY_PROFILE_SET_SPLIT_INFOCOMMENT
LOWstb_image_resize2.h2821#define STBIR_CEILF(x) ((float)ceil((float)(x)))COMMENT
LOWstb_image_resize2.h4081#define stbir__decode_swizzleCOMMENT
LOWstb_image_resize2.h4101#define stbir__encode_order1 0COMMENT
815 more matches not shown…
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtests/prerelease/stb_lib.h1467// ok, so I've added something that generates _two separate_COMMENT
HIGHdeprecated/stb.h3444// ok, so I've added something that generates _two separate_COMMENT
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMstb_vorbis.c51// 1.10 - 2017-03-03 - more robust seeking; fix negative ilog(); clear error in open_memoryCOMMENT
MEDIUMstb_voxel_render.h116// everything else should be seamless. (And I'd like to change the APICOMMENT
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWstb_voxel_render.h105// Step 3: define STBVOX_CONFIG_PREFER_TEXBUFFERCOMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWstb_voxel_render.h105// Step 3: define STBVOX_CONFIG_PREFER_TEXBUFFERCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWstb_tilemap_editor.h71// representation to the game representation. (Don't forget toCOMMENT