AI Slop Code RIsk Monitor

madler/zlib

A massively spiffy yet delicately unobtrusive compression library.

4.3 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for madler/zlib, a C project with 7,128 GitHub stars. SynthScan examined 53,419 lines of code across 137 source files, recording 149 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 4.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.

4.3
Adjusted Signal
4.3
Raw Pattern Score
100%
Time Factor
2026-09-21
Last Push
7.1K
Stars
C
Language
53.4K
Lines of Code
137
Files
149
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 13.5/100 · LOW

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

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

PR Review Velocity Impact 18.0/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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 3MEDIUM 24LOW 122

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 5 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 Block121 hits · 119 pts
SeverityFileLineSnippetContext
LOWzutil.h21COMMENT
LOWzutil.h41extern const char inflate9_copyright[];COMMENT
LOWzutil.h81# define DEF_MEM_LEVEL 8COMMENT
LOWzutil.h101# define OS_CODE 0x00COMMENT
LOWzutil.h121#if defined(VAXC) || defined(VMS)COMMENT
LOWzutil.h141#ifdef OS2COMMENT
LOWzutil.h161# define OS_CODE 16COMMENT
LOWzutil.h181 ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t);COMMENT
LOWzutil.h201 /* Use our own functions for small and medium model with MSC <= 5.0.COMMENT
LOWzutil.h221 void ZLIB_INTERNAL zmemcpy(void FAR *, const void FAR *, z_size_t);COMMENT
LOWcrc32.c21 */COMMENT
LOWcrc32.c81#ifdef Z_TESTWCOMMENT
LOWcrc32.c681 z_word_t word5;COMMENT
LOWcrc32.c741#if N > 5COMMENT
LOWcrc32.c801 z_word_t crc4, word4;COMMENT
LOWcrc32.c861#if N > 4COMMENT
LOWzutil.c61#endifCOMMENT
LOWzutil.c81#endifCOMMENT
LOWzutil.c101# endifCOMMENT
LOWgzguts.h1/* gzguts.h -- zlib internal header definitions for gz* operationsCOMMENT
LOWgzguts.h21# ifndef WIN32_LEAN_AND_MEANCOMMENT
LOWgzguts.h41# define _POSIX_C_SOURCE 200112LCOMMENT
LOWgzguts.h61COMMENT
LOWgzguts.h81# if !defined(NO_vsnprintf) && \COMMENT
LOWgzguts.h121#ifndef STDCCOMMENT
LOWgzguts.h141# define BLOCKED(e) ((e) == EAGAIN || (e) == EWOULDBLOCK)COMMENT
LOWgzguts.h161/* default memLevel */COMMENT
LOWzlib.h181#define Z_OK 0COMMENT
LOWzlib.h201#define Z_HUFFMAN_ONLY 2COMMENT
LOWzlib.h1981 ZEXTERN z_off64_t ZEXPORT gzseek64(gzFile, z_off64_t, int);COMMENT
LOWgzlib.c1/* gzlib.c -- zlib functions common to reading and writing gzip filesCOMMENT
LOWinftrees.c1/* inftrees.c -- generate Huffman trees for efficient decodingCOMMENT
LOWzconf.h21# define _dist_code z__dist_codeCOMMENT
LOWzconf.h41# define crc32 z_crc32COMMENT
LOWzconf.h61# define deflateReset z_deflateResetCOMMENT
LOWzconf.h81# define gzerror z_gzerrorCOMMENT
LOWzconf.h101# define gzseek64 z_gzseek64COMMENT
LOWzconf.h121# define inflateInit2_ z_inflateInit2_COMMENT
LOWzconf.h141# define uncompress2_z z_uncompress2_zCOMMENT
LOWzconf.h161# define gz_headerp z_gz_headerpCOMMENT
LOWzconf.h181#endifCOMMENT
LOWzconf.h201/*COMMENT
LOWzconf.h221#endifCOMMENT
LOWzconf.h241# define const /* note: need a more gentle solution here */COMMENT
LOWzconf.h261# if defined(NO_SIZE_T)COMMENT
LOWzconf.h321 /* MSC small or medium model */COMMENT
LOWzconf.h341 /* If building or using zlib as a DLL, define ZLIB_DLL.COMMENT
LOWzconf.h361# ifndef WIN32_LEAN_AND_MEANCOMMENT
LOWzconf.h381# elseCOMMENT
LOWzconf.h421 typedef void FAR *voidpf;COMMENT
LOWzconf.h441 typedef Z_U4 z_crc_t;COMMENT
LOWzconf.h461# ifndef Z_SOLOCOMMENT
LOWzconf.h481COMMENT
LOWzconf.h501# define Z_LFS64COMMENT
LOWzconf.h521COMMENT
LOWzconf.h541 #pragma map(inflateInit2_,"ININ2")COMMENT
LOWtest/minigzip.c21COMMENT
LOWtest/minigzip.c41#endifCOMMENT
LOWtest/minigzip.c61# define unlink removeCOMMENT
LOWos400/make.sh1#!/bin/shCOMMENT
61 more matches not shown…
Decorative Section Separators20 hits · 75 pts
SeverityFileLineSnippetContext
MEDIUM⚡CMakeLists.txt10# ============================================================================COMMENT
MEDIUM⚡CMakeLists.txt12# ============================================================================COMMENT
MEDIUM⚡CMakeLists.txt18# ============================================================================COMMENT
MEDIUM⚡CMakeLists.txt20# ============================================================================COMMENT
MEDIUMCMakeLists.txt202# ============================================================================COMMENT
MEDIUMCMakeLists.txt204# ============================================================================COMMENT
MEDIUMCMakeLists.txt417# ============================================================================COMMENT
MEDIUMCMakeLists.txt419# ============================================================================COMMENT
MEDIUM⚡contrib/minizip/CMakeLists.txt10# ============================================================================COMMENT
MEDIUM⚡contrib/minizip/CMakeLists.txt12# ============================================================================COMMENT
MEDIUM⚡contrib/minizip/CMakeLists.txt18# ============================================================================COMMENT
MEDIUM⚡contrib/minizip/CMakeLists.txt20# ============================================================================COMMENT
MEDIUM⚡contrib/minizip/CMakeLists.txt28# ============================================================================COMMENT
MEDIUM⚡contrib/minizip/CMakeLists.txt30# ============================================================================COMMENT
MEDIUMcontrib/zlib1-dll/CMakeLists.txt10# ============================================================================COMMENT
MEDIUMcontrib/zlib1-dll/CMakeLists.txt12# ============================================================================COMMENT
MEDIUMcontrib/zlib1-dll/CMakeLists.txt134# ============================================================================COMMENT
MEDIUMcontrib/zlib1-dll/CMakeLists.txt136# ============================================================================COMMENT
MEDIUMcontrib/testzlib/CMakeLists.txt10# ============================================================================COMMENT
MEDIUMcontrib/testzlib/CMakeLists.txt12# ============================================================================COMMENT
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHcontrib/dotzlib/DotZLib/GZipStream.cs263 /// <remarks>In this implementation, this method does nothing. This is because excessiveCOMMENT
HIGHcontrib/dotzlib/DotZLib/GZipStream.cs273 /// <remarks>In this implementation this property is not supported</remarks>COMMENT
HIGHcontrib/dotzlib/DotZLib/GZipStream.cs290 /// <remarks>In this implementation this property is not supported</remarks>COMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMos400/make.sh164# Create the OS/400 library if it does not exist.COMMENT
MEDIUMos400/make.sh172# Create the DOCS source file if it does not exist.COMMENT
MEDIUMos400/make.sh195# Create the OS/400 source program file for the C header files.COMMENT
MEDIUMos400/make.sh206# Create the IFS directory for the C header files.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWos400/make.sh66# Set LINK to "YES" if the module has been compiled.COMMENT