自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili
This report presents the forensic synthetic code analysis of dreammis/social-auto-upload, a Python project with 13,265 GitHub stars. SynthScan v2.0 examined 19,515 lines of code across 129 source files, recording 252 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 13.2 places this repository in the Low 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 252 distinct pattern matches across 9 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 | sau_cli.py | 1015 | except Exception as exc: | CODE |
| LOW | sau_backend.py | 73 | except Exception as e: | CODE |
| LOW | sau_backend.py | 151 | except Exception as e: | STRING |
| LOW | sau_backend.py | 191 | except Exception as e: | STRING |
| LOW | sau_backend.py | 221 | except Exception as e: | CODE |
| LOW | sau_backend.py | 297 | except Exception as e: | STRING |
| LOW | sau_backend.py | 316 | except Exception as e: | STRING |
| LOW | sau_backend.py | 362 | except Exception as e: | STRING |
| LOW | sau_backend.py | 375 | except Exception as e: | STRING |
| LOW | sau_backend.py | 473 | except Exception as e: | STRING |
| LOW | sau_backend.py | 512 | except Exception as e: | STRING |
| LOW | sau_backend.py | 633 | except Exception as e: | STRING |
| LOW | sau_backend.py | 679 | except Exception as e: | STRING |
| MEDIUM | sau_backend.py | 160 | def get_all_files(): | CODE |
| MEDIUM | sau_backend.py | 569 | def upload_cookie(): | CODE |
| MEDIUM | sau_backend.py | 644 | def download_cookie(): | CODE |
| LOW | uploader/tk_uploader/main.py | 158 | except Exception as e: | CODE |
| LOW | uploader/tk_uploader/main.py | 231 | except Exception as e: | CODE |
| LOW | uploader/tk_uploader/main_chrome.py | 165 | except Exception as e: | CODE |
| LOW | uploader/tk_uploader/main_chrome.py | 267 | except Exception as e: | CODE |
| LOW | uploader/ks_uploader/main.py | 80 | except Exception: | CODE |
| LOW | uploader/ks_uploader/main.py | 95 | except Exception: | CODE |
| LOW | uploader/ks_uploader/main.py | 139 | except Exception: | CODE |
| LOW | uploader/ks_uploader/main.py | 149 | except Exception: | CODE |
| LOW | uploader/ks_uploader/main.py | 170 | except Exception as exc: | CODE |
| LOW | uploader/ks_uploader/main.py | 268 | except Exception as exc: | CODE |
| LOW | uploader/ks_uploader/main.py | 491 | except Exception: | STRING |
| LOW | uploader/ks_uploader/main.py | 525 | except Exception as exc: | STRING |
| LOW | uploader/ks_uploader/main.py | 552 | except Exception as exc: | STRING |
| LOW | uploader/ks_uploader/main.py | 631 | except Exception: | STRING |
| LOW | uploader/ks_uploader/main.py | 666 | except Exception as exc: | STRING |
| LOW | uploader/ks_uploader/main.py | 691 | except Exception as exc: | STRING |
| LOW | uploader/youtube_uploader/main.py | 28 | except Exception: | CODE |
| LOW | uploader/youtube_uploader/main.py | 64 | except Exception: | CODE |
| LOW⚡ | uploader/youtube_uploader/main.py | 117 | except Exception: | CODE |
| LOW⚡ | uploader/youtube_uploader/main.py | 124 | except Exception: | CODE |
| LOW | uploader/youtube_uploader/main.py | 141 | except Exception: | CODE |
| LOW | uploader/youtube_uploader/main.py | 153 | except Exception: | CODE |
| LOW | uploader/youtube_uploader/main.py | 171 | except Exception: | CODE |
| LOW | uploader/youtube_uploader/main.py | 244 | except Exception as exc: | CODE |
| LOW | uploader/youtube_uploader/main.py | 267 | except Exception as exc: | CODE |
| LOW | uploader/youtube_uploader/main.py | 286 | except Exception as exc: | CODE |
| LOW | uploader/youtube_uploader/main.py | 318 | except Exception: | CODE |
| LOW | uploader/youtube_uploader/main.py | 326 | except Exception: | CODE |
| LOW | uploader/bilibili_uploader/runtime.py | 163 | except Exception: | CODE |
| LOW⚡ | uploader/tencent_uploader/main.py | 129 | except Exception as exc: | CODE |
| LOW⚡ | uploader/tencent_uploader/main.py | 145 | except Exception: | CODE |
| LOW⚡ | uploader/tencent_uploader/main.py | 243 | except Exception: | CODE |
| LOW⚡ | uploader/tencent_uploader/main.py | 258 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 162 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 209 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 225 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 275 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 295 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 384 | except Exception as exc: | CODE |
| LOW | uploader/tencent_uploader/main.py | 500 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 514 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 576 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 637 | except Exception: | CODE |
| LOW | uploader/tencent_uploader/main.py | 652 | except Exception as exc: | CODE |
| 51 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sau_cli.py | 243 | async def login_xiaohongshu_account(account_name: str, headless: bool = True) -> dict: | CODE |
| LOW | sau_cli.py | 248 | async def check_xiaohongshu_account(account_name: str) -> bool: | CODE |
| LOW | uploader/bilibili_uploader/runtime.py | 43 | def build_biliup_runtime_path(system_name: str | None = None) -> Path: | CODE |
| LOW | uploader/bilibili_uploader/runtime.py | 48 | def _build_biliup_version_path(system_name: str | None = None) -> Path: | CODE |
| LOW | uploader/bilibili_uploader/runtime.py | 96 | def read_local_biliup_version() -> str | None: | CODE |
| LOW | uploader/bilibili_uploader/runtime.py | 103 | def write_local_biliup_version(version: str) -> None: | CODE |
| LOW⚡ | uploader/tencent_uploader/main.py | 136 | async def _extract_tencent_qrcode_src(page: Page) -> str: | CODE |
| LOW⚡ | uploader/tencent_uploader/main.py | 248 | async def _is_tencent_qrcode_scanned(page: Page) -> bool: | CODE |
| LOW | uploader/tencent_uploader/main.py | 93 | def format_str_for_short_title(origin_title: str) -> str: | CODE |
| LOW | uploader/tencent_uploader/main.py | 199 | async def _is_tencent_login_completed(page: Page) -> bool: | CODE |
| LOW | uploader/tencent_uploader/main.py | 231 | async def _is_tencent_qrcode_expired(page: Page) -> bool: | CODE |
| LOW | uploader/tencent_uploader/main.py | 473 | async def set_schedule_time_tencent(self, page: Page, publish_date: datetime): | CODE |
| LOW | uploader/tencent_uploader/main.py | 808 | async def upload_thumbnail_in_dialog(self, page: Page, cover_dialog, thumbnail_path: str) -> None: | CODE |
| LOW | uploader/tencent_uploader/main.py | 876 | async def prepare_video_for_publish(self, page: Page) -> None: | CODE |
| LOW | uploader/douyin_uploader/main.py | 89 | async def _extract_douyin_qrcode_src(page: Page) -> str: | CODE |
| LOW | uploader/douyin_uploader/main.py | 149 | async def _is_douyin_login_completed(page: Page) -> bool: | CODE |
| LOW | uploader/douyin_uploader/main.py | 305 | async def fill_title_and_description(self, page: Page, title: str, description: str, tags: list[str] | None = None): | CODE |
| LOW | uploader/xiaohongshu_uploader/main.py | 323 | async def set_schedule_time_xiaohongshu(self, page: Page, publish_date: datetime): | CODE |
| LOW | uploader/xiaohongshu_uploader/main.py | 449 | async def check_original_declaration(self, page: Page) -> None: | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 93 | def test_creator_urls_keep_xiaohongshu_domain_by_default(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 100 | def test_creator_urls_use_configured_rednote_domain(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 116 | def test_find_xhs_qrcode_locator_prefers_scan_sibling_inside_login_box(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 144 | def test_setup_returns_detail_when_cookie_invalid_without_handle(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 156 | def test_setup_uses_login_flow_when_handle_is_true(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 180 | def test_video_validate_upload_args_normalizes_video_and_thumbnail(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 207 | def test_note_uploader_exists_and_validates_required_fields(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 221 | def test_video_fill_meta_uses_desc_then_first_tag(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 249 | def test_video_fill_meta_can_fill_first_tag_without_desc(self): | CODE |
| LOW | tests/test_xiaohongshu_uploader.py | 268 | def test_note_title_defaults_do_not_override_explicit_title(self): | CODE |
| LOW | tests/test_bilibili_runtime.py | 13 | def test_build_biliup_runtime_path_returns_platform_path(self): | CODE |
| LOW | tests/test_bilibili_runtime.py | 18 | def test_ensure_biliup_binary_downloads_when_missing(self, mock_release): | CODE |
| LOW | tests/test_bilibili_runtime.py | 33 | def test_ensure_biliup_binary_reuses_local_when_up_to_date(self, mock_release): | CODE |
| LOW | tests/test_bilibili_runtime.py | 49 | def test_run_biliup_command_returns_completed_process(self, mock_ensure_binary, mock_run): | CODE |
| LOW | tests/test_bilibili_runtime.py | 57 | def test_run_biliup_command_login_uses_interactive_stdio(self, mock_ensure_binary, mock_run): | CODE |
| LOW | tests/test_sau_browser_cli.py | 12 | def test_build_parser_accepts_xiaohongshu_login(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 18 | def test_douyin_upload_video_accepts_desc(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 41 | def test_douyin_upload_video_accepts_dual_thumbnail_aspects(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 71 | def test_tencent_upload_video_accepts_dual_thumbnail_aspects(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 101 | def test_kuaishou_upload_note_accepts_title_and_note(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 125 | def test_xiaohongshu_upload_video_defaults_to_headless(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 146 | def test_xiaohongshu_upload_note_accepts_headed(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 172 | def test_dispatch_xiaohongshu_check_prints_valid(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 178 | def test_dispatch_douyin_upload_note_uses_new_request_fields(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 198 | def test_dispatch_douyin_upload_video_uses_dual_thumbnail_request_fields(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 223 | def test_dispatch_tencent_upload_video_uses_dual_thumbnail_request_fields(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 249 | def test_dispatch_xiaohongshu_upload_video_uses_headed_request(self): | CODE |
| LOW | tests/test_sau_browser_cli.py | 271 | def test_dispatch_xiaohongshu_upload_note_uses_headless_request(self): | CODE |
| LOW | tests/test_sau_bilibili_cli.py | 10 | def test_build_parser_accepts_bilibili_login(self): | CODE |
| LOW | tests/test_sau_bilibili_cli.py | 16 | def test_build_parser_requires_tid_for_upload_video(self): | CODE |
| LOW | tests/test_sau_bilibili_cli.py | 34 | def test_dispatch_bilibili_check_prints_valid(self): | CODE |
| LOW | tests/test_sau_bilibili_cli.py | 40 | def test_login_bilibili_account_returns_friendly_message_without_terminal(self): | CODE |
| LOW | utils/base_social_media.py | 13 | def get_supported_social_media() -> List[str]: | CODE |
| LOW | utils/files_times.py | 41 | def generate_schedule_time_next_day(total_videos, videos_per_day = 1, daily_times=None, timestamps=False, start_days=0): | CODE |
| LOW | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 83 | def test_build_biliup_runtime_path_returns_platform_path(self): | CODE |
| LOW | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 88 | def test_ensure_biliup_binary_downloads_when_missing(self, mock_release): | CODE |
| LOW | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 99 | def test_ensure_biliup_binary_reuses_local_when_up_to_date(self, mock_release): | CODE |
| LOW | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 111 | def test_run_biliup_command_returns_completed_process(self, mock_run): | CODE |
| LOW⚡ | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 135 | def build_biliup_runtime_path(system_name: str | None = None) -> Path: ... | CODE |
| LOW⚡ | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 137 | def read_local_biliup_version() -> str | None: ... | CODE |
| LOW⚡ | …powers/plans/2026-03-25-bilibili-cli-implementation.md | 138 | def write_local_biliup_version(version: str) -> None: ... | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sau_cli.py | 1 | CODE | |
| LOW | sau_backend.py | 11 | CODE | |
| LOW | uploader/base_video.py | 1 | CODE | |
| LOW | uploader/ks_uploader/main.py | 2 | CODE | |
| LOW | uploader/bilibili_uploader/runtime.py | 1 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 7 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 8 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 9 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 10 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 11 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 12 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 13 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 14 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 15 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 16 | CODE | |
| LOW | uploader/tencent_uploader/__init__.py | 17 | CODE | |
| LOW | uploader/tencent_uploader/main.py | 2 | CODE | |
| LOW | uploader/xiaohongshu_uploader/main.py | 2 | CODE | |
| LOW | examples/upload_to_kuaishou.py | 14 | CODE | |
| LOW | examples/get_bilibili_cookie.py | 1 | CODE | |
| LOW | db/createTable.py | 2 | CODE | |
| LOW | db/createTable.py | 3 | CODE | |
| LOW | …hu-upload/scripts/examples/xiaohongshu_cli_template.py | 1 | CODE | |
| LOW | …ishou-upload/scripts/examples/kuaishou_cli_template.py | 1 | CODE | |
| LOW | …ibili-upload/scripts/examples/bilibili_cli_template.py | 1 | CODE | |
| LOW | …/douyin-upload/scripts/examples/douyin_cli_template.py | 1 | CODE | |
| LOW | myUtils/auth.py | 1 | CODE | |
| LOW | myUtils/auth.py | 2 | CODE | |
| LOW | myUtils/auth.py | 3 | CODE | |
| LOW | myUtils/auth.py | 6 | CODE | |
| LOW | myUtils/auth.py | 12 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sau_cli.py | 732 | CODE | |
| LOW | sau_backend.py | 160 | CODE | |
| LOW | sau_backend.py | 262 | CODE | |
| LOW | sau_backend.py | 324 | CODE | |
| LOW | uploader/tk_uploader/main.py | 241 | CODE | |
| LOW | uploader/tk_uploader/main_chrome.py | 281 | CODE | |
| LOW | uploader/ks_uploader/main.py | 191 | CODE | |
| LOW | uploader/ks_uploader/main.py | 451 | CODE | |
| LOW | uploader/youtube_uploader/main.py | 157 | CODE | |
| LOW | uploader/youtube_uploader/main.py | 200 | CODE | |
| LOW | uploader/bilibili_uploader/runtime.py | 123 | CODE | |
| LOW | uploader/tencent_uploader/main.py | 568 | CODE | |
| LOW | uploader/tencent_uploader/main.py | 688 | CODE | |
| LOW | uploader/douyin_uploader/main.py | 173 | CODE | |
| LOW | uploader/douyin_uploader/main.py | 550 | CODE | |
| LOW | uploader/xiaohongshu_uploader/main.py | 157 | CODE | |
| LOW | uploader/xiaohongshu_uploader/main.py | 222 | CODE | |
| LOW | uploader/xiaohongshu_uploader/main.py | 540 | CODE | |
| LOW | uploader/baijiahao_uploader/main.py | 254 | CODE | |
| LOW | tests/test_bilibili_runtime.py | 18 | CODE | |
| LOW | tests/test_bilibili_runtime.py | 33 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | uploader/youtube_uploader/main.py | 116 | await page.evaluate("() => { const a = document.activeElement; if (a && a.blur) a.blur(); }") | CODE |
| HIGH | uploader/baijiahao_uploader/main.py | 390 | processedList.push(title); | CODE |
| HIGH | uploader/baijiahao_uploader/main.py | 397 | batchList.push(title); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | uploader/tencent_uploader/__init__.py | 19 | __all__ = [ | CODE |
| LOW | uploader/tencent_uploader/main.py | 534 | async def set_short_title(self, page: Page, title: str, short_title: str | None = None) -> None: | CODE |
| LOW | uploader/tencent_uploader/main.py | 841 | async def set_thumbnail(self, page: Page) -> None: | CODE |
| LOW | uploader/douyin_uploader/main.py | 406 | async def set_self_declaration(self, page: Page, declaration: str = "内容为个人观点或见解") -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | uploader/tencent_uploader/main.py | 720 | CODE | |
| LOW | uploader/douyin_uploader/main.py | 503 | CODE | |
| LOW | myUtils/postVideo.py | 32 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | uploader/baijiahao_uploader/main.py | 119 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sau_frontend/src/api/index.js | 1 | // API 统一导出 | COMMENT |