用于安卓 GKD 的第三方订阅规则 (👻Fork版)
This report summarizes scanner evidence for Lin-arm/GKD_subscription, a TypeScript project with 6,510 GitHub stars. SynthScan examined 75,345 lines of code across 1067 source files, recording 116 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 2.6 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 51 finding(s).
Are imports declared and package/API names verified? 30 finding(s).
Are wrappers, guards, and repeated structures necessary? 58 finding(s).
Which changes need focused human review? 116 finding(s).
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.
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.
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.
The scanner identified 116 distinct pattern matches across 11 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | .github/workflows/sync_upstream_main.yml | 47 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/sync_upstream_main.yml | 49 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/sync_upstream_main.yml | 56 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/sync_upstream_main.yml | 58 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/sync_upstream_main.yml | 66 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | .github/workflows/sync_upstream_main.yml | 68 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 84 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 86 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 117 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 119 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 137 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 141 | # ------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 163 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 165 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 180 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 182 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 194 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 204 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 219 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 221 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 235 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/sync_upstream_main.yml | 238 | # -------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/gkd-rule-writing/scripts/snapshot_io.py | 3 | CODE | |
| LOW | .claude/skills/gkd-rule-writing/scripts/png_rgba.py | 6 | CODE | |
| LOW | .claude/skills/gkd-rule-writing/scripts/desensitize.py | 23 | CODE | |
| LOW | .claude/skills/gkd-rule-writing/scripts/dump_tree.py | 12 | CODE | |
| LOW | scripts/python/core/__init__.py | 7 | CODE | |
| LOW | scripts/python/core/__init__.py | 7 | CODE | |
| LOW | scripts/python/core/__init__.py | 7 | CODE | |
| LOW | scripts/python/core/__init__.py | 7 | CODE | |
| LOW | scripts/python/core/__init__.py | 13 | CODE | |
| LOW | scripts/python/core/__init__.py | 14 | CODE | |
| LOW | scripts/python/core/__init__.py | 14 | CODE | |
| LOW | scripts/python/core/__init__.py | 15 | CODE | |
| LOW | scripts/python/entry/__init__.py | 7 | CODE | |
| LOW | scripts/python/utils/__init__.py | 7 | CODE | |
| LOW | scripts/python/utils/__init__.py | 7 | CODE | |
| LOW | scripts/python/utils/__init__.py | 7 | CODE | |
| LOW | scripts/python/utils/__init__.py | 8 | CODE | |
| LOW | scripts/python/utils/__init__.py | 8 | CODE | |
| LOW | scripts/python/utils/__init__.py | 8 | CODE | |
| LOW | scripts/python/utils/__init__.py | 9 | CODE | |
| LOW | scripts/python/utils/__init__.py | 9 | CODE | |
| LOW | scripts/python/utils/__init__.py | 9 | CODE | |
| LOW | scripts/python/utils/__init__.py | 9 | CODE | |
| LOW | scripts/python/utils/__init__.py | 9 | CODE | |
| LOW | scripts/python/api/issue_checker.py | 11 | CODE | |
| LOW | scripts/python/api/__init__.py | 18 | CODE | |
| LOW | scripts/python/api/__init__.py | 18 | CODE | |
| LOW | scripts/python/api/__init__.py | 19 | CODE | |
| LOW | scripts/python/api/__init__.py | 19 | CODE | |
| LOW | scripts/python/api/base.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/python/formatter.py | 28 | def build_warning_unreachable(user: str) -> str: | CODE |
| LOW | scripts/python/formatter.py | 40 | def build_warning_inaccessible(user: str, urls: list[str]) -> str: | CODE |
| LOW | scripts/python/core/converter.py | 24 | def convert_github_attachments(links: list[LinkInfo]) -> list[ConvertedLink]: | CODE |
| LOW | scripts/python/core/extractor.py | 126 | def extract_links_from_bot_comment(comment: str) -> list[LinkInfo]: | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 64 | def test_contains_html_marker(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 74 | def test_contains_close_message(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 83 | def test_contains_html_marker(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 87 | def test_contains_snapshot_hint(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 96 | def test_contains_html_marker(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 117 | def test_contains_html_marker(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 121 | def test_contains_status_code(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 126 | def test_contains_details_tag(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 136 | def test_contains_html_marker(self): | CODE |
| LOW⚡ | scripts/python/tests/test_formatter.py | 140 | def test_contains_success_emoji(self): | CODE |
| LOW⚡ | scripts/python/tests/test_extractor.py | 33 | def test_unreachable_snapshot(self): | CODE |
| LOW⚡ | scripts/python/tests/test_extractor.py | 41 | def test_markdown_link_preserves_display_text(self): | CODE |
| LOW⚡ | scripts/python/tests/test_extractor.py | 49 | def test_ignore_non_target_url(self): | CODE |
| LOW | scripts/python/tests/test_converter.py | 18 | def test_convert_github_attachment(self): | CODE |
| LOW | scripts/python/tests/test_converter.py | 39 | def test_filename_parse_valid(self): | CODE |
| LOW | scripts/python/tests/test_converter.py | 54 | def test_filename_parse_invalid(self): | CODE |
| LOW | scripts/python/tests/test_converter.py | 74 | def test_preserve_display_text(self): | CODE |
| LOW | scripts/python/utils/common.py | 155 | def build_full_text_from_links(links: list) -> str: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/python/debug_sim.py | 150 | # Step 1: 链接提取 | COMMENT |
| LOW | scripts/python/debug_sim.py | 161 | # Step 2: 快照检查 | COMMENT |
| LOW⚡ | scripts/python/debug_sim.py | 181 | # Step 3: 不可访问快照检查 | COMMENT |
| LOW⚡ | scripts/python/debug_sim.py | 189 | # Step 4: 网络有效性检查 | COMMENT |
| LOW | scripts/python/debug_sim.py | 205 | # Step 5: 评论生成 | COMMENT |
| LOW⚡ | scripts/python/api/issue_checker.py | 89 | # Step 1: 检查是否缺少快照(唯一致命) | COMMENT |
| LOW⚡ | scripts/python/api/issue_checker.py | 96 | # Step 2: 检查不可访问快照链接(非致命) | COMMENT |
| LOW⚡ | scripts/python/api/issue_checker.py | 102 | # Step 3: 网络有效性检查 | COMMENT |
| LOW | scripts/python/api/issue_checker.py | 117 | # Step 4: 链接转换 + Bot 评论生成 | COMMENT |
| LOW | scripts/python/api/issue_checker.py | 128 | # Step 5: 恢复判断(仅当 Issue 确实存在警告标签时才触发) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/python/debug_sim.py | 150 | # Step 1: 链接提取 | COMMENT |
| LOW | scripts/python/debug_sim.py | 161 | # Step 2: 快照检查 | COMMENT |
| LOW⚡ | scripts/python/debug_sim.py | 181 | # Step 3: 不可访问快照检查 | COMMENT |
| LOW⚡ | scripts/python/debug_sim.py | 189 | # Step 4: 网络有效性检查 | COMMENT |
| LOW | scripts/python/debug_sim.py | 205 | # Step 5: 评论生成 | COMMENT |
| LOW⚡ | scripts/python/api/issue_checker.py | 89 | # Step 1: 检查是否缺少快照(唯一致命) | COMMENT |
| LOW⚡ | scripts/python/api/issue_checker.py | 96 | # Step 2: 检查不可访问快照链接(非致命) | COMMENT |
| LOW⚡ | scripts/python/api/issue_checker.py | 102 | # Step 3: 网络有效性检查 | COMMENT |
| LOW | scripts/python/api/issue_checker.py | 117 | # Step 4: 链接转换 + Bot 评论生成 | COMMENT |
| LOW | scripts/python/api/issue_checker.py | 128 | # Step 5: 恢复判断(仅当 Issue 确实存在警告标签时才触发) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/python/debug_sim.py | 119 | except Exception: | CODE |
| LOW | scripts/python/core/snapshot_parser.py | 61 | except Exception: | CODE |
| LOW | scripts/python/core/snapshot_parser.py | 85 | except Exception: | CODE |
| LOW | scripts/python/core/checker.py | 196 | except Exception as e: | CODE |
| LOW | scripts/python/core/checker.py | 243 | except Exception as e: | CODE |
| LOW | scripts/python/core/checker.py | 288 | except Exception as e: | CODE |
| LOW | scripts/python/utils/cache.py | 54 | except Exception: | CODE |
| LOW | scripts/python/utils/cache.py | 95 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/gkd-rule-writing/scripts/png_rgba.py | 51 | CODE | |
| LOW | scripts/python/debug_sim.py | 240 | CODE | |
| LOW | scripts/python/core/snapshot_parser.py | 65 | CODE | |
| LOW | scripts/python/tests/verify.py | 79 | CODE | |
| LOW | scripts/python/tests/verify.py | 239 | CODE | |
| LOW | scripts/python/api/base.py | 117 | CODE | |
| LOW | scripts/python/api/base.py | 185 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/python/core/snapshot_parser.py | 85 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/python/core/__init__.py | 17 | __all__ = [ | CODE |
| LOW | scripts/python/entry/__init__.py | 9 | __all__ = ["check_issue_main"] | CODE |
| LOW | scripts/python/utils/__init__.py | 11 | __all__ = [ | CODE |
| LOW | scripts/python/api/__init__.py | 21 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/python/debug_sim.py | 234 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/apps/com.xingin.xhs.ts | 461 | // { | COMMENT |