{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "scanner-bb472258c441b114", "name": "Stray `console.log` in TS/JS \u2014 api/players/migrate-modes.js:104", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 api/players/migrate-modes.js:104"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-22dffaf8b362c195", "name": "Stray `console.log` in TS/JS \u2014 api/players/[handle].js:652", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 api/players/[handle].js:652"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f81aaac839cf35c0", "name": "Stray `console.log` in TS/JS \u2014 api/players/_modeMigration.js:74", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 api/players/_modeMigration.js:74"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-288273c86545b70d", "name": "Stray `console.log` in TS/JS \u2014 api/rooms/[code].js:255", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 api/rooms/[code].js:255"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ec375ce10ab9a4df", "name": "Stray `console.log` in TS/JS \u2014 api/rooms/vote/[code].js:62", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 api/rooms/vote/[code].js:62"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-fbe4f7c65277bcb6", "name": "Stray `console.log` in TS/JS \u2014 public/sw.js:22", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 public/sw.js:22"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ac3e9c22058297c6", "name": "Stray `console.log` in TS/JS \u2014 src/main.js:97", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/main.js:97"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-c0c4e875f7b8e493", "name": "Stray `console.log` in TS/JS \u2014 src/player/playerCreateModal.js:329", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/player/playerCreateModal.js:329"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4bff424f9f329eba", "name": "Stray `console.log` in TS/JS \u2014 src/player/playerEditModal.js:331", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/player/playerEditModal.js:331"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-feb20f11cd423ed9", "name": "Stray `console.log` in TS/JS \u2014 src/player/playerManager.js:70", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/player/playerManager.js:70"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6dfebce23af5d8f1", "name": "Stray `console.log` in TS/JS \u2014 src/player/touchHandler.js:173", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/player/touchHandler.js:173"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-060026808fe36f90", "name": "Stray `console.log` in TS/JS \u2014 src/api/playerApi.js:437", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/api/playerApi.js:437"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-eb0ce205400bcf47", "name": "Stray `console.log` in TS/JS \u2014 src/controllers/finalWinSideEffects.js:64", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/controllers/finalWinSideEffects.js:64"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e4622a4b495aa605", "name": "Stray `console.log` in TS/JS \u2014 src/controllers/gameControls.js:129", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/controllers/gameControls.js:129"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-94605b48a674e2b0", "name": "Stray `console.log` in TS/JS \u2014 src/controllers/playerControls.js:68", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/controllers/playerControls.js:68"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-d475d95e47f84eff", "name": "Stray `console.log` in TS/JS \u2014 src/share/roomUI.js:358", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/share/roomUI.js:358"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c5da4c62be9d16b", "name": "Stray `console.log` in TS/JS \u2014 src/share/votingSync.js:64", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/share/votingSync.js:64"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-74494cffdf7b3b54", "name": "Stray `console.log` in TS/JS \u2014 src/share/votingManager.js:715", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/share/votingManager.js:715"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9587959818524e68", "name": "Stray `console.log` in TS/JS \u2014 src/share/roomManager.js:324", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 src/share/roomManager.js:324"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-7f0c13464cfee974", "name": "Insecure pattern 'direct_innerhtml_assignment' in players.html:256", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in players.html:256"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-185d28056fc7da16", "name": "Insecure pattern 'direct_innerhtml_assignment' in player-profile.html:567", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in player-profile.html:567"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d9369f988026dcbe", "name": "Insecure pattern 'cors_wildcard' in api/_cors.js:3", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in api/_cors.js:3"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-85ba90fafbc5e443", "name": "Insecure pattern 'node_child_process' in scripts/ops/verify-build-clean.mjs:1", "shortDescription": {"text": "Insecure pattern 'node_child_process' in scripts/ops/verify-build-clean.mjs:1"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-331aa13e315cf34e", "name": "Insecure pattern 'node_child_process' in scripts/visual/regression-test.mjs:32", "shortDescription": {"text": "Insecure pattern 'node_child_process' in scripts/visual/regression-test.mjs:32"}, "fullDescription": {"text": "Found a known-risky pattern (node_child_process). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e8b70a1f8d5beb95", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/main.js:588", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/main.js:588"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-f26ba514eb1bb46a", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerCreateModal.js:52", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerCreateModal.js:52"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d4822be66ad91bb3", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerEditModal.js:63", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerEditModal.js:63"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-f9f0e593751ba7ba", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerSearch.js:77", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerSearch.js:77"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e9fda6284368674f", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/victoryModal.js:123", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/victoryModal.js:123"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5ec4a0a94b757f50", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/panelManager.js:241", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/panelManager.js:241"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-050cc82355923e26", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/share/roomUI.js:332", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/share/roomUI.js:332"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1bf3a06979797e60", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/share/shareManager.js:146", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/share/shareManager.js:146"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-33add50d2c66eb94", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/share/votingManager.js:341", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/share/votingManager.js:341"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-75c26bb56cbe011f", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/stats/statistics.js:116", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/stats/statistics.js:116"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-93b5dc94140a9b18", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/cache@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f4d2e4b1e84a2522", "name": "Very large file: api/players/[handle].js (1478 lines)", "shortDescription": {"text": "Very large file: api/players/[handle].js (1478 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "3 test file(s) for 190 source file(s) (ratio 0.02). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 222 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 25 placeholder/mock markers across 12 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-11825279136b53a3", "name": "CI is configured but no tests are detected", "shortDescription": {"text": "CI is configured but no tests are detected"}, "fullDescription": {"text": "A CI pipeline exists, but the scan found no test files to gate. Opus labeled this generated-code pattern as config theater: release machinery exists, but it has little behavioral signal."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing tests. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-3225d3f3b57f6733", "name": "Commented-code block (6 lines) in api/players/_pending.js:4", "shortDescription": {"text": "Commented-code block (6 lines) in api/players/_pending.js:4"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-9940a21093d36bb2", "name": "Commented-code block (5 lines) in api/players/_utils.js:92", "shortDescription": {"text": "Commented-code block (5 lines) in api/players/_utils.js:92"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-616229ae86d1a723", "name": "Commented-code block (5 lines) in api/players/pending.js:4", "shortDescription": {"text": "Commented-code block (5 lines) in api/players/pending.js:4"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-13961f077ca3f047", "name": "Legacy-named symbol `N_old` in api/players/[handle].js:1202", "shortDescription": {"text": "Legacy-named symbol `N_old` in api/players/[handle].js:1202"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2b8ac386e12a5e64", "name": "Commented-code block (7 lines) in api/players/[handle].js:909", "shortDescription": {"text": "Commented-code block (7 lines) in api/players/[handle].js:909"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-36d832838c16180d", "name": "Commented-code block (5 lines) in api/rooms/[code].js:223", "shortDescription": {"text": "Commented-code block (5 lines) in api/rooms/[code].js:223"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-1efc69cb477d8969", "name": "Commented-code block (7 lines) in api/rooms/vote/[code].js:70", "shortDescription": {"text": "Commented-code block (7 lines) in api/rooms/vote/[code].js:70"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-c3c94ccd57dbaf53", "name": "Commented-code block (6 lines) in shared/honorLogic.js:369", "shortDescription": {"text": "Commented-code block (6 lines) in shared/honorLogic.js:369"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-aaeffbd8e517c296", "name": "Commented-code block (5 lines) in shared/achievementLogic.js:35", "shortDescription": {"text": "Commented-code block (5 lines) in shared/achievementLogic.js:35"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-49ef2a0e861d3991", "name": "Commented-code block (6 lines) in scripts/phase1-5b-capture.mjs:59", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/phase1-5b-capture.mjs:59"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-96dedfce8bd8f5a8", "name": "Commented-code block (6 lines) in scripts/ops/verify-honor-algorithms.mjs:135", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/ops/verify-honor-algorithms.mjs:135"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-e57bac953c6c6159", "name": "Commented-code block (5 lines) in scripts/ops/verify-honor-spread.mjs:56", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/ops/verify-honor-spread.mjs:56"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-5a1cf6110467d928", "name": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/ops/verify-player-api-url-safety.mjs:39", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/ops/verify-player-api-url-safety.mjs:39"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-8505199603ab7d74", "name": "Commented-code block (5 lines) in scripts/visual/_fixtures.mjs:66", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/visual/_fixtures.mjs:66"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-83976016de062591", "name": "Commented-code block (6 lines) in scripts/visual/capture-redesign.mjs:3", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/visual/capture-redesign.mjs:3"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-209db4ecfb292f61", "name": "Commented-code block (5 lines) in scripts/visual/diff-baselines.mjs:15", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/visual/diff-baselines.mjs:15"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-12ac714b89877cf1", "name": "Commented-code block (5 lines) in scripts/visual/capture-png-exports.mjs:3", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/visual/capture-png-exports.mjs:3"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-f242ec523375fd21", "name": "Commented-code block (9 lines) in scripts/visual/test-theme-toggle.mjs:4", "shortDescription": {"text": "Commented-code block (9 lines) in scripts/visual/test-theme-toggle.mjs:4"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-244f527231252259", "name": "Commented-code block (13 lines) in scripts/visual/regression-test.mjs:8", "shortDescription": {"text": "Commented-code block (13 lines) in scripts/visual/regression-test.mjs:8"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-08e2f936e3f8a24b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 public/sw.js:57", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 public/sw.js:57"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5713e3c5f16f47fe", "name": "Commented-code block (9 lines) in src/player/touchHandler.js:53", "shortDescription": {"text": "Commented-code block (9 lines) in src/player/touchHandler.js:53"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-9f7f298f766b9e47", "name": "Commented-code block (7 lines) in src/api/playerApi.js:47", "shortDescription": {"text": "Commented-code block (7 lines) in src/api/playerApi.js:47"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-b10130e91066536b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/api/playerApi.js:163", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/api/playerApi.js:163"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e71514ce46ec6ea8", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/share/roomManager.js:148", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/share/roomManager.js:148"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-d3faa01750568736", "name": "Commented-code block (5 lines) in src/core/state.js:501", "shortDescription": {"text": "Commented-code block (5 lines) in src/core/state.js:501"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-f808a4ef3e1071fb", "name": "14 env vars used in code but missing from .env.example", "shortDescription": {"text": "14 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `APP_URL`, `BASELINE_DIR`, `DEV`, `DIFF_OUT`, `GD_BASE_URL`, `GD_NO_API_PROXY`, `GD_PROD`, `KEEP_SNAPSHOT` + 6 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/23014"}, "properties": {"repository": "xingfanxia/guandan_calc", "repoUrl": "https://github.com/xingfanxia/guandan_calc", "branch": "main"}, "results": [{"ruleId": "scanner-bb472258c441b114", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 api/players/migrate-modes.js:104"}, "properties": {"repobilityId": "41a943b9fd3a9705", "scanner": "scanner-primary", "fingerprint": "bb472258c441b114", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-22dffaf8b362c195", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 api/players/[handle].js:652"}, "properties": {"repobilityId": "6e5dbcc313401b94", "scanner": "scanner-primary", "fingerprint": "22dffaf8b362c195", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-f81aaac839cf35c0", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 api/players/_modeMigration.js:74"}, "properties": {"repobilityId": "dd7452133135c2c0", "scanner": "scanner-primary", "fingerprint": "f81aaac839cf35c0", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-288273c86545b70d", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 api/rooms/[code].js:255"}, "properties": {"repobilityId": "ecf4e37ddc84307f", "scanner": "scanner-primary", "fingerprint": "288273c86545b70d", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-ec375ce10ab9a4df", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 api/rooms/vote/[code].js:62"}, "properties": {"repobilityId": "4d7066e97c5079c6", "scanner": "scanner-primary", "fingerprint": "ec375ce10ab9a4df", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-fbe4f7c65277bcb6", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 public/sw.js:22"}, "properties": {"repobilityId": "19ecb22d48da856c", "scanner": "scanner-primary", "fingerprint": "fbe4f7c65277bcb6", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-ac3e9c22058297c6", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/main.js:97"}, "properties": {"repobilityId": "3f5ba5b9c27d4c3c", "scanner": "scanner-primary", "fingerprint": "ac3e9c22058297c6", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-c0c4e875f7b8e493", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/player/playerCreateModal.js:329"}, "properties": {"repobilityId": "7dbc93f1e8dc98da", "scanner": "scanner-primary", "fingerprint": "c0c4e875f7b8e493", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-4bff424f9f329eba", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/player/playerEditModal.js:331"}, "properties": {"repobilityId": "b7099c349853ca76", "scanner": "scanner-primary", "fingerprint": "4bff424f9f329eba", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-feb20f11cd423ed9", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/player/playerManager.js:70"}, "properties": {"repobilityId": "f7e2f4fbbec92bd1", "scanner": "scanner-primary", "fingerprint": "feb20f11cd423ed9", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-6dfebce23af5d8f1", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/player/touchHandler.js:173"}, "properties": {"repobilityId": "14e7df94970b9819", "scanner": "scanner-primary", "fingerprint": "6dfebce23af5d8f1", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-060026808fe36f90", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/api/playerApi.js:437"}, "properties": {"repobilityId": "10da1b445ea702c3", "scanner": "scanner-primary", "fingerprint": "060026808fe36f90", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-eb0ce205400bcf47", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/controllers/finalWinSideEffects.js:64"}, "properties": {"repobilityId": "7e069c89174057bc", "scanner": "scanner-primary", "fingerprint": "eb0ce205400bcf47", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-e4622a4b495aa605", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/controllers/gameControls.js:129"}, "properties": {"repobilityId": "fefd0283f02f8027", "scanner": "scanner-primary", "fingerprint": "e4622a4b495aa605", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-94605b48a674e2b0", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/controllers/playerControls.js:68"}, "properties": {"repobilityId": "984c0721873a8c52", "scanner": "scanner-primary", "fingerprint": "94605b48a674e2b0", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d475d95e47f84eff", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/share/roomUI.js:358"}, "properties": {"repobilityId": "5319c987f697b048", "scanner": "scanner-primary", "fingerprint": "d475d95e47f84eff", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-2c5da4c62be9d16b", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/share/votingSync.js:64"}, "properties": {"repobilityId": "562df72f8d8a6868", "scanner": "scanner-primary", "fingerprint": "2c5da4c62be9d16b", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-74494cffdf7b3b54", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/share/votingManager.js:715"}, "properties": {"repobilityId": "a0b228e4d24dacff", "scanner": "scanner-primary", "fingerprint": "74494cffdf7b3b54", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-9587959818524e68", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 src/share/roomManager.js:324"}, "properties": {"repobilityId": "1028314aa0b97dd0", "scanner": "scanner-primary", "fingerprint": "9587959818524e68", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-7f0c13464cfee974", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in players.html:256"}, "properties": {"repobilityId": "e8334488335393fb", "scanner": "scanner-primary", "fingerprint": "7f0c13464cfee974", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "players.html"}, "region": {"startLine": 256}}}]}, {"ruleId": "scanner-185d28056fc7da16", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in player-profile.html:567"}, "properties": {"repobilityId": "675bbd7a9ccd121b", "scanner": "scanner-primary", "fingerprint": "185d28056fc7da16", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "player-profile.html"}, "region": {"startLine": 567}}}]}, {"ruleId": "scanner-d9369f988026dcbe", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in api/_cors.js:3"}, "properties": {"repobilityId": "b7186ddcc6511d2d", "scanner": "scanner-primary", "fingerprint": "d9369f988026dcbe", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "api/_cors.js"}, "region": {"startLine": 3}}}]}, {"ruleId": "scanner-85ba90fafbc5e443", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in scripts/ops/verify-build-clean.mjs:1"}, "properties": {"repobilityId": "0cd80fb37f59fd07", "scanner": "scanner-primary", "fingerprint": "85ba90fafbc5e443", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/ops/verify-build-clean.mjs"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-331aa13e315cf34e", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in scripts/visual/regression-test.mjs:32"}, "properties": {"repobilityId": "41aff6d18ab624e3", "scanner": "scanner-primary", "fingerprint": "331aa13e315cf34e", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/visual/regression-test.mjs"}, "region": {"startLine": 32}}}]}, {"ruleId": "scanner-e8b70a1f8d5beb95", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/main.js:588"}, "properties": {"repobilityId": "915d880daefc6ce4", "scanner": "scanner-primary", "fingerprint": "e8b70a1f8d5beb95", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/main.js"}, "region": {"startLine": 588}}}]}, {"ruleId": "scanner-f26ba514eb1bb46a", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerCreateModal.js:52"}, "properties": {"repobilityId": "dc3440ccce4155c9", "scanner": "scanner-primary", "fingerprint": "f26ba514eb1bb46a", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/player/playerCreateModal.js"}, "region": {"startLine": 52}}}]}, {"ruleId": "scanner-d4822be66ad91bb3", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerEditModal.js:63"}, "properties": {"repobilityId": "64044ef582bf84bb", "scanner": "scanner-primary", "fingerprint": "d4822be66ad91bb3", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/player/playerEditModal.js"}, "region": {"startLine": 63}}}]}, {"ruleId": "scanner-f9f0e593751ba7ba", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/player/playerSearch.js:77"}, "properties": {"repobilityId": "988abe886b10e8a3", "scanner": "scanner-primary", "fingerprint": "f9f0e593751ba7ba", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/player/playerSearch.js"}, "region": {"startLine": 77}}}]}, {"ruleId": "scanner-e9fda6284368674f", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/victoryModal.js:123"}, "properties": {"repobilityId": "a9417039602ac6cf", "scanner": "scanner-primary", "fingerprint": "e9fda6284368674f", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/victoryModal.js"}, "region": {"startLine": 123}}}]}, {"ruleId": "scanner-5ec4a0a94b757f50", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/panelManager.js:241"}, "properties": {"repobilityId": "435a989dfee0e889", "scanner": "scanner-primary", "fingerprint": "5ec4a0a94b757f50", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/panelManager.js"}, "region": {"startLine": 241}}}]}, {"ruleId": "scanner-050cc82355923e26", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/share/roomUI.js:332"}, "properties": {"repobilityId": "520b7863e000e8db", "scanner": "scanner-primary", "fingerprint": "050cc82355923e26", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/share/roomUI.js"}, "region": {"startLine": 332}}}]}, {"ruleId": "scanner-1bf3a06979797e60", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/share/shareManager.js:146"}, "properties": {"repobilityId": "41a67de030ca0081", "scanner": "scanner-primary", "fingerprint": "1bf3a06979797e60", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/share/shareManager.js"}, "region": {"startLine": 146}}}]}, {"ruleId": "scanner-33add50d2c66eb94", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/share/votingManager.js:341"}, "properties": {"repobilityId": "52dfe2fa476bd55f", "scanner": "scanner-primary", "fingerprint": "33add50d2c66eb94", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/share/votingManager.js"}, "region": {"startLine": 341}}}]}, {"ruleId": "scanner-75c26bb56cbe011f", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/stats/statistics.js:116"}, "properties": {"repobilityId": "9b50dfb8535b7452", "scanner": "scanner-primary", "fingerprint": "75c26bb56cbe011f", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/stats/statistics.js"}, "region": {"startLine": 116}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-93b5dc94140a9b18", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "c6c8d75f7857f7d4", "scanner": "scanner-primary", "fingerprint": "93b5dc94140a9b18", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/visual-regression.yml"}, "region": {"startLine": 79}}}]}, {"ruleId": "scanner-93b5dc94140a9b18", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "aa59201970110832", "scanner": "scanner-primary", "fingerprint": "93b5dc94140a9b18", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/visual-regression.yml"}, "region": {"startLine": 133}}}]}, {"ruleId": "scanner-f4d2e4b1e84a2522", "level": "note", "message": {"text": "Very large file: api/players/[handle].js (1478 lines)"}, "properties": {"repobilityId": "05fac8d5eebd1340", "scanner": "scanner-primary", "fingerprint": "f4d2e4b1e84a2522", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "e9629967f66c7077", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "2153512be97700b2", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "2f9ae28c63434a5a", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-11825279136b53a3", "level": "warning", "message": {"text": "CI is configured but no tests are detected"}, "properties": {"repobilityId": "6a8da4997f92cdd3", "scanner": "scanner-primary", "fingerprint": "11825279136b53a3", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "ci", "config-theater", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "f2960e05e4268b16", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "68ae79eb1df15af7", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "e641640a2bf174a5", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-3225d3f3b57f6733", "level": "none", "message": {"text": "Commented-code block (6 lines) in api/players/_pending.js:4"}, "properties": {"repobilityId": "b0c0915dfd396771", "scanner": "scanner-primary", "fingerprint": "3225d3f3b57f6733", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9940a21093d36bb2", "level": "none", "message": {"text": "Commented-code block (5 lines) in api/players/_utils.js:92"}, "properties": {"repobilityId": "b92b99c29b2344e9", "scanner": "scanner-primary", "fingerprint": "9940a21093d36bb2", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-616229ae86d1a723", "level": "none", "message": {"text": "Commented-code block (5 lines) in api/players/pending.js:4"}, "properties": {"repobilityId": "782a0ad3820f8091", "scanner": "scanner-primary", "fingerprint": "616229ae86d1a723", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-13961f077ca3f047", "level": "note", "message": {"text": "Legacy-named symbol `N_old` in api/players/[handle].js:1202"}, "properties": {"repobilityId": "a3eda413199f20e6", "scanner": "scanner-primary", "fingerprint": "13961f077ca3f047", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-2b8ac386e12a5e64", "level": "none", "message": {"text": "Commented-code block (7 lines) in api/players/[handle].js:909"}, "properties": {"repobilityId": "c4976e3e51936108", "scanner": "scanner-primary", "fingerprint": "2b8ac386e12a5e64", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-36d832838c16180d", "level": "none", "message": {"text": "Commented-code block (5 lines) in api/rooms/[code].js:223"}, "properties": {"repobilityId": "3fd3fcdd0d931c63", "scanner": "scanner-primary", "fingerprint": "36d832838c16180d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1efc69cb477d8969", "level": "none", "message": {"text": "Commented-code block (7 lines) in api/rooms/vote/[code].js:70"}, "properties": {"repobilityId": "a7a8043803beaabf", "scanner": "scanner-primary", "fingerprint": "1efc69cb477d8969", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c3c94ccd57dbaf53", "level": "none", "message": {"text": "Commented-code block (6 lines) in shared/honorLogic.js:369"}, "properties": {"repobilityId": "e059e4260de04a80", "scanner": "scanner-primary", "fingerprint": "c3c94ccd57dbaf53", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-aaeffbd8e517c296", "level": "none", "message": {"text": "Commented-code block (5 lines) in shared/achievementLogic.js:35"}, "properties": {"repobilityId": "b828faa7a65071dc", "scanner": "scanner-primary", "fingerprint": "aaeffbd8e517c296", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-49ef2a0e861d3991", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/phase1-5b-capture.mjs:59"}, "properties": {"repobilityId": "28c5c67205df45c9", "scanner": "scanner-primary", "fingerprint": "49ef2a0e861d3991", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-96dedfce8bd8f5a8", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/ops/verify-honor-algorithms.mjs:135"}, "properties": {"repobilityId": "60278bad1571e448", "scanner": "scanner-primary", "fingerprint": "96dedfce8bd8f5a8", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e57bac953c6c6159", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/ops/verify-honor-spread.mjs:56"}, "properties": {"repobilityId": "c8af11d445111cc2", "scanner": "scanner-primary", "fingerprint": "e57bac953c6c6159", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5a1cf6110467d928", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 scripts/ops/verify-player-api-url-safety.mjs:39"}, "properties": {"repobilityId": "16a1e8d34b732e74", "scanner": "scanner-primary", "fingerprint": "5a1cf6110467d928", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8505199603ab7d74", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/visual/_fixtures.mjs:66"}, "properties": {"repobilityId": "40cd050f44ff671c", "scanner": "scanner-primary", "fingerprint": "8505199603ab7d74", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-83976016de062591", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/visual/capture-redesign.mjs:3"}, "properties": {"repobilityId": "ef333cd76f4b67aa", "scanner": "scanner-primary", "fingerprint": "83976016de062591", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-209db4ecfb292f61", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/visual/diff-baselines.mjs:15"}, "properties": {"repobilityId": "53888c38a9977225", "scanner": "scanner-primary", "fingerprint": "209db4ecfb292f61", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-12ac714b89877cf1", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/visual/capture-png-exports.mjs:3"}, "properties": {"repobilityId": "21791b0277ec7c36", "scanner": "scanner-primary", "fingerprint": "12ac714b89877cf1", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f242ec523375fd21", "level": "none", "message": {"text": "Commented-code block (9 lines) in scripts/visual/test-theme-toggle.mjs:4"}, "properties": {"repobilityId": "dcc353620e150ed3", "scanner": "scanner-primary", "fingerprint": "f242ec523375fd21", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-244f527231252259", "level": "none", "message": {"text": "Commented-code block (13 lines) in scripts/visual/regression-test.mjs:8"}, "properties": {"repobilityId": "3c0b0b07be8cad61", "scanner": "scanner-primary", "fingerprint": "244f527231252259", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-08e2f936e3f8a24b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 public/sw.js:57"}, "properties": {"repobilityId": "0595f5f97ae0dacb", "scanner": "scanner-primary", "fingerprint": "08e2f936e3f8a24b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-5713e3c5f16f47fe", "level": "none", "message": {"text": "Commented-code block (9 lines) in src/player/touchHandler.js:53"}, "properties": {"repobilityId": "cc99c18b9c9315e7", "scanner": "scanner-primary", "fingerprint": "5713e3c5f16f47fe", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9f7f298f766b9e47", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/api/playerApi.js:47"}, "properties": {"repobilityId": "e4d58626a2985c59", "scanner": "scanner-primary", "fingerprint": "9f7f298f766b9e47", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b10130e91066536b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/api/playerApi.js:163"}, "properties": {"repobilityId": "a067953b245bdee1", "scanner": "scanner-primary", "fingerprint": "b10130e91066536b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-e71514ce46ec6ea8", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/share/roomManager.js:148"}, "properties": {"repobilityId": "3605d6bfb011bbc6", "scanner": "scanner-primary", "fingerprint": "e71514ce46ec6ea8", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-d3faa01750568736", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/core/state.js:501"}, "properties": {"repobilityId": "a0b3c594c393e39d", "scanner": "scanner-primary", "fingerprint": "d3faa01750568736", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f808a4ef3e1071fb", "level": "note", "message": {"text": "14 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "ce6b2ec4be4ec75a", "scanner": "scanner-primary", "fingerprint": "f808a4ef3e1071fb", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}