🖥️ Run AI Agent in your browser.
This report presents the forensic synthetic code analysis of browser-use/web-ui, a Python project with 16,195 GitHub stars. SynthScan v2.0 examined 5,894 lines of code across 34 source files, recording 193 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 33.4 places this repository in the Strong 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 193 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 | tests/test_agents.py | 14 | CODE | |
| LOW | tests/test_agents.py | 17 | CODE | |
| LOW | tests/test_agents.py | 21 | CODE | |
| LOW | tests/test_agents.py | 25 | CODE | |
| LOW | tests/test_agents.py | 167 | CODE | |
| LOW | tests/test_agents.py | 171 | CODE | |
| LOW | tests/test_agents.py | 330 | CODE | |
| LOW | tests/test_agents.py | 330 | CODE | |
| LOW | tests/test_playwright.py | 1 | CODE | |
| LOW | tests/test_controller.py | 56 | CODE | |
| LOW | tests/test_controller.py | 58 | CODE | |
| LOW | src/utils/utils.py | 6 | CODE | |
| LOW | src/utils/utils.py | 7 | CODE | |
| LOW | src/utils/utils.py | 8 | CODE | |
| LOW | src/utils/utils.py | 9 | CODE | |
| LOW | src/utils/llm_provider.py | 2 | CODE | |
| LOW | src/utils/llm_provider.py | 4 | CODE | |
| LOW | src/utils/llm_provider.py | 5 | CODE | |
| LOW | src/utils/llm_provider.py | 5 | CODE | |
| LOW | src/utils/llm_provider.py | 11 | CODE | |
| LOW | src/utils/llm_provider.py | 11 | CODE | |
| LOW | src/utils/llm_provider.py | 12 | CODE | |
| LOW | src/utils/llm_provider.py | 12 | CODE | |
| LOW | src/utils/llm_provider.py | 12 | CODE | |
| LOW | src/utils/llm_provider.py | 12 | CODE | |
| LOW | src/utils/llm_provider.py | 12 | CODE | |
| LOW | src/utils/llm_provider.py | 12 | CODE | |
| LOW | src/utils/llm_provider.py | 22 | CODE | |
| LOW | src/utils/llm_provider.py | 22 | CODE | |
| LOW | src/utils/llm_provider.py | 22 | CODE | |
| LOW | src/utils/llm_provider.py | 22 | CODE | |
| LOW | src/utils/llm_provider.py | 22 | CODE | |
| LOW | src/utils/llm_provider.py | 30 | CODE | |
| LOW | src/utils/llm_provider.py | 31 | CODE | |
| LOW | src/utils/llm_provider.py | 32 | CODE | |
| LOW | src/utils/llm_provider.py | 34 | CODE | |
| LOW | src/utils/llm_provider.py | 34 | CODE | |
| LOW | src/utils/llm_provider.py | 34 | CODE | |
| LOW | src/utils/llm_provider.py | 34 | CODE | |
| LOW | src/utils/llm_provider.py | 34 | CODE | |
| LOW | src/utils/llm_provider.py | 34 | CODE | |
| LOW | src/utils/llm_provider.py | 49 | CODE | |
| LOW | src/utils/llm_provider.py | 50 | CODE | |
| LOW | src/agent/browser_use/browser_use_agent.py | 1 | CODE | |
| LOW | src/controller/custom_controller.py | 1 | CODE | |
| LOW | src/controller/custom_controller.py | 3 | CODE | |
| LOW | src/controller/custom_controller.py | 8 | CODE | |
| LOW | src/controller/custom_controller.py | 9 | CODE | |
| LOW | src/controller/custom_controller.py | 10 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 11 | CODE | |
| LOW | src/controller/custom_controller.py | 25 | CODE | |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_agents.py | 154 | except Exception: | CODE |
| LOW | tests/test_agents.py | 316 | except Exception: | CODE |
| LOW | tests/test_agents.py | 392 | except Exception as e: | CODE |
| LOW | src/utils/utils.py | 36 | except Exception as e: | CODE |
| MEDIUM | src/utils/utils.py | 37 | print(f"Error getting latest {file_type} file: {e}") | CODE |
| LOW | src/utils/mcp_client.py | 41 | except Exception as e: | CODE |
| LOW | src/utils/mcp_client.py | 107 | except Exception: | CODE |
| LOW | src/agent/browser_use/browser_use_agent.py | 158 | except Exception as script_gen_err: | CODE |
| LOW⚡ | src/agent/deep_research/deep_research_agent.py | 434 | except Exception as e: | CODE |
| LOW⚡ | src/agent/deep_research/deep_research_agent.py | 446 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 402 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 413 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 457 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 1036 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 1201 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 1244 | except Exception as e: | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 171 | except Exception as e: | STRING |
| LOW | src/agent/deep_research/deep_research_agent.py | 182 | except Exception as e: | STRING |
| LOW | src/agent/deep_research/deep_research_agent.py | 189 | except Exception as e: | STRING |
| LOW | src/agent/deep_research/deep_research_agent.py | 604 | except Exception as e: | STRING |
| LOW | src/agent/deep_research/deep_research_agent.py | 745 | except Exception as e: | STRING |
| LOW | src/agent/deep_research/deep_research_agent.py | 791 | except Exception as e: | STRING |
| LOW | src/agent/deep_research/deep_research_agent.py | 930 | except Exception as e: | STRING |
| LOW | src/controller/custom_controller.py | 104 | except Exception as e: | CODE |
| LOW | src/controller/custom_controller.py | 151 | except Exception as e: | CODE |
| LOW | src/webui/components/deep_research_agent_tab.py | 36 | except Exception as e: | CODE |
| LOW | src/webui/components/deep_research_agent_tab.py | 50 | except Exception as e: | CODE |
| LOW | src/webui/components/deep_research_agent_tab.py | 220 | except Exception as e: | CODE |
| LOW | src/webui/components/deep_research_agent_tab.py | 270 | except Exception as e: | CODE |
| LOW | src/webui/components/deep_research_agent_tab.py | 315 | except Exception as e: | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 61 | except Exception as e: | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 123 | except Exception as e: | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 172 | except Exception as e: | CODE |
| LOW⚡ | src/webui/components/browser_use_agent_tab.py | 613 | except Exception: # Catch task exceptions if it errors on stop | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 675 | except Exception as e: | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 724 | except Exception as e: | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 774 | except Exception as e: | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 920 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/utils/utils.py | 20 | CODE | |
| LOW | src/utils/mcp_client.py | 46 | CODE | |
| LOW | src/utils/mcp_client.py | 134 | CODE | |
| LOW | src/utils/llm_provider.py | 152 | CODE | |
| LOW | src/agent/browser_use/browser_use_agent.py | 31 | CODE | |
| LOW | src/agent/browser_use/browser_use_agent.py | 48 | CODE | |
| LOW | src/agent/deep_research/deep_research_agent.py | 338 | CODE | |
| LOW | src/agent/deep_research/deep_research_agent.py | 421 | CODE | |
| LOW | src/agent/deep_research/deep_research_agent.py | 461 | CODE | |
| LOW | src/agent/deep_research/deep_research_agent.py | 609 | CODE | |
| LOW | src/agent/deep_research/deep_research_agent.py | 811 | CODE | |
| LOW | src/agent/deep_research/deep_research_agent.py | 1085 | CODE | |
| LOW | src/controller/custom_controller.py | 110 | CODE | |
| LOW | src/webui/interface.py | 22 | CODE | |
| LOW | src/webui/webui_manager.py | 97 | CODE | |
| LOW | src/webui/components/deep_research_agent_tab.py | 57 | CODE | |
| LOW | src/webui/components/browser_use_agent_tab.py | 275 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_agents.py | 358 | task_id_to_resume = "" # Set this to resume a previous task ID | CODE |
| LOW | src/utils/mcp_client.py | 67 | # Check if parameter is required | COMMENT |
| LOW | src/utils/mcp_client.py | 231 | # Check if required | COMMENT |
| LOW | src/agent/browser_use/browser_use_agent.py | 77 | # Check if waiting for user input after Ctrl+C | COMMENT |
| LOW | src/agent/browser_use/browser_use_agent.py | 82 | # Check if we should stop due to too many failures | COMMENT |
| LOW | src/agent/deep_research/deep_research_agent.py | 955 | # Check if the current indices point to a valid pending task | STRING |
| LOW⚡ | src/webui/components/browser_use_agent_tab.py | 599 | # Check if agent stopped itself or stop button was pressed (which sets agent.state.stopped) | COMMENT |
| LOW⚡ | src/webui/components/browser_use_agent_tab.py | 617 | # Check if agent is asking for help (via response_event) | COMMENT |
| LOW | src/webui/components/browser_use_agent_tab.py | 699 | elif agent_task.exception(): # Check if task finished with exception | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 803 | # Check if waiting for user assistance | COMMENT |
| LOW | src/webui/components/browser_use_agent_tab.py | 821 | # Check if a task is currently running (using _current_task) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 30 | #### Step 1: Clone the Repository | COMMENT |
| LOW | README.md | 36 | #### Step 2: Set Up Python Environment | COMMENT |
| LOW | README.md | 58 | #### Step 3: Install Dependencies | COMMENT |
| LOW | README.md | 73 | #### Step 4: Configure Environment | COMMENT |
| LOW | README.md | 85 | #### Step 5: Enjoy the web-ui | COMMENT |
| LOW | README.md | 115 | #### Step 1: Clone the Repository | COMMENT |
| LOW | README.md | 121 | #### Step 2: Configure Environment | COMMENT |
| LOW | README.md | 133 | #### Step 3: Docker Build and Run | COMMENT |
| LOW | README.md | 142 | #### Step 4: Enjoy the web-ui and vnc | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/utils/mcp_client.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/agent/browser_use/browser_use_agent.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/controller/custom_controller.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/browser/custom_browser.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/browser/custom_context.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/webui/components/deep_research_agent_tab.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/webui/components/agent_settings_tab.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/webui/components/browser_settings_tab.py | 10 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_agents.py | 166 | async def test_browser_use_parallel(): | CODE |
| LOW | src/utils/mcp_client.py | 17 | async def setup_mcp_client_and_tools(mcp_server_config: Dict[str, Any]) -> Optional[MultiServerMCPClient]: | CODE |
| LOW⚡ | src/agent/deep_research/deep_research_agent.py | 438 | def _save_search_results_to_json(results: List[Dict[str, Any]], output_dir: str): | CODE |
| LOW | src/agent/deep_research/deep_research_agent.py | 271 | def create_browser_search_tool( | STRING |
| LOW | src/webui/components/deep_research_agent_tab.py | 376 | def create_deep_research_agent_tab(webui_manager: WebuiManager): | CODE |
| LOW | src/webui/components/agent_settings_tab.py | 46 | def create_agent_settings_tab(webui_manager: WebuiManager): | CODE |
| LOW | src/webui/components/browser_use_agent_tab.py | 972 | def create_browser_use_agent_tab(webui_manager: WebuiManager): | CODE |
| LOW | src/webui/components/load_save_config_tab.py | 8 | def create_load_save_config_tab(webui_manager: WebuiManager): | CODE |
| LOW | src/webui/components/browser_settings_tab.py | 30 | def create_browser_settings_tab(webui_manager: WebuiManager): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_agents.py | 41 | # temperature=0.6, | COMMENT |
| LOW | tests/test_agents.py | 61 | # llm = utils.get_llm_model( | COMMENT |
| LOW | tests/test_agents.py | 181 | # temperature=0.8, | COMMENT |
| LOW | tests/test_controller.py | 21 | # "run", | COMMENT |
| LOW | tests/test_controller.py | 61 | "mcpServers": { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/agent/deep_research/deep_research_agent.py | 876 | """You are a professional researcher tasked with writing a comprehensive and well-structured report base | STRING |
| LOW⚡ | src/webui/components/browser_use_agent_tab.py | 603 | # Ensure the task coroutine finishes if agent just set flag | COMMENT |