面向 OpenClash 用户的配置、订阅转换模板、YAML、规则、覆写模块、脚本与中文教程。
This report summarizes scanner evidence for Aethersailor/Custom_OpenClash_Rules, a Shell project with 6,707 GitHub stars. SynthScan examined 124,608 lines of code across 217 source files, recording 61 pattern matches distributed across 6 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.
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? 43 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 19 finding(s).
Which changes need focused human review? 61 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 61 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | shell/archived/edit_custom_firewall_rules.sh | 15 | # --------------------------- | COMMENT |
| MEDIUM | shell/archived/edit_custom_firewall_rules.sh | 17 | # --------------------------- | COMMENT |
| MEDIUM | shell/archived/edit_custom_firewall_rules.sh | 49 | # --------------------------- | COMMENT |
| MEDIUM | shell/archived/edit_custom_firewall_rules.sh | 51 | # --------------------------- | COMMENT |
| MEDIUM⚡ | shell/archived/edit_custom_firewall_rules.sh | 67 | # --------------------------- | COMMENT |
| MEDIUM⚡ | shell/archived/edit_custom_firewall_rules.sh | 69 | # --------------------------- | COMMENT |
| MEDIUM⚡ | shell/archived/edit_custom_firewall_rules.sh | 78 | # --------------------------- | COMMENT |
| MEDIUM⚡ | shell/archived/edit_custom_firewall_rules.sh | 81 | # --------------------------- | COMMENT |
| MEDIUM | shell/archived/edit_custom_firewall_rules.sh | 227 | # --------------------------- | COMMENT |
| MEDIUM | shell/archived/edit_custom_firewall_rules.sh | 229 | # --------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cfg/yaml/Custom_Clash_Full_Fallback.yaml | 1 | # Custom_OpenClash_Rules | COMMENT |
| LOW | cfg/yaml/Custom_Clash_Full.yaml | 1 | # Custom_OpenClash_Rules | COMMENT |
| LOW | cfg/yaml/Custom_Clash_Full.yaml | 21 | header: # 可选:自定义 HTTP 请求头 | COMMENT |
| LOW | cfg/yaml/Custom_Clash_Full.yaml | 41 | # - "♻️ 自动选择" | COMMENT |
| LOW | cfg/yaml/Custom_Clash_Full.yaml | 1021 | # - "♻️ 自动选择" | COMMENT |
| LOW | cfg/yaml/Custom_Clash_Selfhosted_Manual_Fallback.yaml | 1 | # Custom_OpenClash_Rules | COMMENT |
| LOW | cfg/yaml/Complete_YAML_Configuration_Template.yaml | 1 | # Custom_OpenClash_Rules | COMMENT |
| LOW | cfg/yaml/Custom_Clash_Selfhosted_Provider_Fallback.yaml | 1 | # Custom_OpenClash_Rules | COMMENT |
| LOW | …_rule/Overwatch2/Overwatch2_Asia-Singapore_Domain.yaml | 1 | # Generated from rule/game_rule/Overwatch2/Overwatch2_Asia-Singapore.list | COMMENT |
| LOW | …field-1/Battlefield-1_Windows-PC_Hong-Kong_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Hong-Kong.list | COMMENT |
| LOW | …lefield-1/Battlefield-1_Windows-PC_Oceania_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Oceania.list | COMMENT |
| LOW | …efield-1/Battlefield-1_Windows-PC_Americas_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Americas.list | COMMENT |
| LOW | …eld-1/Battlefield-1_Windows-PC_All-Servers_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_All-Servers.list | COMMENT |
| LOW | …efield-1/Battlefield-1_Windows-PC_Asia-All_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Asia-All.list | COMMENT |
| LOW | …ield-1/Battlefield-1_Windows-PC_Antarctica_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Antarctica.list | COMMENT |
| LOW | …tlefield-1/Battlefield-1_Windows-PC_Africa_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Africa.list | COMMENT |
| LOW | …tlefield-1/Battlefield-1_Windows-PC_Europe_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Europe.list | COMMENT |
| LOW | …ttlefield-1/Battlefield-1_Windows-PC_Japan_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-1/Battlefield-1_Windows-PC_Japan.list | COMMENT |
| LOW | …me_rule/Battlefield-6/Battlefield-6_Europe_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Europe.list | COMMENT |
| LOW | …ttlefield-6/Battlefield-6_Community-Portal_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Community-Portal.list | COMMENT |
| LOW | …le/Battlefield-6/Battlefield-6_Middle-East_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Middle-East.list | COMMENT |
| LOW | …rule/Battlefield-6/Battlefield-6_Singapore_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Singapore.list | COMMENT |
| LOW | …/Battlefield-6/Battlefield-6_United-States_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_United-States.list | COMMENT |
| LOW | …e/Battlefield-6/Battlefield-6_South-Africa_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_South-Africa.list | COMMENT |
| LOW | …e_rule/Battlefield-6/Battlefield-6_Oceania_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Oceania.list | COMMENT |
| LOW | …ttlefield-6/Battlefield-6_Hong-Kong-Redsec_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Hong-Kong-Redsec.list | COMMENT |
| LOW | …ame_rule/Battlefield-6/Battlefield-6_Korea_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Korea.list | COMMENT |
| LOW | …ame_rule/Battlefield-6/Battlefield-6_Japan_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_Japan.list | COMMENT |
| LOW | …le/Battlefield-6/Battlefield-6_All-Servers_Domain.yaml | 1 | # Generated from rule/game_rule/Battlefield-6/Battlefield-6_All-Servers.list | COMMENT |
| LOW | …icrosoft-Flight-Simulator-2020_All-Servers_Domain.yaml | 1 | # Generated from rule/game_rule/Microsoft-Flight-Simulator-2020/Microsoft-Flight-Simulator-2020_All-Servers.list | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/generate_rules.py | 4 | CODE | |
| LOW | py/sync_installer_common.py | 4 | CODE | |
| LOW | py/update_encrypted_dns.py | 4 | CODE | |
| LOW | py/extract_uu_game_routes.py | 4 | CODE | |
| LOW | .github/scripts/wiki_backup.py | 4 | CODE | |
| LOW | .github/scripts/jsdelivr_purge.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/generate_rules.py | 44 | CODE | |
| LOW | py/generate_rules.py | 134 | CODE | |
| LOW | py/generate_rules.py | 168 | CODE | |
| LOW | py/generate_rules.py | 271 | CODE | |
| LOW | py/update_encrypted_dns.py | 135 | CODE | |
| LOW | .github/scripts/jsdelivr_purge.py | 762 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/sync_installer_common.py | 95 | def synchronized_light_content(light: str, full: str) -> str: | CODE |
| LOW | .github/scripts/jsdelivr_purge.py | 195 | def deferred_publication_paths(contract: PublishContract) -> frozenset[str]: | CODE |
| LOW | .github/scripts/jsdelivr_purge.py | 335 | def worker_snapshot_generation_inputs( | CODE |
| LOW | .github/scripts/jsdelivr_purge.py | 360 | def list_worker_snapshot_blobs( | CODE |
| LOW | .github/scripts/jsdelivr_purge.py | 689 | def command_plan_worker_snapshot(args: argparse.Namespace) -> None: | STRING |
| LOW | .github/scripts/jsdelivr_purge.py | 715 | def command_build_worker_assets(args: argparse.Namespace) -> None: | STRING |
| LOW | workers/repository-mirror/src/index.js | 60 | function configuredSnapshotRevision(env) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | py/update_encrypted_dns.py | 60 | except Exception as exc: # urllib exposes several unrelated error types | CODE |
| LOW | .github/scripts/jsdelivr_purge.py | 589 | except Exception as exc: # noqa: BLE001 - aggregate all provider failures | STRING |