← Back to scan
File as GitHub Issue repo: platonai/Browser4

Push this scan report to platonai/Browser4

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.check_file` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… browser4-agent-tools/src/main/kotlin/ai…:82
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… browser4-agent-tools/src/main/kotlin/ai…:56
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… browser4-agent-tools/src/main/kotlin/ai…:30
HIGH MINED108 [MINED108] `self._create_context` used but never assigned in __init__: Method `__aenter__… browser4-agentic/src/main/resources/ski…:30
HIGH MINED108 [MINED108] `self.check_file` used but never assigned in __init__: Method `run` of class `… bin/quality/fix-links.py:375
HIGH MINED108 [MINED108] `self.find_documentation_files` used but never assigned in __init__: Method `r… bin/quality/fix-links.py:361
HIGH MINED108 [MINED108] `self.check_link` used but never assigned in __init__: Method `check_file` of … bin/quality/fix-links.py:350
HIGH MINED108 [MINED108] `self.extract_links_from_file` used but never assigned in __init__: Method `ch… bin/quality/fix-links.py:346
HIGH MINED108 [MINED108] `self.check_internal_link` used but never assigned in __init__: Method `check_… bin/quality/fix-links.py:317
HIGH MINED108 [MINED108] `self._is_localhost_url` used but never assigned in __init__: Method `check_li… bin/quality/fix-links.py:302
HIGH MINED108 [MINED108] `self.check_external_link` used but never assigned in __init__: Method `check_… bin/quality/fix-links.py:312
HIGH MINED108 [MINED108] `self._should_skip_url` used but never assigned in __init__: Method `extract_l… bin/quality/fix-links.py:181
HIGH MINED108 [MINED108] `self.should_skip_file` used but never assigned in __init__: Method `find_docu… bin/quality/fix-links.py:135
HIGH MINED108 [MINED108] `self.should_skip_file` used but never assigned in __init__: Method `find_docu… bin/quality/fix-links.py:129
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… cli/scripts/publish-if-needed.js:22
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … cli/browser4-cli/src/state.rs:194
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … cli/browser4-cli/src/snapshot.rs:134
HIGH SEC024 [SEC024] XML External Entity (XXE) — Java parser default: Java XML parsers accept externa… browser4-core/browser4-skeleton/src/mai…:40
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… browser4-core/browser4-skeleton/src/mai…:57
HIGH MINED029 [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotli… browser4-core/browser4-browser/src/main…:79
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… browser4-agentic/src/main/resources/ski…:44
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … browser4-agentic/src/main/resources/ski…:28
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … browser4-agentic/src/main/resources/ski…:23
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … browser4-agentic/src/main/kotlin/ai/pla…:66
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… browser4-agentic/src/main/resources/ski…:127
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… browser4-agentic/src/main/kotlin/ai/pla…:82
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… browser4-agentic/src/main/kotlin/ai/pla…:79
HIGH COMP001 [COMP001] High cognitive complexity: Function `get_field_info` has cognitive complexity 3… browser4-agentic/src/main/resources/ski…:62
HIGH COMP001 [COMP001] High cognitive complexity: Function `get_bounding_box_messages` has cognitive c… browser4-agentic/src/main/resources/ski…:18
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:1269
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/release.yml:1115
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/release.yml:1108
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/release.yml:1101
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/release.yml:1095
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/release.yml:968
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/release.yml:927
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:922
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/release.yml:905
HIGH MINED115 [MINED115] Action `actions/setup-java` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/release.yml:857
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:851
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/release.yml:812
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/release.yml:739
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:734
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/release.yml:593
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/release.yml:585
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:269
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/release.yml:111
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:105
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/nightly.yml:135
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/nightly.yml:132
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/nightly.yml:33
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:77
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/ci.yml:74
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:44
HIGH MINED118 [MINED118] Dockerfile FROM `rust:1.94-bookworm` not pinned by digest: `FROM rust:1.94-boo… cli/docker/Dockerfile.build:2
HIGH MINED118 [MINED118] Dockerfile FROM `eclipse-temurin:21-jre-alpine` not pinned by digest: `FROM ec… Dockerfile:41
HIGH MINED118 [MINED118] Dockerfile FROM `maven:3.9.9-eclipse-temurin-21-alpine` not pinned by digest: … Dockerfile:2
HIGH MINED118 [MINED118] Dockerfile FROM `eclipse-temurin:21-jre-alpine` not pinned by digest: `FROM ec… Dockerfile.fast:8
HIGH DKC011 Database service publishes a host port docker-compose.yml:1
HIGH JRN009 Secret-like setting is echoed into a password input value browser4-tests/browser4-tests-common/sr…:5
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… browser4-rest/src/main/kotlin/ai/platon…:41
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… browser4-agentic/src/main/resources/ski…:58
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… browser4-agentic/src/main/resources/ski…:16
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… browser4-rest/src/main/kotlin/ai/platon…:127
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… browser4-rest/src/main/kotlin/ai/platon…:65
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… browser4-rest/src/main/kotlin/ai/platon…:51
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… browser4-rest/src/main/kotlin/ai/platon…:120
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… browser4-rest/src/main/kotlin/ai/platon…:82
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… browser4-rest/src/main/kotlin/ai/platon…:68
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… coworker/scripts/workers/count-total-to…:224
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… coworker/scripts/workers/count-total-to…:134
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… browser4-agentic/src/main/resources/ski…:118
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… browser4-agentic/src/main/resources/ski…:74
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bin/quality/fix-links.py:381
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bin/quality/fix-links.py:282
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bin/quality/fix-links.py:185
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… bin/quality/fix-links.py:549
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … browser4-core/browser4-skeleton/src/mai…:140
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. browser4-core/browser4-browser/src/main…:41
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… browser4-agentic/src/main/resources/ski…:53
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… browser4-agentic/src/main/resources/ski…:76
MED DKR003 Compose service `browser4` image uses the latest tag docker-compose.yml:26
MED DKR003 Compose service `proxy-hub` image uses the latest tag docker-compose.yml:18
MED DKR003 Compose service `mongodb` image uses the latest tag docker-compose.yml:1
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR001 Docker final stage has no non-root USER cli/docker/Dockerfile.build:2
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AGT006 React interval is created without an explicit cleanup browser4-tests/browser4-tests-common/sr…:17355
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:15
MED JRN003 Frontend API reference is not matched by discovered backend routes browser4-tests/browser4-tests-common/sr…:15
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 35.1% of discovered …
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … browser4-rest/src/main/kotlin/ai/platon…:236
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … browser4-rest/src/main/kotlin/ai/platon…:196
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… browser4-rest/src/main/kotlin/ai/platon…:40
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… browser4-rest/src/main/kotlin/ai/platon…:22
MED AUC004 [AUC004] Admin route does not show super_admin separation: An administrative route was de… browser4-rest/src/main/kotlin/ai/platon…:16
LOW COMP001 [COMP001] High cognitive complexity: Function `create_connection` has cognitive complexit… browser4-agentic/src/main/resources/ski…:112
LOW AIC003 Duplicated implementation block across source files browser4-rest/src/main/kotlin/ai/platon…:54
LOW AIC003 Duplicated implementation block across source files browser4-rest/src/main/kotlin/ai/platon…:19
LOW AIC003 Duplicated implementation block across source files browser4-rest/src/main/kotlin/ai/platon…:41
LOW AIC003 Duplicated implementation block across source files browser4-rest/src/main/kotlin/ai/platon…:16
LOW AIC003 Duplicated implementation block across source files browser4-core/browser4-skeleton/src/mai…:8
LOW AIC003 Duplicated implementation block across source files browser4-core/browser4-browser/src/main…:88
LOW AIC003 Duplicated implementation block across source files browser4-apps/browser4-standalone/src/m…:18
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
LOW DKR011 Dockerfile installs recommended OS packages cli/docker/Dockerfile.build:5
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:26
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:18
LOW DKC010 Compose service lacks no-new-privileges hardening cli/docker/docker-compose.yml:57
LOW DKC010 Compose service lacks no-new-privileges hardening cli/docker/docker-compose.yml:36
LOW DKC010 Compose service lacks no-new-privileges hardening cli/docker/docker-compose.yml:8
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:26
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:18
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … cli/docker/docker-compose.yml:23
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. cli/browser4-cli/src/state.rs:149
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… browser4-tests/browser4-tests-common/sr…:5
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… browser4-tests/browser4-tests-common/sr…:2
INFO MINED098 [MINED098] Global Scope Pollution: Attaching libraries/objects directly to the global win… browser4-tests/browser4-tests-common/sr…:2
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … browser4-tests/browser4-tests-common/sr…:1
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … browser4-tests/browser4-tests-common/sr…:1
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … browser4-core/browser4-browser/src/main…:33
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… examples/browser4-examples/src/main/kot…:8
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… examples/browser4-examples/src/main/kot…:18
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… browser4-core/browser4-browser/src/main…:89
Reset to top 5 127 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `platonai/Browser4`

