Local MTProto proxy server for partial bypassing of Telegram loading
This report presents the forensic synthetic code analysis of Flowseal/tg-ws-proxy, a Python project with 8,957 GitHub stars. SynthScan v2.0 examined 8,681 lines of code across 52 source files, recording 186 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 24.2 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 186 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | macos.py | 29 | except Exception: | CODE |
| LOW | macos.py | 207 | except Exception as exc: | CODE |
| LOW | macos.py | 259 | except Exception: | CODE |
| LOW | macos.py | 264 | except Exception: | CODE |
| LOW | macos.py | 275 | except Exception as exc: | CODE |
| LOW | macos.py | 288 | except Exception as exc: | CODE |
| LOW | macos.py | 357 | except Exception as exc: | CODE |
| LOW | macos.py | 537 | except Exception: | CODE |
| LOW | macos.py | 545 | except Exception: | CODE |
| LOW | macos.py | 629 | except Exception: | CODE |
| LOW | windows.py | 83 | except Exception: | CODE |
| LOW | windows.py | 94 | except Exception: | CODE |
| LOW | windows.py | 257 | except Exception as exc: | CODE |
| LOW | windows.py | 271 | except Exception as exc: | CODE |
| LOW | windows.py | 281 | except Exception as exc: | CODE |
| LOW | windows.py | 314 | except Exception as exc: | CODE |
| LOW | windows.py | 346 | except Exception as exc: | CODE |
| LOW | windows.py | 399 | except Exception: | CODE |
| LOW | windows.py | 411 | except Exception as exc: | CODE |
| LOW | windows.py | 424 | except Exception as exc: | CODE |
| LOW | windows.py | 444 | except Exception as exc: | CODE |
| MEDIUM | windows.py | 365 | def is_autostart_enabled() -> bool: | CODE |
| LOW | linux.py | 50 | except Exception: | CODE |
| LOW | linux.py | 85 | except Exception as exc: | CODE |
| LOW | linux.py | 95 | except Exception as exc: | CODE |
| LOW | ui/ctk_theme.py | 93 | except Exception: | CODE |
| MEDIUM | ui/ctk_theme.py | 90 | def _safe_destroy(): | CODE |
| LOW | ui/ctk_tooltip.py | 37 | except Exception: | CODE |
| LOW | ui/ctk_tooltip.py | 48 | except Exception: | CODE |
| LOW | ui/ctk_tooltip.py | 55 | except Exception: | CODE |
| LOW | ui/ctk_tooltip.py | 82 | except Exception: | CODE |
| MEDIUM | ui/ctk_tray_ui.py | 541 | def _worker(): | CODE |
| MEDIUM | ui/ctk_tray_ui.py | 558 | def _worker_auto(): | CODE |
| MEDIUM | ui/ctk_tray_ui.py | 663 | def _worker(): | CODE |
| LOW | ui/ctk_tray_ui.py | 172 | except Exception: | CODE |
| LOW | ui/ctk_tray_ui.py | 217 | except Exception: | CODE |
| LOW | ui/ctk_tray_ui.py | 316 | except Exception: | CODE |
| LOW | ui/ctk_tray_ui.py | 551 | except Exception as exc: | CODE |
| LOW | ui/ctk_tray_ui.py | 571 | except Exception as exc: | CODE |
| LOW | ui/ctk_tray_ui.py | 672 | except Exception as exc: | CODE |
| LOW | ui/i18n/__init__.py | 78 | except Exception: | CODE |
| LOW | proxy/raw_websocket.py | 179 | except Exception: | CODE |
| LOW | proxy/raw_websocket.py | 188 | except Exception: | CODE |
| LOW | proxy/raw_websocket.py | 208 | except Exception: | CODE |
| LOW | proxy/raw_websocket.py | 213 | except Exception: | CODE |
| LOW | proxy/raw_websocket.py | 232 | except Exception: | CODE |
| LOW | proxy/config.py | 116 | except Exception as exc: | CODE |
| MEDIUM | proxy/config.py | 105 | def _fetch_cfproxy_domain_list() -> List[str]: | CODE |
| LOW | proxy/fake_tls.py | 215 | except Exception as exc: | CODE |
| LOW⚡ | proxy/fake_tls.py | 243 | except Exception: | CODE |
| LOW⚡ | proxy/fake_tls.py | 250 | except Exception: | CODE |
| LOW⚡ | proxy/fake_tls.py | 255 | except Exception: | CODE |
| LOW | proxy/bridge.py | 205 | except Exception as exc: | CODE |
| LOW | proxy/bridge.py | 239 | except Exception as exc: | CODE |
| LOW | proxy/bridge.py | 261 | except Exception as exc: | CODE |
| LOW | proxy/bridge.py | 322 | except Exception as e: | CODE |
| LOW | proxy/bridge.py | 349 | except Exception as e: | CODE |
| LOW | proxy/bridge.py | 406 | except Exception as e: | CODE |
| MEDIUM | proxy/bridge.py | 387 | def forward(src, dst_w, is_up): | CODE |
| LOW | proxy/tg_ws_proxy.py | 273 | except Exception: | CODE |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | macos.py | 1 | CODE | |
| LOW | macos.py | 3 | CODE | |
| LOW | macos.py | 9 | CODE | |
| LOW | macos.py | 67 | CODE | |
| LOW | macos.py | 67 | CODE | |
| LOW | windows.py | 1 | CODE | |
| LOW | linux.py | 1 | CODE | |
| LOW | ui/ctk_theme.py | 1 | CODE | |
| LOW | ui/ctk_tooltip.py | 1 | CODE | |
| LOW | ui/ctk_tray_ui.py | 1 | CODE | |
| LOW | ui/i18n/__init__.py | 1 | CODE | |
| LOW | proxy/fake_tls.py | 1 | CODE | |
| LOW | proxy/bridge.py | 8 | CODE | |
| LOW | proxy/__init__.py | 1 | CODE | |
| LOW | proxy/__init__.py | 1 | CODE | |
| LOW | proxy/__init__.py | 1 | CODE | |
| LOW | proxy/__init__.py | 2 | CODE | |
| LOW | proxy/__init__.py | 2 | CODE | |
| LOW | proxy/tg_ws_proxy.py | 1 | CODE | |
| LOW | proxy/tg_ws_proxy.py | 23 | CODE | |
| LOW | proxy/_aes.py | 11 | CODE | |
| LOW | proxy/_aes.py | 14 | CODE | |
| LOW | utils/tray_common.py | 1 | CODE | |
| LOW | utils/win32_theme.py | 1 | CODE | |
| LOW | utils/update_check.py | 7 | CODE | |
| LOW | utils/diagnostics.py | 1 | CODE | |
| LOW | utils/__init__.py | 3 | CODE | |
| LOW | utils/__init__.py | 3 | CODE | |
| LOW | utils/__init__.py | 3 | CODE | |
| LOW | utils/default_config.py | 5 | CODE | |
| LOW | utils/logging_setup.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | macos.py | 252 | CODE | |
| LOW | macos.py | 366 | CODE | |
| LOW | windows.py | 226 | CODE | |
| LOW | windows.py | 374 | CODE | |
| LOW | ui/ctk_tray_ui.py | 43 | CODE | |
| LOW | ui/ctk_tray_ui.py | 115 | CODE | |
| LOW | ui/ctk_tray_ui.py | 360 | CODE | |
| LOW | ui/i18n/__init__.py | 61 | CODE | |
| LOW | proxy/config.py | 81 | CODE | |
| LOW | proxy/fake_tls.py | 210 | CODE | |
| LOW | proxy/bridge.py | 131 | CODE | |
| LOW | proxy/bridge.py | 273 | CODE | |
| LOW | proxy/bridge.py | 291 | CODE | |
| LOW | proxy/bridge.py | 326 | CODE | |
| LOW | proxy/tg_ws_proxy.py | 250 | CODE | |
| LOW | proxy/tg_ws_proxy.py | 466 | CODE | |
| LOW | proxy/pool.py | 74 | CODE | |
| LOW | proxy/pool.py | 119 | CODE | |
| LOW | utils/tray_common.py | 68 | CODE | |
| LOW | utils/update_check.py | 267 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | macos.py | 316 | def _check_updates_menu_title() -> str: | CODE |
| LOW | macos.py | 337 | def _maybe_notify_update_async() -> None: | CODE |
| LOW | ui/ctk_theme.py | 11 | def install_tkinter_variable_del_guard() -> None: | CODE |
| LOW | ui/ctk_tooltip.py | 107 | def attach_tooltip_to_widgets(widgets: List[Any], text: str, **kwargs: Any) -> None: | CODE |
| LOW | ui/ctk_tray_ui.py | 90 | def _run_cfproxy_connectivity_test(domain: str) -> dict: | CODE |
| LOW | ui/ctk_tray_ui.py | 98 | def _run_cfworker_connectivity_test(domain: str) -> dict: | CODE |
| LOW | ui/ctk_tray_ui.py | 131 | def _show_connectivity_results(title_base: str, results: dict, | CODE |
| LOW | ui/ctk_tray_ui.py | 178 | def _show_multi_connectivity_results(title_base: str, per_domain: dict, | CODE |
| LOW | ui/ctk_tray_ui.py | 299 | def tray_settings_scroll_and_footer( | CODE |
| LOW | ui/ctk_tray_ui.py | 648 | def _sync_cfworker_test_button(*_): | CODE |
| LOW | ui/ctk_tray_ui.py | 886 | def install_tray_config_buttons( | CODE |
| LOW | ui/ctk_tray_ui.py | 921 | def populate_first_run_window( | CODE |
| LOW | ui/i18n/__init__.py | 141 | def language_label_for_config(value: LocaleInput) -> str: | CODE |
| LOW | ui/i18n/__init__.py | 150 | def refresh_language_option_maps() -> None: | CODE |
| LOW | proxy/config.py | 105 | def _fetch_cfproxy_domain_list() -> List[str]: | CODE |
| LOW | proxy/config.py | 184 | def start_cfproxy_domain_refresh() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | proxy/pool.py | 314 | CODE | |
| MEDIUM | proxy/pool.py | 317 | CODE | |
| MEDIUM | proxy/pool.py | 318 | CODE | |
| MEDIUM | proxy/pool.py | 320 | CODE | |
| MEDIUM | proxy/pool.py | 321 | CODE | |
| MEDIUM | proxy/pool.py | 322 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | macos.py | 610 | def update_menu_title(self) -> None: | CODE |
| LOW | windows.py | 174 | def _set_status(msg: str) -> None: | CODE |
| LOW | windows.py | 374 | def set_autostart_enabled(enabled: bool) -> None: | CODE |
| LOW | proxy/__init__.py | 6 | __all__ = ["__version__", "get_link_host", "proxy_config", "parse_dc_ip_list", "build_github_opener", "coerce_domain_lis | CODE |
| LOW | proxy/balancer.py | 12 | def update_domains_list(self, domains_list: List[str]) -> None: | CODE |
| LOW | utils/__init__.py | 5 | __all__ = ["RELEASES_PAGE_URL", "get_status", "run_check"] | CODE |