AI Slop Code RIsk Monitor

RubyMetric/chsrc

chsrc 全平台通用换源工具与框架. Change Source everywhere for every software

8.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for RubyMetric/chsrc, a C project with 6,898 GitHub stars. SynthScan examined 20,186 lines of code across 173 source files, recording 64 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 8.0 (Moderate 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.

8.0
Adjusted Signal
8.0
Raw Pattern Score
100%
Time Factor
2026-09-07
Last Push
6.9K
Stars
C
Language
20.2K
Lines of Code
173
Files
64
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 5.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 21 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 29.2/100 · MEDIUM

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

PR Review Velocity Impact 31.0/100 · MEDIUM

Which changes need focused human review? 64 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 43LOW 21

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 64 distinct pattern matches across 2 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.

Decorative Section Separators43 hits · 140 pts
SeverityFileLineSnippetContext
MEDIUMlefthook.yml1# ---------------------------------------------------------------COMMENT
MEDIUMlefthook.yml8# ---------------------------------------------------------------COMMENT
MEDIUMbootstrap/Termux.bash2# ---------------------------------------------------------------COMMENT
MEDIUMbootstrap/Termux.bash4# ---------------------------------------------------------------COMMENT
MEDIUMbootstrap/Termux.bash18# ---------------------------------------------------------------COMMENT
MEDIUMtest/cli.pl2# ---------------------------------------------------------------COMMENT
MEDIUMtest/cli.pl14# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-riscv64.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-riscv64.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pub-WinGet.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pub-WinGet.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/PR-test.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/PR-test.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Windows-Arm64.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Windows-Arm64.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-x64.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-x64.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pub-AUR-chsrc-git.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pub-AUR-chsrc-git.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pub-AUR-chsrc-and-chsrc-bin.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pub-AUR-chsrc-and-chsrc-bin.yml14# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Windows.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Windows.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-macOS.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-macOS.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/PR-notify.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/PR-notify.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pkg-deb.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/pkg-deb.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-ARMv7.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-ARMv7.yml10# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-AArch64.yml1# ---------------------------------------------------------------COMMENT
MEDIUM.github/workflows/build-on-Linux-AArch64.yml10# ---------------------------------------------------------------COMMENT
MEDIUMtool/installer.sh2# ---------------------------------------------------------------COMMENT
MEDIUMtool/installer.sh4# ---------------------------------------------------------------COMMENT
MEDIUMtool/installer.sh18# ---------------------------------------------------------------COMMENT
MEDIUM⚡tool/completion/bash_completion.sh1# ---------------------------------------------------------------COMMENT
MEDIUM⚡tool/completion/bash_completion.sh3# ---------------------------------------------------------------COMMENT
MEDIUM⚡tool/completion/bash_completion.sh11# ----------COMMENT
MEDIUM⚡tool/completion/bash_completion.sh18# ---------------------------------------------------------------COMMENT
MEDIUM⚡pkg/deb/deb-installation-test.sh2# --------------------------------------------------------------COMMENT
MEDIUM⚡pkg/deb/deb-installation-test.sh4# --------------------------------------------------------------COMMENT
MEDIUM⚡pkg/deb/deb-installation-test.sh13# --------------------------------------------------------------COMMENT
Over-Commented Block21 hits · 21 pts
SeverityFileLineSnippetContext
LOWbootstrap/Termux.bash1#!/usr/bin/env bashCOMMENT
LOWtest/cli.pl1#!/usr/bin/env perlCOMMENT
LOW.github/workflows/PR-test.yml1# ---------------------------------------------------------------COMMENT
LOW.github/workflows/build-on-Windows-Arm64.yml1# ---------------------------------------------------------------COMMENT
LOW.github/workflows/pub-AUR-chsrc-and-chsrc-bin.yml1# ---------------------------------------------------------------COMMENT
LOWlib/xy.h41# error "xy.h requires C11 or later, please use a new compiler which at least supports C11"COMMENT
LOWlib/xy.h121#elif defined(__APPLE__)COMMENT
LOWlib/xy.h541#define _XY_Str_Bold 1COMMENT
LOWtool/installer.sh1#!/usr/bin/env bashCOMMENT
LOWtool/installer.sh241 # version 版本不是 'pre',添加'v'前缀COMMENT
LOWtool/completion/bash_completion.sh1# ---------------------------------------------------------------COMMENT
LOWpkg/deb/deb-installation-test.sh1#!/bin/bashCOMMENT
LOWsrc/framework/base.c161COMMENT
LOWsrc/framework/base.c181#define bdred(str) xy_str2bold(xy_str2red(str))COMMENT
LOWsrc/framework/chef.c21COMMENT
LOWsrc/framework/source.c641COMMENT
LOWsrc/recipe/menu.c21 #include "lang/Python/PDM.c"COMMENT
LOWsrc/recipe/menu.c41#include "lang/Perl.c"COMMENT
LOWsrc/recipe/menu.c61COMMENT
LOWsrc/recipe/menu.c81COMMENT
LOWsrc/recipe/menu.c101#include "os/BSD/FreeBSD.c"COMMENT