AI Slop Code Risk Monitor

fish2018/pansou

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

PanSou是一款高性能的网盘资源搜索API服务,支持TG频道和插件搜索。系统设计以性能和可扩展性为核心,支持多频道多插件并发搜索、结果智能排序和网盘类型分类。docker集成前后端,一键启动,开箱即用。仅供学习研究,请勿以各种形式用于盈利目的。 https://t.me/s/webhtv

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for fish2018/pansou, a Go project with 15,095 GitHub stars. SynthScan examined 127,612 lines of code across 360 source files, recording 48 pattern matches distributed across 3 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-12
Last Push
15.1K
Stars
Go
Language
127.6K
Lines of Code
360
Files
48
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.3/100 · LOW

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

Which changes need focused human review? 48 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 0LOW 48

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 48 distinct pattern matches across 3 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 Block30 hits · 30 pts
SeverityFileLineSnippetContext
LOWutil/http_util.go161COMMENT
LOWutil/http_body.go41 }COMMENT
LOWutil/parser_util.go141// PageParseStatus 表示一次搜索结果页解析的可信程度。COMMENT
LOWutil/parser_types_probe_test.go61 // 每条链接必须拿到**自己**的提取码。COMMENT
LOWutil/retry.go41 // BaseDelay 是首次重试前的等待时长。COMMENT
LOWutil/retry.go61COMMENT
LOWutil/ext_digest.go21 // 把它算进键会让同一份结果因为一次 refresh 而多占一个缓存槽COMMENT
LOWutil/cache/cache_key.go241}COMMENT
LOWutil/cpu/cpu.go1// Package cpu 提供"这个进程实际能用多少 CPU"这唯一一个口径。COMMENT
LOWconfig/config.go61 TGChannelRequestTimeout time.Duration // 单个频道请求超时COMMENT
LOWplugin/publish_budget.go1package pluginCOMMENT
LOWplugin/plugin.go61COMMENT
LOWplugin/plugin.go381 // 工作池不在这里创建。本函数会被各插件的构造函数在包 init() 阶段触发,COMMENT
LOWplugin/plugin.go621// ============================================================COMMENT
LOWplugin/gying/gying.go2121// ============ 登录逻辑 ============COMMENT
LOWplugin/woniu/woniu.go481}COMMENT
LOWplugin/panlian/panlian_jsontag_test.go1package panlianCOMMENT
LOWplugin/panlian/panlian_live_test.go21//COMMENT
LOWplugin/hdr4k/设计文档.md921 *plugin.BaseAsyncPluginCOMMENT
LOWapi/limits.go1package apiCOMMENT
LOWservice/main_cache_lock.go1package serviceCOMMENT
LOWservice/outbound_gate.go101COMMENT
LOWservice/outbound_gate.go141 // 实测固定开销约 0.2 秒(8.19 对 8.00、10.22 对 10.00、30.20 对 30.00),取 1 秒留足。COMMENT
LOWservice/search_service.go321COMMENT
LOWservice/search_service.go1501 // 原先这里是 Set 整块覆盖,合并的只是"本请求的快照 + 补齐结果"。但补齐发生在首轮写入之后COMMENT
LOWservice/batch_search.go221 // 插件路径下整批零产出不写缓存:这类空结果多为响应超时下的部分结果,COMMENT
LOWservice/main_cache_lock_test.go101// 端到端缺口(如实记录):直接对 cacheUpdater 做并发合并断言需要驱动插件完成路径COMMENT
LOWservice/adaptive_concurrency.go21// 排队信号 = 本轮每任务 p90 / 历史最好 p90("地板值",近似无排队时的延迟)COMMENT
LOWservice/tg_reachability.go21// 一条路径,用户看到的就是空等 4 秒。COMMENT
LOWservice/tg_reachability.go41 tgUnreachableTTL = 60 * time.SecondCOMMENT
Verbosity Indicators9 hits · 15 pts
SeverityFileLineSnippetContext
LOWplugin/qupanshe/qupanshe.go74 // Step 1: 获取首页formhash(使用session客户端)COMMENT
LOWplugin/qupanshe/qupanshe.go86 // Step 2: POST请求获取搜索结果URL(使用同一个session客户端)COMMENT
LOWplugin/qupanshe/qupanshe.go98 // Step 3: GET请求获取搜索结果(使用同一个session客户端)COMMENT
LOWplugin/qupanshe/qupanshe.go110 // Step 4: 关键词过滤COMMENT
LOWplugin/xdpan/xdpan.go68 // Step 1: 获取搜索结果页面COMMENT
LOW⚡plugin/xdpan/xdpan.go80 // Step 2: 并发获取详情页信息(获取真实的百度网盘链接)COMMENT
LOW⚡plugin/xdpan/xdpan.go84 // Step 3: 关键词过滤COMMENT
LOWplugin/panwiki/panwiki.go159 // Step 1: 发起初始搜索请求获取重定向URLCOMMENT
LOWplugin/panwiki/panwiki.go231 // Step 2: 请求实际的搜索结果页面COMMENT
Structural Annotation Overuse9 hits · 15 pts
SeverityFileLineSnippetContext
LOWplugin/qupanshe/qupanshe.go74 // Step 1: 获取首页formhash(使用session客户端)COMMENT
LOWplugin/qupanshe/qupanshe.go86 // Step 2: POST请求获取搜索结果URL(使用同一个session客户端)COMMENT
LOWplugin/qupanshe/qupanshe.go98 // Step 3: GET请求获取搜索结果(使用同一个session客户端)COMMENT
LOWplugin/qupanshe/qupanshe.go110 // Step 4: 关键词过滤COMMENT
LOWplugin/xdpan/xdpan.go68 // Step 1: 获取搜索结果页面COMMENT
LOW⚡plugin/xdpan/xdpan.go80 // Step 2: 并发获取详情页信息(获取真实的百度网盘链接)COMMENT
LOW⚡plugin/xdpan/xdpan.go84 // Step 3: 关键词过滤COMMENT
LOWplugin/panwiki/panwiki.go159 // Step 1: 发起初始搜索请求获取重定向URLCOMMENT
LOWplugin/panwiki/panwiki.go231 // Step 2: 请求实际的搜索结果页面COMMENT