🕵️♂️ Collect a dossier on a person by username from 3000+ sites
This report presents the forensic synthetic code analysis of soxoj/maigret, a Python project with 35,349 GitHub stars. SynthScan v2.0 examined 28,137 lines of code across 100 source files, recording 420 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 17.6 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).
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 420 distinct pattern matches across 11 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 | maigret/submit.py | 75 | def generate_additional_fields_dialog(self, engine: MaigretEngine, dialog): | CODE |
| LOW | maigret/submit.py | 152 | async def get_html_response_to_compare( | CODE |
| LOW | maigret/notify.py | 58 | def make_colored_terminal_notify( | CODE |
| LOW | maigret/notify.py | 68 | def make_simple_terminal_notify( | CODE |
| LOW | maigret/checking.py | 77 | def build_cloudflare_bypass_config( | CODE |
| LOW | maigret/sites.py | 122 | def __is_equal_by_url_or_name(self, url_or_name_str: str): | CODE |
| LOW | maigret/report.py | 47 | def sort_report_by_data_points(results): | CODE |
| LOW⚡ | maigret/web/app.py | 106 | async def search_multiple_usernames(usernames, options): | CODE |
| LOW⚡ | maigret/web/app.py | 117 | def sanitize_username_for_path(username: str) -> str: | CODE |
| LOW | pyinstaller/maigret_standalone.py | 20 | def _launched_by_double_click() -> bool: | STRING |
| LOW⚡ | tests/test_utils.py | 19 | def test_case_convert_camel_to_snake(): | CODE |
| LOW⚡ | tests/test_utils.py | 26 | def test_case_convert_snake_to_camel(): | CODE |
| LOW⚡ | tests/test_utils.py | 33 | def test_case_convert_snake_to_title(): | CODE |
| LOW⚡ | tests/test_utils.py | 40 | def test_case_convert_camel_with_digits_to_snake(): | CODE |
| LOW | tests/test_utils.py | 57 | def test_is_country_tag_field_names_are_not_country_codes(): | CODE |
| LOW | tests/test_utils.py | 81 | def test_enrich_link_str_escapes_payload(): | CODE |
| LOW⚡ | tests/test_utils.py | 93 | def test_enrich_link_str_non_link_is_plain_str(): | CODE |
| LOW⚡ | tests/test_utils.py | 102 | def test_url_extract_main_part_negative(): | CODE |
| LOW⚡ | tests/test_utils.py | 107 | def test_url_extract_main_part(): | CODE |
| LOW | tests/test_utils.py | 126 | def test_url_extract_main_part_keeps_host_starting_with_prefix_letters(): | CODE |
| LOW | tests/test_utils.py | 137 | def test_url_make_profile_url_regexp(): | CODE |
| LOW⚡ | tests/test_utils.py | 204 | def test_is_plausible_username_accepts_bare_usernames(): | CODE |
| LOW⚡ | tests/test_utils.py | 211 | def test_is_plausible_username_rejects_urls(): | CODE |
| LOW⚡ | tests/test_utils.py | 218 | def test_is_plausible_username_accepts_http_prefixed_handles(): | CODE |
| LOW⚡ | tests/test_utils.py | 226 | def test_is_plausible_username_rejects_path_like(): | CODE |
| LOW⚡ | tests/test_utils.py | 231 | def test_is_plausible_username_rejects_emails(): | CODE |
| LOW⚡ | tests/test_utils.py | 236 | def test_is_plausible_username_rejects_whitespace_and_empty(): | CODE |
| LOW⚡ | tests/test_utils.py | 243 | def test_is_plausible_username_rejects_non_strings(): | CODE |
| LOW⚡ | tests/test_utils.py | 249 | def test_get_dict_ascii_tree_new_line_false_strips_leading_newline(): | CODE |
| LOW | tests/conftest.py | 48 | def pytest_collection_modifyitems(items): | CODE |
| LOW | tests/conftest.py | 52 | def get_test_reports_filenames(): | CODE |
| LOW | tests/conftest.py | 100 | def httpserver_listen_address(): | CODE |
| LOW | tests/test_sites.py | 37 | def test_load_empty_db_from_str(): | CODE |
| LOW | tests/test_sites.py | 67 | def test_site_correct_initialization(): | CODE |
| LOW | tests/test_sites.py | 80 | def test_site_strip_engine_data(): | CODE |
| LOW | tests/test_sites.py | 90 | def test_site_strip_engine_data_with_site_prior_updates(): | CODE |
| LOW | tests/test_sites.py | 118 | def test_update_from_engine_warns_on_conflicting_dict_entries(caplog): | CODE |
| LOW | tests/test_sites.py | 171 | def test_extract_id_from_url_skips_none_groups(): | CODE |
| LOW | tests/test_sites.py | 214 | def test_ranked_sites_dict_names(): | CODE |
| LOW | tests/test_sites.py | 225 | def test_ranked_sites_dict_disabled(): | CODE |
| LOW | tests/test_sites.py | 234 | def test_ranked_sites_dict_id_type(): | CODE |
| LOW | tests/test_sites.py | 245 | def test_ranked_sites_dict_excluded_tags(): | CODE |
| LOW | tests/test_sites.py | 274 | def test_ranked_sites_dict_tag_filter_is_case_insensitive(): | CODE |
| LOW | tests/test_sites.py | 287 | def test_ranked_sites_dict_excluded_tags_with_top(): | CODE |
| LOW | tests/test_sites.py | 320 | def test_ranked_sites_dict_mirrors_disabled_parent(): | CODE |
| LOW | tests/test_sites.py | 350 | def test_ranked_sites_dict_mirrors_no_extra_without_parent_in_top(): | CODE |
| LOW | tests/test_sites.py | 386 | def test_update_site_replaces_existing_entry(): | CODE |
| LOW | tests/test_sites.py | 399 | def test_update_site_appends_when_name_not_found(): | CODE |
| LOW | tests/test_sites.py | 410 | def test_has_site_url_or_name(default_db): | CODE |
| LOW⚡ | tests/test_checking.py | 168 | def test_parse_usernames_single_username(): | CODE |
| LOW⚡ | tests/test_checking.py | 174 | def test_parse_usernames_list_of_usernames(): | CODE |
| LOW⚡ | tests/test_checking.py | 180 | def test_parse_usernames_malformed_list(): | CODE |
| LOW⚡ | tests/test_checking.py | 188 | def test_parse_usernames_rejects_url_value(): | CODE |
| LOW⚡ | tests/test_checking.py | 198 | def test_parse_usernames_rejects_email_value(): | CODE |
| LOW⚡ | tests/test_checking.py | 206 | def test_parse_usernames_filters_urls_inside_list(): | CODE |
| LOW⚡ | tests/test_checking.py | 215 | def test_parse_usernames_supported_id(): | CODE |
| LOW⚡ | tests/test_checking.py | 225 | def test_update_results_info_links(): | CODE |
| LOW⚡ | tests/test_checking.py | 237 | def test_update_results_info_no_website(): | CODE |
| LOW⚡ | tests/test_checking.py | 243 | def test_extract_ids_data_bad_html_returns_empty(): | CODE |
| LOW⚡ | tests/test_checking.py | 250 | def test_get_failed_sites_filters_permanent_errors(): | CODE |
| 209 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/submit.py | 195 | except Exception as e: | CODE |
| LOW | maigret/ai.py | 153 | except Exception: | CODE |
| MEDIUM | maigret/checking.py | 165 | def _make_request( | CODE |
| MEDIUM | maigret/checking.py | 323 | def check(self) -> Tuple[Optional[str], int, Optional[CheckError]]: | CODE |
| MEDIUM | maigret/checking.py | 1570 | def extract_ids_data(html_text, logger, site) -> Dict: | CODE |
| LOW | maigret/checking.py | 214 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 293 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 364 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 534 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 588 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 1009 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 1449 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 1518 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 1573 | except Exception as e: | CODE |
| LOW | maigret/checking.py | 1599 | except Exception as e: | CODE |
| LOW | maigret/executors.py | 33 | except Exception as e: | CODE |
| LOW | maigret/db_updater.py | 105 | except Exception: | CODE |
| LOW | maigret/db_updater.py | 148 | except Exception: | CODE |
| MEDIUM | maigret/db_updater.py | 66 | def _load_state() -> dict: | CODE |
| LOW | maigret/utils.py | 193 | except Exception as e: | CODE |
| LOW | maigret/sites.py | 537 | except Exception as error: | CODE |
| LOW | maigret/sites.py | 561 | except Exception as error: | CODE |
| LOW | maigret/sites.py | 571 | except Exception as error: | CODE |
| LOW | maigret/sites.py | 587 | except Exception as error: | CODE |
| LOW | maigret/settings.py | 75 | except Exception as error: | CODE |
| LOW | maigret/maigret.py | 73 | except Exception as e: | CODE |
| LOW | maigret/maigret.py | 676 | except Exception as e: | CODE |
| LOW | maigret/maigret.py | 1092 | except Exception as e: | CODE |
| LOW | maigret/report.py | 202 | except Exception as e: | CODE |
| LOW | maigret/report.py | 550 | except Exception as e: | CODE |
| LOW | maigret/report.py | 576 | except Exception as e: | CODE |
| LOW⚡ | maigret/web/app.py | 101 | except Exception as e: | CODE |
| LOW⚡ | maigret/web/app.py | 112 | except Exception as e: | CODE |
| LOW | maigret/web/app.py | 215 | except Exception as e: | CODE |
| LOW | maigret/web/app.py | 361 | except Exception as e: | CODE |
| MEDIUM | maigret/web/app.py | 127 | def process_search_task(usernames, options, timestamp): | CODE |
| LOW | pyinstaller/maigret_standalone.py | 34 | except Exception: | STRING |
| LOW | tests/test_checking.py | 955 | except Exception: | CODE |
| LOW | tests/test_checking.py | 977 | except Exception: | CODE |
| LOW | tests/test_checking.py | 1040 | except Exception: | CODE |
| LOW | tests/test_checking.py | 1065 | except Exception: | CODE |
| LOW | tests/test_data.py | 93 | except Exception: | CODE |
| LOW | utils/check_top_n.py | 115 | except Exception as e: | CODE |
| LOW | utils/check_top_n.py | 125 | except Exception as e: | CODE |
| LOW | utils/check_top_n.py | 176 | except Exception as e: | CODE |
| LOW | utils/update_site_data.py | 88 | except Exception as e: | CODE |
| LOW | utils/update_site_data.py | 100 | except Exception: | CODE |
| LOW | utils/update_site_data.py | 278 | except Exception as e: | STRING |
| MEDIUM | utils/update_site_data.py | 94 | def get_base_domain(url): | CODE |
| LOW | utils/site_check.py | 148 | except Exception as e: | CODE |
| LOW | utils/site_check.py | 158 | except Exception as e: | CODE |
| LOW | utils/site_check.py | 219 | except Exception as e: | CODE |
| LOW | utils/site_check.py | 650 | except Exception: | CODE |
| LOW | utils/import_sites.py | 87 | except Exception as e: | CODE |
| MEDIUM | utils/import_sites.py | 254 | # print(f'Error: {str(e)}') | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_checking.py | 906 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_checking.py | 912 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_checking.py | 988 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_checking.py | 993 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_idempotent_writes.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_idempotent_writes.py | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_idempotent_writes.py | 185 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_idempotent_writes.py | 187 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_keyword_filtering.py | 133 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_keyword_filtering.py | 136 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_maigret.py | 247 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_maigret.py | 257 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/submit.py | 6 | CODE | |
| LOW | maigret/submit.py | 13 | CODE | |
| LOW | maigret/__init__.py | 9 | CODE | |
| LOW | maigret/__init__.py | 22 | CODE | |
| LOW | maigret/__init__.py | 23 | CODE | |
| LOW | maigret/__init__.py | 23 | CODE | |
| LOW | maigret/__init__.py | 23 | CODE | |
| LOW | maigret/__init__.py | 24 | CODE | |
| LOW | maigret/__init__.py | 11 | CODE | |
| LOW | maigret/result.py | 11 | CODE | |
| LOW | maigret/result.py | 12 | CODE | |
| LOW | maigret/maigret.py | 10 | CODE | |
| LOW | maigret/maigret.py | 59 | CODE | |
| LOW | maigret/web/app.py | 1 | CODE | |
| LOW | tests/test_permutator.py | 1 | CODE | |
| LOW | tests/test_db_updater.py | 4 | CODE | |
| LOW | tests/test_db_updater.py | 5 | CODE | |
| LOW | tests/test_db_updater.py | 7 | CODE | |
| LOW | tests/test_db_updater.py | 9 | CODE | |
| LOW | tests/test_db_updater.py | 11 | CODE | |
| LOW | tests/test_db_updater.py | 11 | CODE | |
| LOW | tests/test_db_updater.py | 11 | CODE | |
| LOW | tests/test_cloudflare_webgate.py | 3 | CODE | |
| LOW | tests/test_cli.py | 3 | CODE | |
| LOW | tests/test_maigret.py | 15 | CODE | |
| LOW | utils/fp_probe_top_sites.py | 12 | CODE | |
| LOW | utils/update_site_data.py | 14 | CODE | |
| LOW | utils/site_check.py | 22 | CODE | |
| LOW | utils/site_check.py | 22 | CODE | |
| LOW | utils/site_check.py | 37 | CODE | |
| LOW | utils/site_check.py | 38 | CODE | |
| LOW | utils/site_check.py | 38 | CODE | |
| LOW | utils/site_check.py | 38 | CODE | |
| LOW | utils/site_check.py | 44 | CODE | |
| LOW | utils/site_check.py | 45 | CODE | |
| LOW | utils/import_sites.py | 11 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/submit.py | 87 | CODE | |
| LOW | maigret/notify.py | 153 | CODE | |
| LOW | maigret/checking.py | 628 | CODE | |
| LOW | maigret/checking.py | 787 | CODE | |
| LOW | maigret/checking.py | 1295 | CODE | |
| LOW | maigret/checking.py | 1465 | CODE | |
| LOW | maigret/checking.py | 1578 | CODE | |
| LOW | maigret/checking.py | 165 | CODE | |
| LOW | maigret/utils.py | 163 | CODE | |
| LOW | maigret/sites.py | 273 | CODE | |
| LOW | maigret/sites.py | 300 | CODE | |
| LOW | maigret/sites.py | 619 | CODE | |
| LOW | maigret/permutator.py | 10 | CODE | |
| LOW | maigret/report.py | 135 | CODE | |
| LOW | maigret/report.py | 342 | CODE | |
| LOW | maigret/report.py | 505 | CODE | |
| LOW | maigret/report.py | 752 | CODE | |
| LOW | maigret/report.py | 181 | CODE | |
| LOW | maigret/web/app.py | 127 | CODE | |
| LOW | tests/test_data.py | 84 | CODE | |
| LOW | utils/check_top_n.py | 132 | CODE | |
| LOW | utils/update_site_data.py | 158 | CODE | |
| LOW | utils/site_check.py | 417 | CODE | |
| LOW | utils/site_check.py | 656 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_submit.py | 24 | # Create the Submitter instance | COMMENT |
| MEDIUM | tests/test_submit.py | 48 | # Create the Submitter instance without engines | COMMENT |
| MEDIUM | tests/test_submit.py | 149 | # Initialize necessary objects | COMMENT |
| MEDIUM | tests/test_submit.py | 197 | # Initialize necessary objects | COMMENT |
| MEDIUM | tests/test_submit.py | 251 | # Initialize necessary objects | COMMENT |
| MEDIUM | utils/site_check.py | 194 | # Create a simple notifier | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/submit.py | 422 | # Check if the site check is ordinary or not | COMMENT |
| LOW | maigret/notify.py | 178 | # Check if this is a keyword match | COMMENT |
| LOW | maigret/executors.py | 42 | # Add tasks to the queue | COMMENT |
| LOW | maigret/db_updater.py | 243 | # Check if update available | COMMENT |
| LOW | maigret/web/app.py | 306 | # Check if job is completed | COMMENT |
| LOW | utils/check_top_n.py | 247 | # Check if status_code would work | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/notify.py | 254 | CODE | |
| LOW | maigret/checking.py | 1056 | CODE | |
| LOW | maigret/checking.py | 1295 | CODE | |
| LOW | maigret/checking.py | 1465 | CODE | |
| LOW | maigret/utils.py | 26 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/checking.py | 1221 | # silently absorbs the first SIGINT (it draws a "⚠" mark on the bar | COMMENT |
| LOW | tests/test_maigret.py | 241 | def test_extract_ids_from_results_empty_input_returns_empty(default_db): | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 41 | - name: Initialize CodeQL | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_checking.py | 183 | # should swallow the error and just return empty | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | maigret/sites.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_executors.py | 9 | logger = logging.getLogger(__name__) | CODE |