Stealth Chromium that passes every bot detection test. Drop-in Playwright replacement with source-level fingerprint patches. 30/30 tests passed.
This report presents the forensic synthetic code analysis of CloakHQ/CloakBrowser, a Python project with 30,925 GitHub stars. SynthScan v2.0 examined 72,455 lines of code across 200 source files, recording 1403 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 33.5 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 1403 distinct pattern matches across 17 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 |
|---|---|---|---|---|
| MEDIUM | js/tests/license.test.ts | 46 | // ── resolveLicenseKey ───────────────────────────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 87 | // ── validateLicense ─────────────────────────────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 283 | // ── getProLatestVersion ─────────────────────────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 487 | // ── Config pro parameter ────────────────────────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 503 | // ── buildLaunchEnv ───────────────────────────────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 609 | // ── post-handshake denial: helpers + guard ───────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 852 | // ── getActiveSessionCount ───────────────────────────── | COMMENT |
| MEDIUM | js/tests/license.test.ts | 916 | // ── getSessionSeats ─────────────────────────────────── | COMMENT |
| MEDIUM | js/tests/cli.test.ts | 114 | // ── formatSeats ─────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 71 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 126 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 128 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 145 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 300 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 302 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 320 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_geoip.py | 322 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_geoip.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_geoip.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_persistent_context.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_persistent_context.py | 25 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_persistent_context.py | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_persistent_context.py | 218 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 41 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 43 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 51 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 53 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 68 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 70 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 119 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 121 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 190 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 192 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 270 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 272 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 492 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 494 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 825 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 827 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 856 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 858 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 872 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 874 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 891 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 893 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 909 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 911 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1030 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1032 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1343 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1345 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1747 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1749 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1838 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1840 | # ========================================================================= | COMMENT |
| MEDIUM⚡ | tests/test_humanize_unit.py | 1956 | # ========================================================================= | COMMENT |
| 211 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/test_stealth_resolver_js.py | 33 | id: attrs.id || '', className: attrs.className || '', parentElement: null, | CODE |
| HIGH⚡ | tests/test_stealth_resolver_js.py | 37 | e.children[i].previousElementSibling = i ? e.children[i - 1] : null; | CODE |
| HIGH⚡ | tests/test_stealth_resolver_js.py | 39 | e.contains = (o) => (o === e) || e.children.some(c => c.contains && c.contains(o)); | CODE |
| HIGH⚡ | tests/test_stealth_resolver_js.py | 44 | const tagMatch = s.match(/^[a-zA-Z][\w-]*/); if (tagMatch && e.tagName.toLowerCase() !== tagMatch[0].toLowerCase()) | CODE |
| HIGH⚡ | tests/test_stealth_resolver_js.py | 51 | const calls = { css: null, xpath: null }; | CODE |
| HIGH | tests/test_stealth_resolver_js.py | 65 | return { cls, text: el && el.textContent, tag: el && el.tagName, calls }; | CODE |
| HIGH | tests/test_stealth_resolver_js.py | 168 | if (!(Number.isInteger(g) && g >= 0 && g <= 2147483647)) { | CODE |
| HIGH | tests/test_launch.py | 83 | """window.chrome should exist (Playwright leaks undefined).""" | STRING |
| HIGH | tests/test_stealth_reproduction_110.py | 37 | window.__detections.evaluateQS.push(sel); | CODE |
| HIGH | tests/test_stealth_reproduction_110.py | 46 | window.__detections.untrustedKeydown.push(e.key); | CODE |
| HIGH | tests/test_stealth_reproduction_110.py | 146 | window.__evalLeaks.push(sel); | CODE |
| HIGH⚡ | tests/test_stealth_unit.py | 1273 | if (e.stack && e.stack.includes(':302:')) { | CODE |
| HIGH⚡ | tests/test_stealth_unit.py | 1274 | window.__evalLeaks.push(sel); | CODE |
| HIGH⚡ | tests/test_stealth_unit.py | 1283 | window.__untrustedKeys.push(e.key); | CODE |
| HIGH | tests/test_stealth_unit.py | 1108 | if (e.stack && e.stack.includes(':302:')) { | CODE |
| HIGH | tests/test_stealth_unit.py | 1109 | window.__evaluateDetections.push(sel); | CODE |
| HIGH | tests/test_stealth_unit.py | 1152 | window.__untrustedKeys.push(e.key); | CODE |
| HIGH | tests/test_stealth_unit.py | 1154 | window.__trustedKeys.push(e.key); | CODE |
| HIGH | tests/test_stealth_unit.py | 1227 | if (e.stack && e.stack.includes(':302:')) { | CODE |
| HIGH | tests/test_stealth_unit.py | 1228 | window.__evalLeaks.push({sel, stack: e.stack.substring(0, 200)}); | CODE |
| HIGH | tests/test_stealth_unit.py | 1335 | if (e.stack && e.stack.includes(':302:')) { | CODE |
| HIGH | tests/test_stealth_unit.py | 1336 | window.__evalLeaks.push(sel); | CODE |
| HIGH | tests/test_stealth_unit.py | 1371 | if (!e.isTrusted) window.__untrusted.push(e.key); | CODE |
| HIGH⚡ | tests/test_license.py | 544 | """Leaseless mode on the server → {"active": null}, never a false 0.""" | STRING |
| HIGH⚡ | tests/test_stealth.py | 48 | """window.chrome must be an object (not undefined).""" | STRING |
| HIGH | tests/test_stealth.py | 105 | failed.push(cells[0].innerText.trim()); | CODE |
| HIGH | tests/test_stealth.py | 166 | const isBot = botMatch ? botMatch[1] === 'true' : null; | CODE |
| HIGH | tests/test_stealth.py | 214 | return {score: scoreMatch ? parseFloat(scoreMatch[1]) : null}; | CODE |
| HIGH | cloakbrowser/human/scroll.py | 50 | "(() => { const e = document.scrollingElement || document.documentElement;" | CODE |
| HIGH⚡ | cloakbrowser/human/__init__.py | 1277 | || node.getAttribute && node.getAttribute('contenteditable') === 'true'; | STRING |
| HIGH⚡ | cloakbrowser/human/__init__.py | 2359 | || node.getAttribute && node.getAttribute('contenteditable') === 'true'; | STRING |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 120 | return rect.width > 0 && rect.height > 0; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 127 | if (child.nodeType === 1 && __isVisible(child)) return true; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 128 | if (child.nodeType === 3 && style.visibility === 'visible' && __visibleTextNode(child)) return true; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 139 | return rect.width > 0 && rect.height > 0; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 143 | if (style && style.display === 'contents') { | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 147 | let box = null; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 148 | if (child.nodeType === 1 && __isVisible(child)) { | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 150 | } else if (child.nodeType === 3 && style.visibility === 'visible' && | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 155 | if (rect.width > 0 && rect.height > 0) { | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 166 | return found ? { x: x1, y: y1, width: x2 - x1, height: y2 - y1 } : null; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 169 | return rect.width > 0 && rect.height > 0 | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 171 | : null; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 232 | return null; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 242 | const tag = el && el.tagName ? el.tagName.toLowerCase() : ''; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 244 | (document.head && document.head.contains(el)); | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 274 | if (immediate) { fragments.push(immediate); immediate = ''; } | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 278 | if (immediate) fragments.push(immediate); | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 286 | const r = document.evaluate(xp, document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 288 | for (let i = 0; i < r.snapshotLength; i++) { out.push(r.snapshotItem(i)); } | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 298 | if (!escaped && ch === '/') end = i; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 299 | escaped = !escaped && ch === '\\'; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 336 | if (el.shadowRoot && __matchTextValue(__elementText(el.shadowRoot, cache), matcher)) | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 344 | let lastMiss = null; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 347 | if (matcher.kind === 'lax' && lastMiss && lastMiss.contains(el)) continue; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 351 | if (m === 'self' || (m === 'selfAndChildren' && matcher.kind === 'exact')) out.push(el); | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 407 | return { name: name, regex: null, value: un.value, caseSensitive: caseSensitive }; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 417 | const lower = (parsed.regex || parsed.caseSensitive) ? null : parsed.value.toLowerCase(); | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 424 | if (actual === null || actual === undefined) continue; | CODE |
| HIGH⚡ | cloakbrowser/human/stealth_dom.py | 424 | if (actual === null || actual === undefined) continue; | CODE |
| 75 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | js/src/license.ts | 338 | export function resolveLicenseKeyWithSource( | CODE |
| LOW | js/src/download.ts | 342 | export function resetPreviewFallbackWarned(): void { | CODE |
| LOW | js/src/download.ts | 1207 | export function resetWrapperUpdateChecked(): void { | CODE |
| LOW | js/src/proxy.ts | 76 | function lenientDecodeURIComponent(s: string): string { | CODE |
| LOW | js/src/config.ts | 75 | export function normalizeRequestedVersion(version?: string): string | undefined { | CODE |
| LOW | js/src/config.ts | 279 | export function binarySupportsHeadlessNoViewport( | CODE |
| LOW | js/src/config.ts | 326 | export function binarySupportsMaximizedWindow( | CODE |
| LOW | js/src/config.ts | 366 | export function binarySupportsHttpProxyInlineAuth( | CODE |
| LOW | tests/test_font_warning.py | 43 | def test_warns_when_no_windows_fonts(tmp_path, capsys, monkeypatch): | CODE |
| LOW | tests/test_font_warning.py | 55 | def test_in_process_flag_blocks_second_call(tmp_path, capsys): | CODE |
| LOW | tests/test_font_warning.py | 68 | def test_marker_suppresses_across_processes(tmp_path, capsys): | CODE |
| LOW | tests/test_font_warning.py | 80 | def test_env_suppresses_and_writes_no_marker(tmp_path, capsys, monkeypatch): | CODE |
| LOW⚡ | tests/test_font_warning.py | 92 | def test_no_warn_on_non_linux(tmp_path, capsys): | CODE |
| LOW⚡ | tests/test_font_warning.py | 101 | def test_no_warn_when_platform_overridden(tmp_path, capsys): | CODE |
| LOW⚡ | tests/test_font_warning.py | 110 | def test_no_warn_no_crash_when_fc_list_absent(tmp_path, capsys): | CODE |
| LOW | tests/test_font_warning.py | 121 | def test_no_warn_when_full_set_present(tmp_path, capsys): | CODE |
| LOW | tests/test_font_warning.py | 131 | def test_warns_on_partial_set(tmp_path, capsys): | CODE |
| LOW | tests/test_stealth_resolver_js.py | 180 | def test_resolver_selector_semantics(): | STRING |
| LOW⚡ | tests/test_geoip.py | 57 | def test_locale_map_has_common_countries(): | CODE |
| LOW⚡ | tests/test_geoip.py | 76 | def test_default_geoip_timeout_is_twenty_seconds(): | CODE |
| LOW⚡ | tests/test_geoip.py | 131 | def test_resolve_exit_ip_no_proxy_fetches_directly(): | CODE |
| LOW⚡ | tests/test_geoip.py | 148 | def test_maybe_resolve_skips_when_geoip_false(): | CODE |
| LOW⚡ | tests/test_geoip.py | 155 | def test_maybe_resolve_no_proxy_uses_machine_ip(): | CODE |
| LOW⚡ | tests/test_geoip.py | 185 | def test_maybe_resolve_skips_when_both_explicit(): | CODE |
| LOW⚡ | tests/test_geoip.py | 194 | def test_maybe_resolve_fills_missing_timezone(): | CODE |
| LOW⚡ | tests/test_geoip.py | 202 | def test_maybe_resolve_fills_missing_locale(): | CODE |
| LOW⚡ | tests/test_geoip.py | 210 | def test_maybe_resolve_fills_both(): | CODE |
| LOW⚡ | tests/test_geoip.py | 219 | def test_maybe_resolve_raw_timezone_flag_wins_over_geoip(): | CODE |
| LOW⚡ | tests/test_geoip.py | 290 | def test_maybe_resolve_geoip_rejects_incomplete_result(): | CODE |
| LOW⚡ | tests/test_geoip.py | 325 | def test_download_overwrites_existing_db(tmp_path): | CODE |
| LOW | tests/test_geoip.py | 92 | def test_resolve_geo_raises_when_exit_ip_missing(): | CODE |
| LOW | tests/test_geoip.py | 103 | def test_resolve_geo_raises_when_db_missing(): | CODE |
| LOW | tests/test_geoip.py | 114 | def test_resolve_geo_raises_when_lookup_fails(): | CODE |
| LOW | tests/test_geoip.py | 169 | def test_maybe_resolve_no_proxy_both_explicit_skips_ip(): | CODE |
| LOW | tests/test_geoip.py | 234 | def test_maybe_resolve_raw_lang_flag_wins_over_geoip(): | CODE |
| LOW | tests/test_geoip.py | 247 | def test_maybe_resolve_raw_flags_both_skip_geo_lookup(): | CODE |
| LOW | tests/test_geoip.py | 262 | def test_maybe_resolve_param_beats_raw_flag(): | CODE |
| LOW | tests/test_geoip.py | 276 | def test_maybe_resolve_geoip_timeout_aborts_launch(monkeypatch): | CODE |
| LOW | tests/test_geoip.py | 356 | def test_ensure_db_downloads_once_under_concurrency(tmp_path): | CODE |
| LOW | tests/test_launch.py | 15 | def test_removed_backend_kwarg_raises(env, monkeypatch): | CODE |
| LOW | tests/test_launch.py | 63 | def test_launch_with_extra_args(): | CODE |
| LOW | tests/test_launch.py | 82 | def test_chrome_object_exists(): | CODE |
| LOW | tests/test_resolver_sources_match.py | 44 | def test_resolver_bodies_are_byte_identical(): | CODE |
| LOW | tests/test_resolver_sources_match.py | 63 | def test_resolver_has_no_host_literal_hazards(name): | CODE |
| LOW⚡ | tests/test_persistent_context.py | 13 | def _make_mock_pw_and_context(): | CODE |
| LOW⚡ | tests/test_persistent_context.py | 30 | def test_persistent_context_args_built(_mock_geoip, _mock_bin): | CODE |
| LOW⚡ | tests/test_persistent_context.py | 221 | def _make_mock_async_pw_and_context(): | CODE |
| LOW | tests/test_persistent_context.py | 46 | def test_persistent_context_default_viewport(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 60 | def test_persistent_context_headed_no_viewport(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 76 | def test_persistent_context_custom_viewport(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 91 | def test_persistent_context_user_agent(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 104 | def test_persistent_context_locale_and_timezone(_mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 123 | def test_persistent_context_color_scheme(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 137 | def test_persistent_context_geoip(_mock_bin, _mock_geoip): | CODE |
| LOW | tests/test_persistent_context.py | 155 | def test_persistent_context_timezone_id_alias(_mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 170 | def test_persistent_context_close_stops_pw(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 187 | def test_persistent_context_proxy_string(_mock_geoip, _mock_bin, _mock_platform): | CODE |
| LOW | tests/test_persistent_context.py | 203 | def test_persistent_context_proxy_dict(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 234 | async def test_persistent_context_async_args_built(_mock_geoip, _mock_bin): | CODE |
| LOW | tests/test_persistent_context.py | 250 | async def test_persistent_context_async_close_stops_pw(_mock_geoip, _mock_bin): | CODE |
| 630 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fetch-widevine.py | 299 | except Exception as e: # noqa: BLE001 — top-level guard; entrypoint treats nonzero as soft-fail | CODE |
| LOW | tests/test_humanize_unit.py | 2438 | except Exception: | CODE |
| LOW⚡ | tests/test_stealth_unit.py | 925 | except Exception: | CODE |
| LOW | tests/test_stealth.py | 188 | except Exception: | CODE |
| LOW⚡ | cloakbrowser/download.py | 761 | except Exception as exc: | CODE |
| LOW⚡ | cloakbrowser/download.py | 769 | except Exception: | CODE |
| LOW⚡ | cloakbrowser/download.py | 777 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 126 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 247 | except Exception as e: | CODE |
| LOW | cloakbrowser/download.py | 363 | except Exception as primary_err: | CODE |
| LOW | cloakbrowser/download.py | 503 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 594 | except Exception as exc: | CODE |
| LOW | cloakbrowser/download.py | 743 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 805 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 1022 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 1187 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 1248 | except Exception: | CODE |
| LOW | cloakbrowser/download.py | 1283 | except Exception: | CODE |
| MEDIUM | cloakbrowser/browser.py | 984 | def _close_context_with_cleanup() -> None: | CODE |
| LOW | cloakbrowser/browser.py | 116 | except Exception: | CODE |
| LOW | cloakbrowser/browser.py | 145 | except Exception as exc: | CODE |
| LOW | cloakbrowser/browser.py | 187 | except Exception as exc: | CODE |
| LOW | cloakbrowser/browser.py | 401 | except Exception as exc: | CODE |
| LOW | cloakbrowser/browser.py | 405 | except Exception as stop_exc: | CODE |
| LOW | cloakbrowser/browser.py | 528 | except Exception as exc: | CODE |
| LOW | cloakbrowser/browser.py | 532 | except Exception as stop_exc: | CODE |
| LOW | cloakbrowser/browser.py | 689 | except Exception as exc: | CODE |
| LOW | cloakbrowser/browser.py | 693 | except Exception as stop_exc: | CODE |
| LOW | cloakbrowser/browser.py | 851 | except Exception as exc: | CODE |
| LOW | cloakbrowser/browser.py | 855 | except Exception as stop_exc: | CODE |
| LOW | cloakbrowser/browser.py | 977 | except Exception: | CODE |
| LOW | cloakbrowser/browser.py | 1364 | except Exception: | CODE |
| LOW | cloakbrowser/browser.py | 1599 | except Exception: | CODE |
| LOW | cloakbrowser/browser.py | 1606 | except Exception: | CODE |
| LOW⚡ | cloakbrowser/geoip.py | 147 | except Exception as exc: | CODE |
| LOW | cloakbrowser/geoip.py | 182 | except Exception as exc: | CODE |
| LOW⚡ | cloakbrowser/geoip.py | 280 | except Exception: | CODE |
| LOW | cloakbrowser/geoip.py | 313 | except Exception as exc: | CODE |
| LOW | cloakbrowser/geoip.py | 347 | except Exception: | CODE |
| LOW | cloakbrowser/geoip.py | 367 | except Exception: | CODE |
| LOW | cloakbrowser/widevine.py | 122 | except Exception: | CODE |
| LOW | cloakbrowser/widevine.py | 127 | except Exception as e: | CODE |
| LOW | cloakbrowser/license.py | 418 | except Exception as e: | CODE |
| LOW | cloakbrowser/license.py | 488 | except Exception as e: | CODE |
| LOW | cloakbrowser/license.py | 534 | except Exception as e: | CODE |
| LOW | cloakbrowser/license.py | 546 | except Exception: | CODE |
| LOW | cloakbrowser/license.py | 554 | except Exception as e: | CODE |
| LOW | cloakbrowser/__main__.py | 139 | except Exception as exc: | CODE |
| LOW | cloakbrowser/__main__.py | 284 | except Exception as exc: | CODE |
| LOW | cloakbrowser/__main__.py | 289 | except Exception as exc: # platform unsupported, etc. | CODE |
| LOW | cloakbrowser/__main__.py | 345 | except Exception as exc: # network/proxy failure — never crash `info` | CODE |
| LOW | cloakbrowser/__main__.py | 591 | except Exception: | CODE |
| LOW | cloakbrowser/__main__.py | 723 | except Exception as e: | CODE |
| MEDIUM | cloakbrowser/__main__.py | 724 | print(f"Error: {e}", file=sys.stderr) | CODE |
| LOW | cloakbrowser/human/scroll_async.py | 56 | except Exception as exc: | CODE |
| LOW | cloakbrowser/human/scroll_async.py | 103 | except Exception as exc: | CODE |
| LOW | cloakbrowser/human/scroll.py | 62 | except Exception as exc: | CODE |
| LOW | cloakbrowser/human/scroll.py | 110 | except Exception as exc: | CODE |
| LOW⚡ | cloakbrowser/human/__init__.py | 1258 | except Exception: | CODE |
| LOW⚡ | cloakbrowser/human/__init__.py | 1280 | except Exception: | CODE |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_resolver_sources_match.py | 14 | CODE | |
| LOW | tests/test_stealth_unit.py | 17 | CODE | |
| LOW | tests/test_stealth_unit.py | 19 | CODE | |
| LOW | tests/test_stealth_unit.py | 22 | CODE | |
| LOW | tests/test_update.py | 3 | CODE | |
| LOW | tests/test_extract.py | 4 | CODE | |
| LOW | tests/test_extract.py | 6 | CODE | |
| LOW | tests/test_lambda_security.py | 3 | CODE | |
| LOW | tests/test_lambda_security.py | 7 | CODE | |
| LOW | cloakbrowser/config.py | 3 | CODE | |
| LOW | cloakbrowser/download.py | 7 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/__init__.py | 15 | CODE | |
| LOW | cloakbrowser/__init__.py | 15 | CODE | |
| LOW | cloakbrowser/__init__.py | 16 | CODE | |
| LOW | cloakbrowser/__init__.py | 16 | CODE | |
| LOW | cloakbrowser/__init__.py | 16 | CODE | |
| LOW | cloakbrowser/__init__.py | 16 | CODE | |
| LOW | cloakbrowser/__init__.py | 17 | CODE | |
| LOW | cloakbrowser/__init__.py | 17 | CODE | |
| LOW | cloakbrowser/__init__.py | 17 | CODE | |
| LOW | cloakbrowser/__init__.py | 18 | CODE | |
| LOW | cloakbrowser/browser.py | 15 | CODE | |
| LOW | cloakbrowser/geoip.py | 11 | CODE | |
| LOW | cloakbrowser/widevine.py | 23 | CODE | |
| LOW | cloakbrowser/license.py | 7 | CODE | |
| LOW | cloakbrowser/__main__.py | 11 | CODE | |
| LOW | cloakbrowser/human/scroll_async.py | 7 | CODE | |
| LOW | cloakbrowser/human/config.py | 7 | CODE | |
| LOW | cloakbrowser/human/config.py | 9 | CODE | |
| LOW | cloakbrowser/human/config.py | 12 | CODE | |
| LOW | cloakbrowser/human/keyboard_async.py | 10 | CODE | |
| LOW | cloakbrowser/human/keyboard_async.py | 13 | CODE | |
| LOW | cloakbrowser/human/keyboard_async.py | 15 | CODE | |
| LOW | cloakbrowser/human/keyboard_async.py | 16 | CODE | |
| LOW | cloakbrowser/human/scroll.py | 3 | CODE | |
| LOW | cloakbrowser/human/mouse_async.py | 7 | CODE | |
| LOW | cloakbrowser/human/mouse_async.py | 11 | CODE | |
| LOW | cloakbrowser/human/mouse_async.py | 14 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 14 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 16 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 22 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 22 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 30 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 30 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 30 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 30 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 30 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 30 | CODE | |
| LOW | cloakbrowser/human/actionability.py | 7 | CODE | |
| LOW | cloakbrowser/human/stealth_dom.py | 34 | CODE | |
| LOW | cloakbrowser/human/mouse.py | 3 | CODE | |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/docker-entrypoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | bin/docker-entrypoint.sh | 21 | done | COMMENT |
| LOW | js/src/fonts.ts | 1 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | js/src/config.ts | 41 | // --------------------------------------------------------------------------- | COMMENT |
| LOW | js/src/config.ts | 401 | } | COMMENT |
| LOW | js/src/human/elementhandle.ts | 141 | // Accepts a per-call ``callCfg`` so type/fill overrides like | COMMENT |
| LOW | cloakbrowser/config.py | 361 | if version is None: | COMMENT |
| LOW | cloakbrowser/browser.py | 1481 | # | COMMENT |
| LOW | dotnet/tests/CloakBrowser.Tests/ViewportTests.cs | 1 | using CloakBrowser; | COMMENT |
| LOW | …loakBrowser.Tests/Wrappers/GeneratorDelegationTests.cs | 141 | Assert.NotNull(wrapper.GetProperty("Inner")); | COMMENT |
| LOW | dotnet/src/CloakBrowser/ViewportDefaults.cs | 1 | using Microsoft.Playwright; | COMMENT |
| LOW | dotnet/src/CloakBrowser/Download.cs | 21 | /// <summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/Download.cs | 181 | /// Ensure the stealth Chromium binary is available. Download if needed. | COMMENT |
| LOW | dotnet/src/CloakBrowser/Download.cs | 561 | /// <summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/Download.cs | 661 | catch (IOException) { } | COMMENT |
| LOW | dotnet/src/CloakBrowser/Download.cs | 1141 | } | COMMENT |
| LOW | dotnet/src/CloakBrowser/Handles.cs | 61 | Browser = (IBrowser)LicenseGuard.Wrap(visible, denialPath); | COMMENT |
| LOW | dotnet/src/CloakBrowser/Handles.cs | 81 | public Task<IBrowserContext> NewContextAsync(BrowserNewContextOptions? options = null) => | COMMENT |
| LOW | dotnet/src/CloakBrowser/Handles.cs | 121 | /// A denial that lands after Playwright connected kills the browser without a launch | COMMENT |
| LOW | dotnet/src/CloakBrowser/Config.cs | 41 | "MKFKwIhUcKWq5xTuNA0Ovg99njcDEcEJvmWYYhApvaU=", | COMMENT |
| LOW | dotnet/src/CloakBrowser/Config.cs | 401 | /// </summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/Config.cs | 461 | /// <summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/CloakLauncher.cs | 581 | } | COMMENT |
| LOW | dotnet/src/CloakBrowser/Widevine.cs | 1 | using System.Runtime.InteropServices; | COMMENT |
| LOW | dotnet/src/CloakBrowser/LaunchOptions.cs | 41 | /// <summary>Chrome extension paths to load.</summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/LaunchOptions.cs | 61 | /// Binary release channel (<c>stable</c> or <c>preview</c>). Also read from the | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 1 | using System.Security.Cryptography; | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 21 | /// <list type="bullet"> | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 41 | public sealed record ProReleaseInfo( | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 61 | internal enum LicenseKeySource | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 141 | { | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 161 | /// </summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 281 | internal static Func<ProReleaseInfo?>? ProLatestReleaseOverride; | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 341 | return (null, LicenseKeySource.None); | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 361 | /// </list> | COMMENT |
| LOW | dotnet/src/CloakBrowser/License.cs | 641 | /// <summary>Get only the version from the server-resolved Pro release.</summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser/Wrappers/Humanize.cs | 1 | using System.Collections.Generic; | COMMENT |
| LOW | …et/src/CloakBrowser/Wrappers/HumanizedElementHandle.cs | 1 | using CloakBrowser.Human; | COMMENT |
| LOW | dotnet/src/CloakBrowser/Human/HumanPage.cs | 21 | COMMENT | |
| LOW | dotnet/src/CloakBrowser/Human/HumanRandom.cs | 1 | namespace CloakBrowser.Human; | COMMENT |
| LOW | dotnet/src/CloakBrowser/Human/HumanKeyboard.cs | 101 | return ch; | COMMENT |
| LOW | dotnet/src/CloakBrowser/Human/HumanScroll.cs | 1 | namespace CloakBrowser.Human; | COMMENT |
| LOW | dotnet/src/CloakBrowser/Human/HumanScroll.cs | 21 | /// <summary> | COMMENT |
| LOW | dotnet/src/CloakBrowser.Cli/Program.cs | 1 | using System.Diagnostics; | COMMENT |
| LOW | examples/integrations/agent_browser.sh | 1 | #!/bin/bash | COMMENT |
| LOW | examples/integrations/aws_lambda/lambda-entrypoint.sh | 1 | #!/bin/sh | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bin/fetch-widevine.py | 74 | CODE | |
| LOW | tests/test_geoip.py | 92 | CODE | |
| LOW | tests/test_geoip.py | 103 | CODE | |
| LOW | tests/test_geoip.py | 114 | CODE | |
| LOW | tests/test_resolver_sources_match.py | 44 | CODE | |
| LOW | tests/test_update.py | 505 | CODE | |
| LOW | tests/test_update.py | 587 | CODE | |
| LOW | tests/test_lambda_security.py | 131 | CODE | |
| LOW | cloakbrowser/config.py | 212 | CODE | |
| LOW | cloakbrowser/download.py | 852 | CODE | |
| LOW | cloakbrowser/download.py | 935 | CODE | |
| LOW | cloakbrowser/download.py | 1170 | CODE | |
| LOW | cloakbrowser/geoip.py | 318 | CODE | |
| LOW | cloakbrowser/license.py | 213 | CODE | |
| LOW | cloakbrowser/license.py | 429 | CODE | |
| LOW | cloakbrowser/license.py | 581 | CODE | |
| LOW | cloakbrowser/__main__.py | 148 | CODE | |
| LOW | cloakbrowser/__main__.py | 392 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 1660 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 2751 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 108 | CODE | |
| LOW | cloakbrowser/human/__init__.py | 176 | CODE | |
| LOW | cloakbrowser/human/actionability.py | 248 | CODE | |
| LOW | cloakbrowser/human/actionability.py | 300 | CODE | |
| LOW | cloakbrowser/human/actionability_async.py | 158 | CODE | |
| LOW | cloakbrowser/human/actionability_async.py | 205 | CODE | |
| LOW | examples/fingerprint_scan_test.py | 89 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/integrations/browser_use_example.py | 18 | # Step 1: Launch CloakBrowser (handles binary, stealth args, fingerprints) | COMMENT |
| LOW⚡ | examples/integrations/browser_use_example.py | 24 | # Step 2: Connect browser-use to the stealth browser via CDP | COMMENT |
| LOW⚡ | examples/integrations/browser_use_example.py | 27 | # Step 3: Run your AI agent — it browses through CloakBrowser | COMMENT |
| LOW⚡ | examples/integrations/crawl4ai_example.py | 17 | # Step 1: Launch CloakBrowser with remote debugging | COMMENT |
| LOW⚡ | examples/integrations/crawl4ai_example.py | 23 | # Step 2: Connect Crawl4AI to the stealth browser via CDP | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/integrations/browser_use_example.py | 18 | # Step 1: Launch CloakBrowser (handles binary, stealth args, fingerprints) | COMMENT |
| LOW⚡ | examples/integrations/browser_use_example.py | 24 | # Step 2: Connect browser-use to the stealth browser via CDP | COMMENT |
| LOW⚡ | examples/integrations/browser_use_example.py | 27 | # Step 3: Run your AI agent — it browses through CloakBrowser | COMMENT |
| LOW⚡ | examples/integrations/crawl4ai_example.py | 17 | # Step 1: Launch CloakBrowser with remote debugging | COMMENT |
| LOW⚡ | examples/integrations/crawl4ai_example.py | 23 | # Step 2: Connect Crawl4AI to the stealth browser via CDP | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_update.py | 455 | # Create the binary dir so it looks already downloaded | COMMENT |
| MEDIUM | tests/test_update.py | 494 | # Create a fake cached binary | COMMENT |
| MEDIUM⚡ | tests/test_license.py | 710 | # Create the binary so effective version returns it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cloakbrowser/browser.py | 1433 | # feature set matches a stock browser rather than a test harness. Merged into any | COMMENT |
| MEDIUM | examples/fingerprint_scan_test.py | 90 | """abrahamjuliot.github.io/creepjs — comprehensive fingerprint analysis.""" | STRING |
| MEDIUM | examples/stealth_test.py | 53 | """bot.incolumitas.com — comprehensive 30+ check bot detection.""" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cloakbrowser/human/config.py | 179 | Resolve a preset name + optional overrides into a full HumanConfig. Args: preset: 'default' or 'careful'. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 609 | page.locator("#email").fill("user@example.com") # per-character timing, thinking pauses | CODE |
| LOW | README.md | 1370 | page.type("#email", "user@example.com", delay=50) | CODE |
| LOW | js/README.md | 326 | await page.type('#email', 'user@example.com', { delay: 50 }); | CODE |
| LOW | js/src/puppeteer.ts | 178 | * await page.type('#email', 'user@example.com'); // Per-character timing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cloakbrowser/browser.py | 319 | CODE | |
| LOW | cloakbrowser/browser.py | 449 | CODE | |
| LOW | cloakbrowser/browser.py | 573 | CODE | |
| LOW | cloakbrowser/browser.py | 733 | CODE | |
| LOW | cloakbrowser/browser.py | 895 | CODE | |
| LOW | cloakbrowser/browser.py | 1008 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/integrations/aws_lambda/INSTRUCTIONS.md | 113 | ### Retry orchestration | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cloakbrowser/__init__.py | 32 | __all__ = [ | CODE |
| LOW | cloakbrowser/__main__.py | 49 | def _setup_logging() -> None: | CODE |
| LOW | cloakbrowser/human/__init__.py | 61 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_stealth_unit.py | 1122 | # Check if any querySelector calls came from evaluate context | STRING |