Repository Analysis

botswin/BotBrowser

Advanced Privacy Browser Core with Unified Fingerprint Defense: Cloudflare, Akamai, Kasada, Shape, DataDome, PerimeterX, hCaptcha, FunCaptcha, Imperva, reCAPTCHA, ThreatMetrix, Adscore

4.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of botswin/BotBrowser, a TypeScript project with 2,536 GitHub stars. SynthScan v2.0 examined 71,320 lines of code across 291 source files, recording 133 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 4.9 places this repository in the Likely human-written 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).

4.9
Adjusted Score
4.9
Raw Score
100%
Time Factor
2026-07-12
Last Push
2.5K
Stars
TypeScript
Language
71.3K
Lines of Code
291
Files
133
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 3MEDIUM 90LOW 40

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 133 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.

Decorative Section Separators90 hits · 278 pts
SeverityFileLineSnippetContext
MEDIUMbotbrowser-control/.github/workflows/build.yml15 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml17 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml49 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml51 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml82 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml84 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml132 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/.github/workflows/build.yml134 # ─────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js5 // ─── State ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js31 // ─── Icons ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js62 // ─── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js102 // ─── Init ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js166 // ─── Navigation ───────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js179 // ─── Event Delegation ─────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js307 // ─── Render ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js349 // ─── Profile List Rendering ───────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js495 // ─── Proxy Cell Rendering ─────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js553 // ─── GoLogin-style Inline Proxy Editor ──────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js694 // ─── IP Check ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js740 // ─── Sessions View ────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js797 // ─── Settings View ────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js930 // ─── Profile Editor ───────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1039 // ─── Tab Renderers ────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1448 // ─── Custom Headers UI ────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1496 // ─── Profile Actions ──────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1658 // ─── Context Menu ─────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1680 // ─── File/Dir Browsing ────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1705 // ─── Settings ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1718 // ─── Kernel Manager ───────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/renderer/js/app.js1912 // ─── Bootstrap ────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js15// ─── Platform-aware defaults ──────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js32// ─── Persistent store ─────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js51// ─── Runtime state ────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js56// ─── Window ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js160// ─── IPC: Profile Management ──────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js265// ─── IPC: Browser Launch ──────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js409// ─── IPC: Settings ────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js417// ─── IPC: Dialogs ─────────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js454// ─── IPC: Proxy / IP Check ────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js675// ─── IPC: Update Checker ──────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js730// ─── IPC: Kernel Manager ──────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js989// ─── Config File Helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js1229// ─── CDP Cookie Save ──────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js1334// ─── Profile Status ───────────────────────────────────────────────────────────COMMENT
MEDIUMbotbrowser-control/src/main/main.js1346// ─── App Lifecycle ────────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/config.js20// ── Browser binary paths ──────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/config.js29// ── Profiles base directory ───────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/config.js35// ── Profile discovery ────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/config.js108// ── Build config object ───────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js13// ── Memory & Process Measurement ──────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js102// ── Statistics ─────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js121// ── System Info ────────────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js136// ── Result Storage ─────────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js156// ── HTTP Static File Server ────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js235// ── Timing Helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js251// ── CLI Argument Parsing ───────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/utils.js282// ── Console Formatting ─────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/scripts/run-all.js37// ── Pre-flight Checks ──────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/scripts/run-all.js114// ── Run a child script ─────────────────────────────────────────────────COMMENT
MEDIUMdocs/benchmarks/scripts/run-all.js152// ── Main ───────────────────────────────────────────────────────────────COMMENT
30 more matches not shown…
Hyper-Verbose Identifiers16 hits · 16 pts
SeverityFileLineSnippetContext
LOWCLI_FLAGS.md261function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWlauncher/src/app/utils.ts34export async function createDirectoryIfNotExists(path: string): Promise<void> {CODE
LOWlauncher/src/app/data/browser-profile.ts30export function getBrowserProfileStatusText(status: BrowserProfileStatus): string {CODE
LOWlauncher/src/app/data/kernel.ts93export function getLatestAssetForPlatform(CODE
LOWdocker/cloudflare-docker/main.py20async def get_frame_element_and_box(CODE
LOWbotbrowser-control/src/main/main.js991function writeStandaloneConfigFile(profile, profileId) {CODE
LOWtests/tests/utils.ts104export async function enableMouseMovementOverlay(page: Page) {CODE
LOWdocs/tools/canvaslab/canvas_replay_viewer.html1192 function regenerateExportCodeFromCurrentCards() {CODE
LOWdocs/guides/network/PROXY_CONFIGURATION.md188function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWdocs/guides/network/PAC_REQUEST_POLICY.md67function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWdocs/guides/network/PAC_REQUEST_POLICY.md120function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWdocs/guides/network/PAC_REQUEST_POLICY.md131function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWdocs/guides/network/PAC_REQUEST_POLICY.md208function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWdocs/guides/network/PAC_REQUEST_POLICY.md230function BotBrowserFindProxyForRequest(url, host, method, headersB64, bodyB64, bodyState) {CODE
LOWexamples/bot-script/cloudflare-turnstile.js102function enableDomainsAndStartMonitoring(targetId) {CODE
LOWexamples/playwright/python/per_context_proxy.py31async def create_bb_context_with_proxy(browser, cdp_session, proxy):CODE
Structural Annotation Overuse8 hits · 16 pts
SeverityFileLineSnippetContext
LOWlauncher/src/app/shared/browser-launcher.service.ts34 // Step 1: CommandLineToArgvW — double backslash runs preceding a `"` or end of string.COMMENT
LOWlauncher/src/app/shared/browser-launcher.service.ts39 // Step 2: Walk argvEscaped tracking cmd.exe's quote-parity. cmd toggles on EVERY raw `"`COMMENT
LOWtests/README.md42### Step 1: Research Environment SetupCOMMENT
LOWtests/README.md61### Step 2: Install & Run Research SuiteCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py42 # Step 1: snapshotCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py46 # Step 2: create contextCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py49 # Step 3: find new context IDCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py61 # Step 4: set flags (profile + optional proxy)COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdocker/cloudflare-docker/main.py0delete window.__playwright__binding__; delete window.__pwinitscripts;STRING
HIGHdocker/wizzair-docker/main.py0delete window.__playwright__binding__; delete window.__pwinitscripts;STRING
HIGHexamples/playwright/python/main.py0delete window.__playwright__binding__; delete window.__pwinitscripts;STRING
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOWlauncher/src/app/shared/browser-launcher.service.ts34 // Step 1: CommandLineToArgvW — double backslash runs preceding a `"` or end of string.COMMENT
LOWlauncher/src/app/shared/browser-launcher.service.ts39 // Step 2: Walk argvEscaped tracking cmd.exe's quote-parity. cmd toggles on EVERY raw `"`COMMENT
LOWexamples/playwright/python/per_context_fingerprint.py42 # Step 1: snapshotCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py46 # Step 2: create contextCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py49 # Step 3: find new context IDCOMMENT
LOWexamples/playwright/python/per_context_fingerprint.py61 # Step 4: set flags (profile + optional proxy)COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWlauncher/scripts/setup-macos.sh231# Check if already installedCOMMENT
LOWlauncher/scripts/setup-ubuntu.sh152# Check if already installedCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/mirror/cli_launch.sh8# Usage:COMMENT
LOWscripts/install_botbrowser.sh7# Usage:COMMENT
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlauncher/src/app/shared/update.service.ts21 #nodeDir = '';COMMENT
LOWexamples/mirror/cli_launch.sh1#!/bin/bashCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWexamples/playwright/python/per_context_proxy.py71 except Exception as e:CODE
LOWexamples/playwright/python/per_context_fingerprint.py173 except Exception as e:CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWlauncher/src/neutralino/neutralino.d.ts278 function getData(key: string): Promise<string>;CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdocker/cloudflare-docker/main.py20CODE