**Score: 85/100 (A-)**  ·  141 findings  ·  scanned 2026-06-05 14:32 UTC  ·  291,764 LOC

| Severity | Count |
|---|---|
| CRITICAL | 3 |
| HIGH | 66 |
| MEDIUM | 27 |
| LOW | 20 |

📊 [Full filterable report](https://repobility.com/scan/cbf6d4c7-1089-41a0-b635-c49b8192e888/)  ·  ![scorecard](https://repobility.com/scan/cbf6d4c7-1089-41a0-b635-c49b8192e888/report.png?v=1780669960-s2)

### Top findings

1. **CRITICAL** `SEC084` — JS: require() with non-literal
   `browser4-agent-tools/src/main/kotlin/ai/platon/pulsar/agentic/tools/advanced/crawl/service/ScrapeService.kt:82`
2. **CRITICAL** `SEC084` — JS: require() with non-literal
   `browser4-agent-tools/src/main/kotlin/ai/platon/pulsar/agentic/tools/advanced/crawl/common/XSQLScrapeHyperlink.kt:56`
3. **CRITICAL** `SEC084` — JS: require() with non-literal
   `browser4-agent-tools/src/main/kotlin/ai/platon/pulsar/agentic/tools/advanced/crawl/common/DegenerateXSQLScrapeHyperlink.kt:30`
4. **HIGH** `MINED108` — `self._create_context` used but never assigned in __init__
   `browser4-agentic/src/main/resources/skills/mcp-builder/scripts/connections.py:30` · ✓ Repobility
5. **HIGH** `MINED108` — `self.check_file` used but never assigned in __init__
   `bin/quality/fix-links.py:375` · ✓ Repobility

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/cbf6d4c7-1089-41a0-b635-c49b8192e888/_
Megaproject â high spam risk
Could not determine 'platonai/Browser4' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.