← Back to scan
File as GitHub Issue repo: openfrontio/OpenFrontIO

Push this scan report to openfrontio/OpenFrontIO

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

Async function without await — fire-and-forget Promise (AI mistake)

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 JRN001 Token handoff appears to use a callback URL or fragment src/client/Auth.ts:19
HIGH MINED031 [MINED031] React Direct State Mutation: this.state.X = Y mutates without setState. React … src/client/view/UnitView.ts:117
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/client/render/gl/utils/GlUtils.ts:134
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/client/hud/layers/AlertFrame.ts:173
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/client/hud/layers/ActionableEvents.…:187
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/client/ModalRouter.ts:60
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/client/WebGLFrameBuilder.ts:167
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/client/FlagInput.ts:108
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/client/Api.ts:280
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… map-generator/main.go:170
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. map-generator/logger.go:174
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/release.yml:158
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/release.yml:106
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/release.yml:54
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/release.yml:18
HIGH MINED115 [MINED115] Action `actions/setup-go` pinned to mutable ref `@v6`: `uses: actions/setup-go… .github/workflows/ci.yml:85
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/ci.yml:81
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:80
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/ci.yml:68
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:67
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/ci.yml:55
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:54
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/ci.yml:43
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:39
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/ci.yml:29
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/ci.yml:24
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ci.yml:20
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/deploy.yml:171
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/deploy.yml:87
HIGH MINED115 [MINED115] Action `actions/create-github-app-token` pinned to mutable ref `@v3`: `uses: a… .github/workflows/deploy.yml:72
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/deploy.yml:61
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v6`: `uses: actions/setup-… .github/workflows/issue-lifecycle-event…:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/issue-lifecycle-event…:18
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/pr-description.yml:66
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/pr-description.yml:23
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v9`: `uses: actions/git… .github/workflows/pr-close-on-label.yml:18
HIGH MINED118 [MINED118] Dockerfile FROM `node:24-slim` not pinned by digest: `FROM node:24-slim` resol… Dockerfile:2
HIGH MINED113 [MINED113] Express POST /api/archive_singleplayer_game has no auth: Express route POST /a… src/server/Worker.ts:235
HIGH MINED113 [MINED113] Express POST /api/create_game/:id has no auth: Express route POST /api/create_… src/server/Worker.ts:142
HIGH MINED113 [MINED113] Express POST /api/cache/clear has no auth: Express route POST /api/cache/clear… tests/pathfinding/playground/server.ts:222
HIGH MINED113 [MINED113] Express POST /api/spatial-query has no auth: Express route POST /api/spatial-q… tests/pathfinding/playground/server.ts:177
HIGH MINED113 [MINED113] Express POST /api/pathfind has no auth: Express route POST /api/pathfind decla… tests/pathfinding/playground/server.ts:116
HIGH JRN004 Consent is collected in UI without visible backend audit persistence resources/privacy-policy.html:460
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/server/GamePreviewRoute.ts:82
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… src/server/Worker.ts:218
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/client/components/NavNotificationsC…:35
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… src/client/components/SubscriptionPanel…:34
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… src/client/components/Footer.ts:85
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/client/hud/layers/WinModal.ts:47
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/client/MultiTabDetector.ts:2
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… map-generator/logger.go:170
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED DKR015 Docker build context is very large .dockerignore
MED DKR001 Docker final stage has no non-root USER Dockerfile:35
MED AGT007 localStorage write failures are swallowed silently src/client/components/IOSAddToHomeScree…:35
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/server.ts:222
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/server.ts:177
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/server.ts:116
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/server.ts:77
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/server.ts:48
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/server.ts:30
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/public/cli…:1153
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/public/cli…:942
MED JRN003 Frontend API reference is not matched by discovered backend routes tests/pathfinding/playground/public/cli…:864
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 42.9% of discovered …
MED WEB015 Public web app has no Content Security Policy index.html
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/server/Worker.ts:235
MED AUC009 [AUC009] Sensitive function route lacks elevated authorization evidence: A route appears … src/server/Worker.ts:142
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/name-pass/T…:110
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/name-pass/S…:79
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/name-pass/S…:59
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/name-pass/I…:44
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/fx-pass/FxS…:182
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/fx-pass/FxS…:37
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/fx-pass/FxA…:44
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/WorldTextPa…:99
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/UnitPass.ts:143
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/TileScatter…:65
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/StructurePa…:212
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/StructureLe…:193
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/StructureLe…:191
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/SelectionBo…:29
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/SamRadiusPa…:137
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/RangeCircle…:23
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/RadialMenuP…:100
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/FalloutLigh…:44
LOW AIC003 Duplicated implementation block across source files src/client/render/gl/passes/BorderScatt…:51
LOW AIC003 Duplicated implementation block across source files src/client/hud/layers/SpawnTimer.ts:24
LOW AIC003 Duplicated implementation block across source files src/client/hud/layers/SettingsModal.ts:60
LOW AIC003 Duplicated implementation block across source files src/client/hud/layers/EventsDisplay.ts:148
LOW AIC003 Duplicated implementation block across source files src/client/hud/layers/EventsDisplay.ts:74
LOW AIC003 Duplicated implementation block across source files src/client/components/leaderboard/Leade…:268
LOW AIC003 Duplicated implementation block across source files src/client/components/clan/ClanShared.ts:154
LOW AIC003 Duplicated implementation block across source files src/client/components/clan/ClanRequests…:104
LOW AIC003 Duplicated implementation block across source files src/client/components/clan/ClanDetailVi…:367
LOW AIC003 Duplicated implementation block across source files src/client/components/clan/ClanCard.ts:87
LOW AIC003 Duplicated implementation block across source files src/client/components/MobileNavBar.ts:7
LOW AIC003 Duplicated implementation block across source files src/client/TerritoryPatternsModal.ts:141
LOW WEB005 robots.txt does not advertise a sitemap resources/robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:38
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… vite.config.ts:38
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/client/Layout.ts:45
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/client/LangSelector.ts:278
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/client/FlagInputModal.ts:198
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/client/TroubleshootingModal.ts:207
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/client/LangSelector.ts:145
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/client/CrazyGamesSDK.ts:24
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/client/LocalServer.ts:161
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/client/LeaderboardModal.ts:67
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/client/CrazyGamesSDK.ts:144
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/issue-lifecycle/github.ts:79
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/issue-lifecycle/events.ts:25
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/issue-lifecycle/cron.ts:46
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… map-generator/main.go:295
Reset to top 5 119 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `openfrontio/OpenFrontIO`

**Score: 91/100 (A-)**  ·  119 findings  ·  scanned 2026-06-05 20:59 UTC  ·  141,918 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 44 |
| MEDIUM | 24 |
| LOW | 36 |

📊 [Full filterable report](https://repobility.com/scan/97c13cf4-1456-4e69-9a02-0683578f0921/)  ·  ![scorecard](https://repobility.com/scan/97c13cf4-1456-4e69-9a02-0683578f0921/report.png?v=1780693164-s2)

### Top findings

1. **CRITICAL** `JRN001` — Token handoff appears to use a callback URL or fragment
   `src/client/Auth.ts:19`
2. **HIGH** `MINED031` — React Direct State Mutation
   `src/client/view/UnitView.ts:117` · CWE-682 · ✓ Repobility
3. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `src/client/render/gl/utils/GlUtils.ts:134` · CWE-79 · A03:2021 Injection (XSS)
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/client/hud/layers/AlertFrame.ts:173`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/client/hud/layers/ActionableEvents.ts:187`

---

**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/97c13cf4-1456-4e69-9a02-0683578f0921/_
Megaproject â high spam risk
Could not determine 'openfrontio/OpenFrontIO' 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.
Already filed
41/126 findings (33%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

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.