AI Slop Code Risk Monitor

gitleaks/gitleaks

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

Find secrets with Gitleaks 🔑

2.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for gitleaks/gitleaks, a Go project with 30,538 GitHub stars. SynthScan examined 27,340 lines of code across 297 source files, recording 50 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 2.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.

2.3
Adjusted Signal
2.3
Raw Pattern Score
100%
Time Factor
2026-10-28
Last Push
30.5K
Stars
Go
Language
27.3K
Lines of Code
297
Files
50
Pattern Hits
2026-10-31
Scan Date
0.01
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.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

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

Agent Over-Engineering Ratio 2.9/100 · LOW

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

PR Review Velocity Impact 11.2/100 · LOW

Which changes need focused human review? 50 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 3MEDIUM 0LOW 47

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 50 distinct pattern matches across 4 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.

Fake / Example Data24 hits · 24 pts
SeverityFileLineSnippetContext
LOWdetect/detect_test.go955 Email: "user@example.com",CODE
LOWdetect/detect_test.go976 Email: "user@example.com",CODE
LOWdetect/detect_test.go997 Email: "user@example.com",CODE
LOWdetect/detect_test.go1018 Email: "user@example.com",CODE
LOWdetect/detect_test.go1039 Email: "user@example.com",CODE
LOWdetect/detect_test.go1060 Email: "user@example.com",CODE
LOWdetect/detect_test.go1081 Email: "user@example.com",CODE
LOWdetect/detect_test.go1102 Email: "user@example.com",CODE
LOWdetect/detect_test.go1123 Email: "user@example.com",CODE
LOWdetect/detect_test.go1144 Email: "user@example.com",CODE
LOWdetect/detect_test.go1165 Email: "user@example.com",CODE
LOWdetect/detect_test.go1186 Email: "user@example.com",CODE
LOWdetect/detect_test.go1207 Email: "user@example.com",CODE
LOWdetect/detect_test.go1228 Email: "user@example.com",CODE
LOWdetect/detect_test.go1249 Email: "user@example.com",CODE
LOWdetect/detect_test.go1270 Email: "user@example.com",CODE
LOWtestdata/expected/report/json_simple.json15 "Author": "John Doe",CODE
LOWtestdata/expected/report/template_jsonextra.json15 "Author": "John Doe",CODE
LOWreport/template_test.go36 Author: "John Doe",CODE
LOWreport/template_test.go61 Author: "John Doe",CODE
LOWreport/json_test.go25 Author: "John Doe",CODE
LOWreport/junit_test.go36 Author: "John Doe",CODE
LOWreport/csv_test.go35 Author: "John Doe",CODE
LOWreport/sarif_test.go40 Author: "John Doe",CODE
Over-Commented Block22 hits · 22 pts
SeverityFileLineSnippetContext
LOWREADME.md241COMMENT
LOWREADME.md261# appended and can contain duplicates.COMMENT
LOWdetect/detect_test.go61secret=6465636F6465642D7365637265742D76616C756576484558COMMENT
LOWdetect/reader.go41// StreamDetectReader streams the detection results from the provided io.Reader.COMMENT
LOWdetect/reader.go61// findingsCh, errCh := detector.StreamDetectReader(myReader, 64) // using 64 KB buffer sizeCOMMENT
LOWcmd/detect.go1// The `detect` and `protect` command is now deprecated. Here are some equivalent commandsCOMMENT
LOWcmd/generate/config/utils/generate.go121 // TODO: "php - null coalesce": `${i}Token ??= "{s}"`,COMMENT
LOWcmd/generate/config/rules/curl.go121 // Short flag.COMMENT
LOWcmd/generate/config/rules/1password.go41 return utils.Validate(r, tps, fps)COMMENT
LOWcmd/generate/config/rules/sentry.go21 },COMMENT
LOWcmd/generate/config/base/config.go41 // ----------- Interpolated Variables -----------COMMENT
LOWconfig/gitleaks.toml1# This file has been auto-generated. Do not edit manually.COMMENT
LOWconfig/allowlist.go41COMMENT
LOWscripts/profile.sh1#! /usr/bin/env bashCOMMENT
LOWsources/git_test.go1package sourcesCOMMENT
LOWsources/git_test.go21// source: filepath.Join(repoBasePath, "small"),COMMENT
LOWsources/git_test.go41// }COMMENT
LOWsources/git_test.go61// t.Error("expected: ", expected, "got: ", diffSb.String())COMMENT
LOWsources/git_test.go81// err := moveDotGit("dotGit", ".git")COMMENT
LOWsources/git_test.go101COMMENT
LOWsources/git_test.go121COMMENT
LOWsources/git_test.go141// os.RemoveAll(fmt.Sprintf("%s/%s/%s", repoBasePath, dir.Name(), ".git"))COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtestdata/config/valid/rule_entropy_group.toml0(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]STRING
HIGHtestdata/config/invalid/rule_bad_entropy_group.toml0(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]STRING
HIGHtestdata/config/invalid/rule_missing_id.toml0(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]STRING
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcmd/generate/config/rules/huggingface.go105 `def test_internal_api_org_inclusion_with_href(api_name, href, expected, monkeypatch, called_with):CODE