AI Slop Code Risk Monitor

PBH-BTN/PeerBanHelper

SlopCodeMonitor badge for PBH-BTN/PeerBanHelper Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Automatically block unwanted, leeches and abnormal BT peers with support for customized and cloud rules.| BT 反吸血工具 - 自动封禁不受欢迎、吸血和异常的 BT 客户端,并支持自定义规则。支持 qB/qBEE/Deluge/BiglyBT/BitComet

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for PBH-BTN/PeerBanHelper, a Java project with 6,378 GitHub stars. SynthScan examined 114,469 lines of code across 1168 source files, recording 136 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.8 (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.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.4K
Stars
Java
Language
114.5K
Lines of Code
1.2K
Files
136
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 6.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.0/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 8.2/100 · LOW

Which changes need focused human review? 136 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 4HIGH 4MEDIUM 2LOW 126

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 136 distinct pattern matches across 6 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 Block123 hits · 118 pts
SeverityFileLineSnippetContext
LOWtest/test-db/config/config.yml1config-version: 46COMMENT
LOWtest/test-db/config/config.yml21# so your support is vital to us.COMMENT
LOWtest/test-db/config/config.yml41 # Allow CORS, should be enabled when you use external WebUI only.COMMENT
LOWtest/test-db/config/config.yml61 # Do you want persist the banlist? If you disable it, PBH will reset the banlist when you restarting it.COMMENT
LOWtest/test-db/config/config.yml81 # 以下信息将被发送到 BTN 实例;COMMENT
LOWtest/test-db/config/config.yml101 # 是否允许 PeerBanHelper 接收来自 BTN 服务器的 Aviator 脚本COMMENT
LOWtest/test-db/config/config.yml121 # 1 = 使用系统代理 - Use system proxyCOMMENT
LOWtest/test-db/config/config.yml161 # 是否使用友好格式的回环地址 IP 映射COMMENT
LOW.github/FUNDING.yml1# These are supported funding model platformsCOMMENT
LOW.github/ISSUE_TEMPLATE/config.yml1blank_issues_enabled: falseCOMMENT
LOWwebui/src/components/pageFooter.vue101 (error) => {COMMENT
LOWopenspec/config.yaml1schema: spec-drivenCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml21module:COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml101 # Torrent 小于此值不进行检查(单位:字节),对等体可能来不及同步正确的下载进度COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml121 # (Sometimes the pisces may break during transfer, client may drop those pisces, we allow client have rewind in reasCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml141 # IPV6 prefix length, same prefix will trick as a same userCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml161 # Max duration before banCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml181 # The disconnect duration for fast PCB testCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml201 #- 8.8.8.8COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml221 cities:COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml241 internet-cafe: falseCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml261 ipv6: 48COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml281 subnet-mask-v6-length: 56COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml301 keep-hunting: falseCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml321 # peer.uploadSpeed - 您的下载器向该 Peer 上传数据的速率(bytes) - Upload rate to PeerCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml341 # For more details, check AviatorScript documentation: https://www.yuque.com/boyan-avfmj/aviatorscript/cpow90COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml361 # Recommended configure this module on WebUICOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml381 active-monitoring:COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml401 # The maximum allowed download rate when adjusting upload rate, Unit: bytesCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml421 # * max = 最大长度 - Max lengthCOMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml441 ban-duration: 900000COMMENT
LOWpkg/deb/etc/peerbanhelper/profile.yml481 data-flush-interval: 900000COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml1config-version: 46COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml21# so your support is vital to us.COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml41 # Allow CORS, should be enabled when you use external WebUI only.COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml61 # Do you want persist the banlist? If you disable it, PBH will reset the banlist when you restarting it.COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml81 # 以下信息将被发送到 BTN 实例;COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml101 # 是否允许 PeerBanHelper 接收来自 BTN 服务器的 Aviator 脚本COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml121 # 1 = 使用系统代理 - Use system proxyCOMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml161 # 是否使用友好格式的回环地址 IP 映射COMMENT
LOWpkg/deb/etc/peerbanhelper/config.yml181 enabled: falseCOMMENT
LOWsrc/main/resources/profile.yml21module:COMMENT
LOWsrc/main/resources/profile.yml101 # Torrent 小于此值不进行检查(单位:字节),对等体可能来不及同步正确的下载进度COMMENT
LOWsrc/main/resources/profile.yml121 # (Sometimes the pisces may break during transfer, client may drop those pisces, we allow client have rewind in reasCOMMENT
LOWsrc/main/resources/profile.yml141 # IPV6 prefix length, same prefix will trick as a same userCOMMENT
LOWsrc/main/resources/profile.yml161 # Max duration before banCOMMENT
LOWsrc/main/resources/profile.yml181 # The disconnect duration for fast PCB testCOMMENT
LOWsrc/main/resources/profile.yml201 #- 8.8.8.8COMMENT
LOWsrc/main/resources/profile.yml221 cities:COMMENT
LOWsrc/main/resources/profile.yml241 internet-cafe: falseCOMMENT
LOWsrc/main/resources/profile.yml261 ipv6: 48COMMENT
LOWsrc/main/resources/profile.yml281 subnet-mask-v6-length: 56COMMENT
LOWsrc/main/resources/profile.yml301 keep-hunting: falseCOMMENT
LOWsrc/main/resources/profile.yml321 # peer.uploadSpeed - 您的下载器向该 Peer 上传数据的速率(bytes) - Upload rate to PeerCOMMENT
LOWsrc/main/resources/profile.yml341 # For more details, check AviatorScript documentation: https://www.yuque.com/boyan-avfmj/aviatorscript/cpow90COMMENT
LOWsrc/main/resources/profile.yml361 # Recommended configure this module on WebUICOMMENT
LOWsrc/main/resources/profile.yml381 active-monitoring:COMMENT
LOWsrc/main/resources/profile.yml401 # The maximum allowed download rate when adjusting upload rate, Unit: bytesCOMMENT
LOWsrc/main/resources/profile.yml421 # * max = 最大长度 - Max lengthCOMMENT
LOWsrc/main/resources/profile.yml441 ban-duration: 900000COMMENT
63 more matches not shown…
Hallucination Indicators4 hits · 45 pts
SeverityFileLineSnippetContext
CRITICALwebui/src/views/oobe/components/addDownloader/index.vue102 config.value.downloader.config.endpoint.replace(/\/$/, '')CODE
CRITICALsrc/main/java/com/ghostchu/peerbanhelper/Main.java260 platform = new com.ghostchu.peerbanhelper.platform.impl.posix.PosixPlatform();CODE
CRITICALsrc/main/java/com/ghostchu/peerbanhelper/Main.java327 long weekAgo = System.currentTimeMillis() - java.util.concurrent.TimeUnit.DAYS.toMillis(7);CODE
CRITICALsrc/main/java/com/ghostchu/peerbanhelper/Main.java476 //case "qt" -> guiManager = new PBHGuiManager(new com.ghostchu.peerbanhelper.gui.impl.qt.QtGuiImpl(args));COMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHAGENTS.md18* Once code generation is complete, you must explicitly state that if a pull request is to be submitted, the pull requesCOMMENT
HIGH.github/PULL_REQUEST_TEMPLATE/backend.md8* [ ] The description of this Pull Request was not generated by AI/agents. All PR submitters are required to manually fiCOMMENT
HIGH.github/PULL_REQUEST_TEMPLATE/backend.md23 * [ ] This Pull Request was completely generated by AI/AgentsCOMMENT
HIGH.github/PULL_REQUEST_TEMPLATE/backend.md24 * [ ] A human has manually reviewed the changes generated by AI/Agents and fully understands the relevant modificationCOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMpkg/deb/etc/peerbanhelper/profile.yml353 # All script files will put in data/scripts, you can modify exists scripts or create your own scripts/COMMENT
MEDIUMsrc/main/resources/profile.yml353 # All script files will put in data/scripts, you can modify exists scripts or create your own scripts/COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWwebui/src/service/data.ts36export async function GetTorrentAccessHistoryList(params: {CODE
LOWwebui/src/service/plus.ts89export function claimRenewFreeLicenseCaptcha(): Promise<CommonResponse<FreeLicenseChallenge>> {CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ings/components/profile/components/banRuleListItem.vue17 <a-input v-model="model.content" :placeholder="placeholder"></a-input>CODE