AI Slop Code Risk Monitor

google/osv-scanner

SlopCodeMonitor badge for google/osv-scanner Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Vulnerability scanner written in Go which uses the data provided by https://osv.dev

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for google/osv-scanner, a Go project with 11,336 GitHub stars. SynthScan examined 372,933 lines of code across 890 source files, recording 163 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.5 (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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
11.3K
Stars
Go
Language
372.9K
Lines of Code
890
Files
163
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 2.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 2.4/100 · LOW

Which changes need focused human review? 163 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 10LOW 153

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 163 distinct pattern matches across 11 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 Block115 hits · 113 pts
SeverityFileLineSnippetContext
LOWexit_code_redirect.sh1#!/bin/bashCOMMENT
LOW…urce/testdata/locks-requirements/requirements.prod.txt1django==2.2.24COMMENT
LOW…scalibrenricher/govulncheck/source/govulncheck_test.go1// Copyright 2025 Google LLCCOMMENT
LOW…rnal/scalibrenricher/govulncheck/source/govulncheck.go1// Copyright 2025 Google LLCCOMMENT
LOWinternal/scalibrenricher/govulncheck/source/result.go21 // FixedVersion is the module version where the vulnerability wasCOMMENT
LOWinternal/scalibrenricher/govulncheck/source/result.go41 // Symbol.COMMENT
LOWinternal/scalibrenricher/govulncheck/source/result.go61 // Package is the import path.COMMENT
LOWinternal/output/sarif.go161func stripGitHubWorkspace(path string) string {COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h21COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h41typedef unsigned short ush;COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h61#define ERR_RETURN(strm,err) \COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h101# include <alloc.h>COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h121# define OS_CODE 4COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h141# define OS_CODE 7COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h161#ifdef _BEOS_COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h201#ifndef OS_CODECOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h221#if defined(STDC) && !defined(HAVE_MEMCPY) && !defined(NO_MEMCPY)COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h241#ifdef ZLIB_DEBUGCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/crc32.c81# elseCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/crc32.c801 crc0 = crc_braid_table[0][word0 & 0xff];COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.c61#endifCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.c81#endifCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zutil.c101# ifdef NO_snprintfCOMMENT
LOW…filesystem/vendored/testdata/thirdparty/zlib/deflate.h41COMMENT
LOW…filesystem/vendored/testdata/thirdparty/zlib/deflate.h341# define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c)COMMENT
LOW…/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h1/* gzguts.h -- zlib internal header definitions for gz* operationsCOMMENT
LOW…/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h21#include "zlib.h"COMMENT
LOW…/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h41#if defined(_WIN32)COMMENT
LOW…/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h61COMMENT
LOW…/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h81# define NO_vsnprintfCOMMENT
LOW…/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h121 extern voidp malloc(uInt size);COMMENT
LOW…ct/filesystem/vendored/testdata/thirdparty/zlib/zlib.h161 reports. After compression, total_in holds the total size of theCOMMENT
LOW…ct/filesystem/vendored/testdata/thirdparty/zlib/zlib.h181#define Z_STREAM_ERROR (-2)COMMENT
LOW…ct/filesystem/vendored/testdata/thirdparty/zlib/zlib.h1861 ZEXTERN z_off64_t ZEXPORT gztell64(gzFile);COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/gzlib.c1/* gzlib.c -- zlib functions common to reading and writing gzip filesCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h21# define _dist_code z__dist_codeCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h41# define crc32_combine_gen z_crc32_combine_genCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h61# define deflateTune z_deflateTuneCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h81# define gzgetc_ z_gzgetc_COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h101# define gzvprintf z_gzvprintfCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h121# define inflateReset2 z_inflateReset2COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h141# define zlibVersion z_zlibVersionCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h161# define voidp z_voidpCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h181# ifndef WIN32COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h201# define UNALIGNED_OKCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h221# define STDCCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h241#endifCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h301#endifCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h321# ifdef _MSC_VERCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h341 */COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h361# endifCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h381# define ZEXPORTVA __declspec(dllimport)COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h421#elseCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h441 typedef unsigned long z_crc_t;COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h461# endifCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h481# ifdef __WATCOMC__COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h501COMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h521# define z_off_t longCOMMENT
LOW…t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h541 #pragma map(inflateInit2_,"ININ2")COMMENT
LOW…ystem/vendored/testdata/thirdparty/zlib/test/example.c1/* example.c -- usage example of the zlib compression libraryCOMMENT
55 more matches not shown…
Hyper-Verbose Identifiers21 hits · 21 pts
SeverityFileLineSnippetContext
LOWinternal/output/html/script.js200function showAndHideParentSections() {CODE
LOWscripts/report_uncleaned_snapshots.py23def report_lack_of_snapshot_cleaning(directory):CODE
LOWscripts/generators/generate-debian-versions.py30def is_unsupported_comparison(line):CODE
LOWscripts/generators/generate-debian-versions.py46def extract_packages_with_versions(osvs):CODE
LOWscripts/generators/generate-debian-versions.py186def generate_version_compares(versions):CODE
LOWscripts/generators/generate-debian-versions.py200def generate_package_compares(packages):CODE
LOWscripts/generators/generate-redhat-versions.py34def is_unsupported_comparison(line):CODE
LOWscripts/generators/generate-redhat-versions.py50def extract_packages_with_versions(osvs):CODE
LOWscripts/generators/generate-redhat-versions.py229def generate_version_compares(versions):CODE
LOWscripts/generators/generate-redhat-versions.py243def generate_package_compares(packages):CODE
LOWscripts/generators/generate-alpine-versions.py34def is_unsupported_comparison(line):CODE
LOWscripts/generators/generate-alpine-versions.py50def extract_packages_with_versions(osvs):CODE
LOWscripts/generators/generate-alpine-versions.py229def generate_version_compares(versions):CODE
LOWscripts/generators/generate-alpine-versions.py243def generate_package_compares(packages):CODE
LOWscripts/generators/generate-pypi-versions.py23def is_unsupported_comparison(line):CODE
LOWscripts/generators/generate-pypi-versions.py39def extract_packages_with_versions(osvs):CODE
LOWscripts/generators/generate-pypi-versions.py108def generate_version_compares(versions):CODE
LOWscripts/generators/generate-pypi-versions.py122def generate_package_compares(packages):CODE
LOWscripts/generators/generate-rubygems-versions.rb36def extract_packages_with_versions(osvs)CODE
LOWscripts/generators/generate-rubygems-versions.rb101def generate_version_compares(versions)CODE
LOWscripts/generators/generate-rubygems-versions.rb119def generate_package_compares(packages)CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt86#============================================================================COMMENT
MEDIUM…ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt88#============================================================================COMMENT
MEDIUM…ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt193#============================================================================COMMENT
MEDIUM…ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt195#============================================================================COMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM…system/vendored/testdata/thirdparty/zlib/os400/make.sh164# Create the OS/400 library if it does not exist.COMMENT
MEDIUM…system/vendored/testdata/thirdparty/zlib/os400/make.sh172# Create the DOCS source file if it does not exist.COMMENT
MEDIUM…system/vendored/testdata/thirdparty/zlib/os400/make.sh194# Create the OS/400 source program file for the C header files.COMMENT
MEDIUM…system/vendored/testdata/thirdparty/zlib/os400/make.sh205# Create the IFS directory for the C header files.COMMENT
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/report_uncleaned_snapshots.py12CODE
LOWscripts/examples/auto_guided_remediation.py75CODE
LOWscripts/generators/generate-debian-versions.py76CODE
LOWscripts/generators/generate-redhat-versions.py50CODE
LOWscripts/generators/generate-redhat-versions.py87CODE
LOWscripts/generators/generate-alpine-versions.py114CODE
LOWscripts/generators/generate-pypi-versions.py39CODE
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMinternal/config/manager.go45 // Figure out a more robust way to load config from non filesCOMMENT
MEDIUM.github/workflows/goreleaser-nightly.yml50 # Essentially do a snapshot release, but still push the docker imagesCOMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcmd/osv-scanner/mcp/integration_test.go60 // Step 1: Scan for vulnerabilitiesCOMMENT
LOWcmd/osv-scanner/mcp/integration_test.go90 // Step 2: Get details for the found vulnerabilityCOMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWcmd/osv-scanner/mcp/integration_test.go60 // Step 1: Scan for vulnerabilitiesCOMMENT
LOWcmd/osv-scanner/mcp/integration_test.go90 // Step 2: Get details for the found vulnerabilityCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWinternal/thirdparty/xml/atom_test.go14 Author: Person{Name: "John Doe"},CODE
LOWinternal/thirdparty/xml/marshal_test.go534 contentsAttr = "lorem ipsum"CODE
LOWinternal/thirdparty/xml/marshal_test.go1059 ExpectXML: `<dummy name="Sarah" age="12">lorem ipsum</dummy>`,CODE
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/generators/generate-debian-versions.py13# "--compare-versions" option; also make sure to consider the version of dpkg beingCOMMENT
LOWscripts/generators/generate-redhat-versions.py13# supports evaluating Lua expressions (most versions do); also make sure to considerCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…system/vendored/testdata/thirdparty/zlib/os400/make.sh66# Set LINK to "YES" if the module has been compiled.COMMENT