源 (自动整理)
This report summarizes scanner evidence for kimwang1978/collect-txt, a Python project with 1,965 GitHub stars. SynthScan examined 317,055 lines of code across 221 source files, recording 138 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.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? 45 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 85 finding(s).
Which changes need focused human review? 138 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 138 distinct pattern matches across 7 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 |
|---|---|---|---|---|
| LOW | filter.py | 22 | except Exception as e: | CODE |
| MEDIUM | filter.py | 23 | print(f"An error occurred: {e}") | CODE |
| LOW | filter.py | 61 | except Exception as e: | CODE |
| MEDIUM | filter.py | 62 | print(f"Error checking url: {e},{url}") | CODE |
| MEDIUM | filter.py | 99 | # print(f"Error getting resolution: {e},{url}") | COMMENT |
| LOW | filter.py | 141 | except Exception as e: | CODE |
| MEDIUM | filter.py | 13 | def read_txt_to_array(file_name): | CODE |
| MEDIUM | main.py | 36 | print(f"An error occurred: {e}") | CODE |
| MEDIUM | main.py | 26 | def read_txt_to_array(file_name): | CODE |
| MEDIUM | main.py | 491 | def process_url(url): | CODE |
| MEDIUM | main.py | 1194 | def make_m3u(txt_file, m3u_file): | CODE |
| LOW | main.py | 35 | except Exception as e: | CODE |
| LOW | main.py | 536 | except Exception as e: | CODE |
| LOW | main.py | 734 | except Exception as e: | CODE |
| LOW | main.py | 1145 | except Exception as e: | STRING |
| LOW | main.py | 1240 | except Exception as e: | STRING |
| LOW | assets/m3u_to_txt.py | 68 | except Exception as e: | CODE |
| LOW | assets/snapshot/snapshot.py | 16 | except Exception as e: | CODE |
| MEDIUM | assets/snapshot/snapshot.py | 17 | print(f"An error occurred: {e}") | CODE |
| LOW | assets/snapshot/snapshot.py | 64 | except Exception as e: | CODE |
| MEDIUM | assets/snapshot/snapshot.py | 7 | def read_txt_to_array(file_name): | CODE |
| LOW | assets/freetv/freetv.py | 44 | except Exception as e: | CODE |
| MEDIUM | assets/freetv/freetv.py | 45 | print(f"An error occurred: {e}") | CODE |
| LOW | assets/freetv/freetv.py | 83 | except Exception as e: | CODE |
| LOW | assets/freetv/freetv.py | 127 | except Exception as e: | CODE |
| LOW | assets/freetv/freetv.py | 181 | except Exception as e: | CODE |
| MEDIUM | assets/freetv/freetv.py | 35 | def read_txt_to_array(file_name): | CODE |
| MEDIUM | assets/freetv/freetv.py | 57 | def process_url(url): | CODE |
| LOW | assets/blacklist2/blacklist2.py | 38 | except Exception as e: | CODE |
| LOW | assets/blacklist2/blacklist2.py | 98 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 99 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist2/blacklist2.py | 112 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 113 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist2/blacklist2.py | 159 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 160 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist2/blacklist2.py | 187 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 188 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist2/blacklist2.py | 297 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 105 | def check_rtmp_url(url, timeout): | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 116 | def check_rtp_url(url, timeout): | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 163 | def check_p2p_url(url, timeout): | CODE |
| MEDIUM | assets/blacklist2/blacklist2.py | 268 | def process_url(url): | CODE |
| LOW | assets/special/special.py | 16 | except Exception as e: | CODE |
| MEDIUM | assets/special/special.py | 17 | print(f"An error occurred: {e}") | CODE |
| LOW | assets/special/special.py | 73 | except Exception as e: | CODE |
| LOW | assets/special/special.py | 105 | except Exception as e: | CODE |
| MEDIUM | assets/special/special.py | 7 | def read_txt_to_array(file_name): | CODE |
| MEDIUM | assets/special/special.py | 42 | def process_url(url): | CODE |
| LOW | assets/blacklist1/blacklist-test.py | 72 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 73 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist1/blacklist-test.py | 86 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 87 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist1/blacklist-test.py | 133 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 134 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist1/blacklist-test.py | 161 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 162 | print(f"Error checking {url}: {e}") | CODE |
| LOW | assets/blacklist1/blacklist-test.py | 264 | except Exception as e: | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 79 | def check_rtmp_url(url, timeout): | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 90 | def check_rtp_url(url, timeout): | CODE |
| MEDIUM | assets/blacklist1/blacklist-test.py | 137 | def check_p2p_url(url, timeout): | CODE |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | filter.py | 38 | CODE | |
| LOW | main.py | 70 | CODE | |
| LOW | main.py | 354 | CODE | |
| LOW | main.py | 491 | CODE | |
| LOW | main.py | 1194 | CODE | |
| LOW | assets/txt_to_m3u.py | 3 | CODE | |
| LOW | assets/freetv/freetv.py | 57 | CODE | |
| LOW | assets/blacklist2/blacklist2.py | 65 | CODE | |
| LOW | assets/blacklist2/blacklist2.py | 206 | CODE | |
| LOW | assets/blacklist2/blacklist2.py | 268 | CODE | |
| LOW | assets/blacklist2/blacklist2.py | 332 | CODE | |
| LOW | assets/special/special.py | 42 | CODE | |
| LOW | assets/blacklist1/blacklist-test.py | 46 | CODE | |
| LOW | assets/blacklist1/blacklist-test.py | 180 | CODE | |
| LOW | assets/blacklist1/blacklist-test.py | 241 | CODE | |
| LOW | assets/blacklist1/blacklist-test.py | 299 | CODE | |
| LOW | assets/blacklist1/blacklist1.py | 27 | CODE | |
| LOW | assets/blacklist1/blacklist1.py | 172 | CODE | |
| LOW | assets/blacklist1/blacklist1.py | 234 | CODE | |
| LOW | assets/blacklist1/blacklist1.py | 290 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | filter.py | 81 | cap.release() | COMMENT |
| LOW | main.py | 1121 | # with open(output_file_simple, 'w', encoding='utf-8') as f: | COMMENT |
| LOW | main.py | 1161 | if name == channel_name: | COMMENT |
| LOW | main.py | 1181 | # if logo_url is None: #not found logo | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1461 | 济宁综合,http://lives.jnnews.tv/video/s10001-JNTV-1/index.m3u8?shandd | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1481 | #广饶科教文艺,http://8.137.59.151:3000/shandong/qilu.php?id=dygrkj | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1501 | #安丘综合,http://8.137.59.151:3000/shandong/qilu.php?id=wfaqzh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1521 | #海阳综合,http://8.137.59.151:3000/shandong/qilu.php?id=ythyzh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1541 | #临淄新闻综合,http://8.137.59.151:3000/shandong/qilu.php?id=zblzxw | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1561 | #惠民综合,http://8.137.59.151:3000/shandong/qilu.php?id=bzhmzh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1581 | #庆云生活,http://8.137.59.151:3000/shandong/qilu.php?id=dzqysh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1601 | #嘉祥综合,http://8.137.59.151:3000/shandong/qilu.php?id=jijiazh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1621 | #茌平综合,http://8.137.59.151:3000/shandong/qilu.php?id=lccpzh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1641 | #河东综合,http://8.137.59.151:3000/shandong/qilu.php?id=lyhdzh | COMMENT |
| LOW | …s/snapshot/2024-11-09(M)/20241109093830_live202405.txt | 1661 | #莒县综合,http://8.137.59.151:3000/shandong/qilu.php?id=rzjx1 | COMMENT |
| LOW | assets/fofa/fofa.py | 61 | # time.sleep(random.uniform(1, 5)) # 延迟 1 到 5 秒之间的随机时间 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | filter.py | 5 | CODE | |
| LOW | assets/snapshot/snapshot.py | 3 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 2 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 3 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 4 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 5 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 6 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 6 | CODE | |
| LOW | assets/iptv-org/iptv-org.py | 6 | CODE | |
| LOW | assets/freetv/freetv.py | 2 | CODE | |
| LOW | assets/freetv/freetv.py | 3 | CODE | |
| LOW | assets/freetv/freetv.py | 4 | CODE | |
| LOW | assets/special/special.py | 2 | CODE | |
| LOW | assets/special/special.py | 3 | CODE | |
| LOW | assets/special/special.py | 3 | CODE | |
| LOW | assets/special/special.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 14 | def traditional_to_simplified(text: str) -> str: | CODE |
| LOW | main.py | 70 | def load_active_failure_blacklist(): | CODE |
| LOW | main.py | 126 | def load_active_host_blacklist(): | CODE |
| LOW | main.py | 328 | def normalize_failure_cache_url(url): | CODE |
| LOW | tools/stream-check-state.js | 143 | function seedHostHistoryFromFailureCache(state) { | CODE |
| LOW | assets/m3u_to_txt.py | 7 | def traditional_to_simplified(text: str) -> str: | CODE |
| LOW | assets/blacklist2/blacklist2.py | 206 | def process_urls_multithreaded(lines, max_workers=10): | CODE |
| LOW | assets/blacklist1/blacklist-test.py | 180 | def process_urls_multithreaded(lines, max_workers=18): | CODE |
| LOW | assets/blacklist1/blacklist1.py | 172 | def process_urls_multithreaded(lines, max_workers=30): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | main.py | 809 | function gtag(){dataLayer.push(arguments);} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | assets/fofa/fofa.py | 55 | # -------------------------------------- | COMMENT |