Supports comfyui/API calls/modelscope calls
This report presents the forensic synthetic code analysis of hero8152/Infinite-Canvas, a Python project with 2,123 GitHub stars. SynthScan v2.0 examined 102,257 lines of code across 83 source files, recording 1109 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 6.8 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 1109 distinct pattern matches across 7 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⚡ | main.py | 143 | async def broadcast_asset_library_updated(self, updated_at: int = 0): | CODE |
| LOW⚡ | main.py | 659 | def runninghub_wallet_key_env(): | CODE |
| LOW⚡ | main.py | 662 | def volcengine_access_key_env(): | CODE |
| LOW⚡ | main.py | 665 | def volcengine_secret_key_env(): | CODE |
| LOW⚡ | main.py | 695 | def runninghub_wallet_key_value() -> str: | CODE |
| LOW⚡ | main.py | 699 | def volcengine_access_key_value() -> str: | CODE |
| LOW⚡ | main.py | 703 | def volcengine_secret_key_value() -> str: | CODE |
| LOW⚡ | main.py | 707 | def volcengine_provider_api_key(explicit_key: str = "") -> str: | CODE |
| LOW⚡ | main.py | 1141 | def locked_recommended_provider_rule(provider_id="", name="", base_url=""): | CODE |
| LOW⚡ | main.py | 1155 | def apply_locked_recommended_model_rules(base_url="", grouped=None): | CODE |
| LOW⚡ | main.py | 4413 | def codex_output_url_from_path(path): | CODE |
| LOW⚡ | main.py | 5090 | def gemini_cli_reference_note(reference_images=None): | CODE |
| LOW⚡ | main.py | 5100 | async def gemini_cli_reference_paths(reference_images=None): | CODE |
| LOW⚡ | main.py | 5103 | def gemini_cli_image_size_instruction(size="", model=""): | CODE |
| LOW⚡ | main.py | 5714 | def jimeng_transition_duration(total_duration, transition_count): | CODE |
| LOW⚡ | main.py | 5722 | def jimeng_video_model_version(model): | CODE |
| LOW⚡ | main.py | 6685 | def parse_asset_classification_text(text): | CODE |
| LOW⚡ | main.py | 6698 | def _read_local_upload_classification(filename): | CODE |
| LOW⚡ | main.py | 6708 | def _write_local_upload_classification(filename, classification): | CODE |
| LOW⚡ | main.py | 6713 | def asset_classification_prompt(extra_prompt=""): | CODE |
| LOW⚡ | main.py | 6719 | async def classify_image_with_provider(abs_path, provider_id="", model="", ms_model="", prompt=""): | CODE |
| LOW⚡ | main.py | 6732 | async def classify_asset_image_best_effort(abs_path, provider_id="", model="", ms_model="", prompt=""): | CODE |
| LOW⚡ | main.py | 6739 | def migrate_asset_library_into_dirs(): | CODE |
| LOW⚡ | main.py | 6786 | def asset_library_workflow_category(lib, library_id="", category_id=""): | CODE |
| LOW⚡ | main.py | 7025 | def normalize_prompt_category_id(category="custom"): | CODE |
| LOW⚡ | main.py | 7029 | def normalize_prompt_library_item(item): | CODE |
| LOW⚡ | main.py | 7500 | def attachment_embedded_image_data_urls(refs, max_images=4): | CODE |
| LOW⚡ | main.py | 7610 | def volcengine_video_duration(duration) -> int: | CODE |
| LOW⚡ | main.py | 7617 | def volcengine_video_resolution(value: str) -> str: | CODE |
| LOW⚡ | main.py | 7627 | def probe_local_audio_duration_seconds(value: str) -> Optional[float]: | CODE |
| LOW⚡ | main.py | 9167 | def rewrite_runninghub_file_url(url): | CODE |
| LOW⚡ | main.py | 9178 | def runninghub_extract_outputs(data): | CODE |
| LOW⚡ | main.py | 9252 | def runninghub_is_workflow_link_value(value): | CODE |
| LOW⚡ | main.py | 9260 | def runninghub_workflow_node_info_list(workflow_json): | CODE |
| LOW⚡ | main.py | 10505 | def image_size_from_reference(ref): | CODE |
| LOW⚡ | main.py | 10518 | def chat_requested_image_count(message): | CODE |
| LOW⚡ | main.py | 10528 | def chat_split_parallel_prompts(prompt, count): | CODE |
| LOW⚡ | main.py | 10979 | def _local_upload_safe_folder(path_value): | CODE |
| LOW⚡ | main.py | 10983 | def _local_upload_safe_folder_name(name): | CODE |
| LOW⚡ | main.py | 10990 | def _local_upload_safe_file_stem(name): | CODE |
| LOW⚡ | main.py | 10998 | def _local_upload_caption_path(filename): | CODE |
| LOW⚡ | main.py | 11001 | def _read_local_upload_caption(filename): | CODE |
| LOW⚡ | main.py | 11051 | def _local_upload_folder_node(path="", name="全部上传"): | CODE |
| LOW⚡ | main.py | 11061 | def _local_upload_tree_and_items(): | CODE |
| LOW⚡ | main.py | 12331 | def volcengine_task_probe_url(base_url: str): | CODE |
| LOW⚡ | main.py | 12339 | async def probe_volcengine_task_endpoint(client, base_url: str, api_key: str): | CODE |
| LOW⚡ | main.py | 12356 | def openai_compat_root_for_probe(base_url: str): | CODE |
| LOW⚡ | main.py | 12364 | async def probe_openai_compat_bearer_endpoint(client, base_url: str, api_key: str): | CODE |
| LOW⚡ | main.py | 12386 | async def probe_openai_models_endpoint(client, base_url: str, api_key: str): | CODE |
| LOW⚡ | main.py | 13702 | async def generate_lingjing_openai_video(client, payload, provider, base_url, requested_model): | CODE |
| LOW⚡ | main.py | 15063 | async def rename_asset_library_category(category_id: str, payload: AssetLibraryRenameRequest): | CODE |
| LOW⚡ | main.py | 15073 | async def delete_asset_library_category(category_id: str, library_id: str = ""): | CODE |
| LOW⚡ | main.py | 16695 | def runninghub_workflow_store_path() -> str: | CODE |
| LOW⚡ | main.py | 16698 | def load_runninghub_workflow_store(): | CODE |
| LOW⚡ | main.py | 16708 | def save_runninghub_workflow_store(store): | CODE |
| LOW⚡ | main.py | 16713 | def runninghub_workflow_config_has_payload(cfg): | CODE |
| LOW⚡ | main.py | 16718 | def runninghub_static_workflow_entry(workflow_id: str): | CODE |
| LOW⚡ | main.py | 16728 | def runninghub_static_workflow_config(workflow_id: str): | CODE |
| LOW⚡ | main.py | 16857 | def runninghub_select_workflow_config(local_cfg, provider_cfg, workflow_id: str = ""): | CODE |
| LOW | main.py | 456 | def ensure_runtime_config_files(): | CODE |
| 713 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | main.py | 3054 | def get_comfy_history(comfy_address, prompt_id): | CODE |
| MEDIUM | main.py | 3150 | def load_projects(): | CODE |
| MEDIUM | main.py | 3826 | def extract_image(data): | CODE |
| MEDIUM | main.py | 4158 | def remember_stream_images_from(value): | CODE |
| MEDIUM | main.py | 5381 | def jimeng_poll_seconds(default=JIMENG_DEFAULT_POLL_SECONDS): | CODE |
| MEDIUM | main.py | 6732 | def classify_asset_image_best_effort(abs_path, provider_id="", model="", ms_mode | CODE |
| MEDIUM | main.py | 6882 | def shared_folders_load(): | CODE |
| MEDIUM | main.py | 7352 | def _xlsx_shared_strings(archive): | CODE |
| MEDIUM | main.py | 7610 | def volcengine_video_duration(duration) -> int: | CODE |
| MEDIUM | main.py | 7909 | def apimart_video_duration(duration) -> int: | CODE |
| MEDIUM | main.py | 7916 | def apimart_veo31_duration(duration) -> int: | CODE |
| MEDIUM | main.py | 9834 | def normalize_seed_uint32(value): | CODE |
| MEDIUM | main.py | 9876 | def _num(raw, default): | CODE |
| MEDIUM | main.py | 10780 | def stream_remote(): | CODE |
| MEDIUM | main.py | 11151 | def _sniff_image_ext(path): | CODE |
| MEDIUM | main.py | 13525 | def agnes_video_frame_count(duration, fps=24): | CODE |
| MEDIUM | main.py | 13657 | def yuli_video_seconds(duration) -> str: | CODE |
| MEDIUM | main.py | 14487 | def smart_canvas_prompt_templates(): | CODE |
| LOW⚡ | main.py | 139 | except Exception as e: | CODE |
| LOW⚡ | main.py | 151 | except Exception as e: | CODE |
| LOW⚡ | main.py | 160 | except Exception as e: | CODE |
| LOW⚡ | main.py | 188 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 193 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 198 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 1147 | except Exception: | CODE |
| LOW⚡ | main.py | 3519 | except Exception: | CODE |
| LOW⚡ | main.py | 3522 | except Exception: | CODE |
| LOW⚡ | main.py | 3525 | except Exception: | CODE |
| LOW⚡ | main.py | 4409 | except Exception: | CODE |
| LOW⚡ | main.py | 4419 | except Exception: | CODE |
| LOW⚡ | main.py | 5710 | except Exception: | CODE |
| LOW⚡ | main.py | 5718 | except Exception: | CODE |
| LOW⚡ | main.py | 6693 | except Exception: | CODE |
| LOW⚡ | main.py | 6705 | except Exception: | CODE |
| LOW⚡ | main.py | 6735 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 6744 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 6778 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 6783 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 7021 | except Exception as e: | CODE |
| LOW⚡ | main.py | 7494 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 7496 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 7613 | except Exception: | CODE |
| LOW⚡ | main.py | 9173 | except Exception: | CODE |
| LOW⚡ | main.py | 9248 | except Exception: | CODE |
| LOW⚡ | main.py | 10514 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 11041 | except Exception: | CODE |
| LOW⚡ | main.py | 12346 | except Exception: | CODE |
| LOW⚡ | main.py | 12376 | except Exception: | CODE |
| LOW⚡ | main.py | 12391 | except Exception: | CODE |
| LOW⚡ | main.py | 13677 | except Exception: | CODE |
| LOW⚡ | main.py | 13686 | except Exception: | CODE |
| LOW⚡ | main.py | 13695 | except Exception: | CODE |
| LOW⚡ | main.py | 15055 | except Exception as exc: | CODE |
| LOW⚡ | main.py | 16705 | except Exception: | CODE |
| LOW⚡ | main.py | 16862 | except Exception: | CODE |
| LOW⚡ | main.py | 16866 | except Exception: | CODE |
| LOW | main.py | 116 | except Exception as e: | CODE |
| LOW | main.py | 125 | except Exception as e: | CODE |
| LOW | main.py | 211 | except Exception as e: | CODE |
| LOW | main.py | 312 | except Exception: | CODE |
| 182 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 467 | CODE | |
| LOW | main.py | 668 | CODE | |
| LOW | main.py | 787 | CODE | |
| LOW | main.py | 1089 | CODE | |
| LOW | main.py | 1420 | CODE | |
| LOW | main.py | 1555 | CODE | |
| LOW | main.py | 1807 | CODE | |
| LOW | main.py | 2161 | CODE | |
| LOW | main.py | 2333 | CODE | |
| LOW | main.py | 2838 | CODE | |
| LOW | main.py | 2868 | CODE | |
| LOW | main.py | 3040 | CODE | |
| LOW | main.py | 3276 | CODE | |
| LOW | main.py | 3359 | CODE | |
| LOW | main.py | 3381 | CODE | |
| LOW | main.py | 3721 | CODE | |
| LOW | main.py | 3826 | CODE | |
| LOW | main.py | 3985 | CODE | |
| LOW | main.py | 4119 | CODE | |
| LOW | main.py | 4981 | CODE | |
| LOW | main.py | 5123 | CODE | |
| LOW | main.py | 5289 | CODE | |
| LOW | main.py | 5933 | CODE | |
| LOW | main.py | 6108 | CODE | |
| LOW | main.py | 6739 | CODE | |
| LOW | main.py | 6944 | CODE | |
| LOW | main.py | 6965 | CODE | |
| LOW | main.py | 7294 | CODE | |
| LOW | main.py | 7393 | CODE | |
| LOW | main.py | 7424 | CODE | |
| LOW | main.py | 7472 | CODE | |
| LOW | main.py | 7513 | CODE | |
| LOW | main.py | 7675 | CODE | |
| LOW | main.py | 7730 | CODE | |
| LOW | main.py | 8066 | CODE | |
| LOW | main.py | 8128 | CODE | |
| LOW | main.py | 8173 | CODE | |
| LOW | main.py | 8387 | CODE | |
| LOW | main.py | 8605 | CODE | |
| LOW | main.py | 9178 | CODE | |
| LOW | main.py | 9260 | CODE | |
| LOW | main.py | 9388 | CODE | |
| LOW | main.py | 9605 | CODE | |
| LOW | main.py | 9666 | CODE | |
| LOW | main.py | 9980 | CODE | |
| LOW | main.py | 10222 | CODE | |
| LOW | main.py | 10791 | CODE | |
| LOW | main.py | 10819 | CODE | |
| LOW | main.py | 11103 | CODE | |
| LOW | main.py | 11158 | CODE | |
| LOW | main.py | 11226 | CODE | |
| LOW | main.py | 11370 | CODE | |
| LOW | main.py | 11396 | CODE | |
| LOW | main.py | 11800 | CODE | |
| LOW | main.py | 12184 | CODE | |
| LOW | main.py | 12490 | CODE | |
| LOW | main.py | 12603 | CODE | |
| LOW | main.py | 12748 | CODE | |
| LOW | main.py | 12965 | CODE | |
| LOW | main.py | 13310 | CODE | |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | main.py | 5473 | ". ~/.profile >/dev/null 2>&1 || true; . ~/.bashrc >/dev/null 2>&1 || true; " | CODE |
| HIGH | main.py | 5474 | "DREAMINA_BIN=$(command -v dreamina || find \"$HOME\" -maxdepth 4 -type f -name dreamina 2>/dev/null | head | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | static/klein.html | 300 | <div id="placeholder" class="text-center space-y-4 opacity-20"> | CODE |
| LOW | static/klein.html | 513 | const placeholder = document.getElementById('placeholder'); | CODE |
| LOW | static/klein.html | 592 | const placeholder = document.getElementById('placeholder'); | CODE |
| LOW | static/online.html | 199 | <div id="placeholder" class="text-center space-y-4 opacity-20"><i data-lucide="layout" class="w-12 h | CODE |
| LOW | static/online.html | 622 | const btn = document.getElementById('genBtn'), loader = document.getElementById('loader'), placeholder = doc | CODE |
| LOW | static/js/i18n-core.js | 45 | el.setAttribute('placeholder', t(el.dataset.i18nPlaceholder)); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | main.py | 6576 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 13 | CODE |