AI Slop Code Risk Monitor

zan8in/afrog

SlopCodeMonitor badge for zan8in/afrog Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).
0.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zan8in/afrog. SynthScan examined 209,795 lines of code across 2183 source files, recording 84 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.7 (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.7
Adjusted Signal
0.7
Raw Pattern Score
100%
Time Factor
—
Last Push
—
Stars
—
Language
209.8K
Lines of Code
2.2K
Files
84
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 1.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.7/100 · LOW

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

Agent Over-Engineering Ratio 0.2/100 · LOW

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

PR Review Velocity Impact 3.6/100 · LOW

Which changes need focused human review? 84 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 7HIGH 0MEDIUM 3LOW 74

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 84 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 Block71 hits · 71 pts
SeverityFileLineSnippetContext
LOWafrog.go201 Silent boolCOMMENT
LOWcmd/regex/main.go61func main2() {COMMENT
LOWcmd/regex/main.go81 // Content-Type: text/plainCOMMENT
LOWcmd/regex/main.go101COMMENT
LOWcmd/regex/main.go141 } else {COMMENT
LOWexamples/sdk_portscan/main.go1// SDK Port Pre-Scan Example / SDK 端口预扫描示例COMMENT
LOWexamples/vuln_scan/main.go1// Vulnerability Scan Example / 漏洞扫描示例COMMENT
LOWexamples/port_scan/main.go1// Port Scan Example / 端口扫描示例COMMENT
LOWexamples/basic_scan/main.go1// Basic Scan Example / 基础扫描示例COMMENT
LOWexamples/async_scan/main.go1// Async Scan Example / 异步扫描示例COMMENT
LOWexamples/oob_scan/main.go1// OOB (Out-of-Band) Scan Example / OOB(带外)扫描示例COMMENT
LOWexamples/full_output/main.go1// Full Output Example / 完整数据输出示例COMMENT
LOW.github/workflows/release.yml221 # "fmt"COMMENT
LOW.github/workflows/release.yml241 # hasEntryJS = trueCOMMENT
LOWpkg/poc/migrate_extractor.go1package pocCOMMENT
LOWpkg/poc/migrate_extractor.go21// group: vCOMMENT
LOWpkg/portscan/scan.go961}COMMENT
LOWpkg/portscan/fingerprints/ports.yaml1# afrog 端口先验(port prior)。COMMENT
LOWpkg/portscan/fingerprints/services.yaml1# afrog 端口指纹规则。COMMENT
LOWpkg/portscan/fingerprints/services.yaml21# match 规则列表,按顺序取第一个命中的COMMENT
LOWpkg/portscan/fingerprints/probes.yaml1# afrog 端口指纹探针定义。COMMENT
LOWpkg/progress/progress.go121 progressBar.WriteString(strings.Repeat(emptyChar, remaining))COMMENT
LOWpkg/pocsign/pocsign.go1// Package pocsign 实现 PoC 模板的 ed25519 签名与验签。COMMENT
LOWpkg/config/targetset.go1package configCOMMENT
LOWpkg/config/banner.go21// - 正式发布:GoReleaser 通过 -ldflags "-X .../pkg/config.Version={{ .Version }}"COMMENT
LOWpkg/web/cluster_remote.go21 "github.com/zan8in/gologger"COMMENT
LOWpkg/runner/celprogram.go901 if next <= startAt {COMMENT
LOWpkg/runner/celprogram.go921 // }COMMENT
LOWpkg/runner/celprogram.go1381 }COMMENT
LOWpkg/runner/celprogram.go1421 v1, ok := lhs.(types.String)COMMENT
LOWpkg/runner/celprogram.go1481// // @edit 2021.11.29 21:50COMMENT
LOWpkg/runner/celprogram.go1501// // }COMMENT
LOWpkg/runner/celprogram.go1521COMMENT
LOWpkg/runner/celprogram.go1541// if err != nil {COMMENT
LOWpkg/runner/celprogram.go1561COMMENT
LOWpkg/runner/resume.go301}COMMENT
LOWpkg/runner/runner.go521COMMENT
LOWpkg/runner/runner.go541// if len(config.ReverseCeyeDomain) > 0 && len(config.ReverseCeyeApiKey) > 0 {COMMENT
LOWpkg/runner/runner.go561// go func() {COMMENT
LOWpkg/runner/engine.go541COMMENT
LOWpkg/runner/engine.go3101// if err != nil {COMMENT
LOWpkg/runner/engine.go3121// if strings.Contains(string(resp), "no") || strings.Contains(string(resp), "yes") {COMMENT
LOWpkg/runner/engine.go3141// domain := config.ReverseEyeDomainCOMMENT
LOWpkg/runner/checker.go1041COMMENT
LOWpkg/runner/checker.go1061// Ip: u.Host,COMMENT
LOWpkg/utils/tips.go1package utilsCOMMENT
LOWpkg/nuclei2afrog/translate.go21// 语义依据(均以 nuclei 源码为准):COMMENT
LOWpkg/webscan/fingerprints/rules.yaml1# afrog Web 指纹规则。COMMENT
LOWpkg/webscan/fingerprints/rules.yaml21# version 版本模板,支持 $1..$9 与 ${name}COMMENT
LOWpkg/sdk/scanner.go801// ------------------------------------------------------------------ streamsCOMMENT
LOWpkg/sdk/scanner.go961}COMMENT
LOWpkg/sdk/options.go121 DefaultAccept boolCOMMENT
LOWpkg/sdk/options.go201COMMENT
LOWpkg/sdk/options.go221 // detect a saturated local link and ease the connection rate off. It is onCOMMENT
LOWpkg/sdk/options.go261COMMENT
LOWpkg/sdk/options.go281// This is separate from the per-request Timeout: a PoC with many rules canCOMMENT
LOWpkg/sdk/options.go301//COMMENT
LOWpkg/sdk/options.go1101COMMENT
LOWpkg/sdk/stream.go1package sdkCOMMENT
LOWpkg/log/ui.go21//COMMENT
11 more matches not shown…
Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICALpkg/web/template/List.html267 }, Zb.prototype.init.prototype = Zb.prototype, Zb.propHooks = { _default: { get: function (a) { var b; returCODE
CRITICALpkg/report/default.go360 },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:functiCODE
CRITICALpocs/afrog-pocs/CVE/2020/CVE-2020-14883.yaml34 test_handle=com.tangosol.coherence.mvel2.sh.ShellSession('weblogic.work.ExecuteThread currentThread = (weblogic.CODE
CRITICAL…s/vulnerability/qiyuesuo-template-param-edits-rce.yaml26 {"id":"2","params":[{"expression":"var a=new org.springframework.expression.spel.standard.SpelExpressionParser()CODE
CRITICAL…cs/vulnerability/yonyou-cloud-jsinvoke-uploadfile.yaml42 path: /{{r1}}.jsp?error=bsh.Interpreter&cmd=org.apache.commons.io.IOUtils.toString(Runtime.getRuntime().exec(%22whCODE
CRITICAL…pocs/vulnerability/qiyuesuo-template-html-add-rce.yaml26 {"file":"1","title":"2","params":[{"extensionParam":"{\"expression\":\"var a=new org.springframework.expression.CODE
CRITICAL…ocs/vulnerability/yonyou-nccloud-uapjs-upload-rce.yaml32 cmd=org.apache.commons.io.IOUtils.toString(Runtime.getRuntime().exec("ipconfig").getInputStream())CODE
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMpkg/progress/progress.go18// Unicode终端:GetProgressBar(30, 20) → "━━━━━━╺─────────────"COMMENT
MEDIUMpkg/progress/progress.go130// port-scan [━━━━╺─────] 12% 400/3200 1m30s 210/sCOMMENT
MEDIUMpkg/progress/progress.go131// vuln-scan [━━╺───────] 9% 1543/16220 3m20s 15/s found=2COMMENT
Structural Annotation Overuse2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocs/en/curated/02-usage.md13## Step 1: get a licenseCOMMENT
LOWdocs/en/curated/02-usage.md18## Step 2: edit the configuration fileCOMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpocs/afrog-pocs/CVE/2020/CVE-2020-10204.yaml26 {"action":"coreui_User","method":"update","data":[{"userId":"anonymous","version":"1","firstName":"Anonymous","lCODE