{"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-bead75b0f9233e05", "name": "No API endpoints detected", "shortDescription": {"text": "No API endpoints detected"}, "fullDescription": {"text": "The scanner did not find FastAPI/Flask/Express/NestJS/GraphQL/gRPC routes. If this repo exposes APIs, the framework may be unsupported."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "info", "confidence": 1.0}}, {"id": "scanner-820d4be04039e29b", "name": "\"active\" state uses light bg in a dark theme \u2014 components/i18n/LanguageToggle.tsx:48", "shortDescription": {"text": "\"active\" state uses light bg in a dark theme \u2014 components/i18n/LanguageToggle.tsx:48"}, "fullDescription": {"text": "A ternary like `active ? 'bg-white' : '...'` (or bg-gray-100/200) on a dark theme produces jarring white pills. Use a dark-emphasized active state instead \u2014 border + ring or slightly brighter dark bg. Example: `active ? 'bg-gray-800 border-gray-500 ring-1 ring-blue-500/30' : '\u2026'`.\n\nWhy: P-E in CHECKLIST.md \u2014 light bg in a dark theme is a class of regression.\nRule id: fq.active-light-bg"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f2ff467d056c2040", "name": "`dangerouslySetInnerHTML` used in a React component \u2014 app/layout.tsx:38", "shortDescription": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 app/layout.tsx:38"}, "fullDescription": {"text": "Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library.\n\nWhy: OWASP basics. Already partially flagged by the security analyzer.\nRule id: fq.dangerous-html"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-26ce500d0d631052", "name": "Insecure pattern 'node_child_process' in scripts/audio/generate-sprites.mjs:30", "shortDescription": {"text": "Insecure pattern 'node_child_process' in scripts/audio/generate-sprites.mjs:30"}, "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-de6e77e817a9fd15", "name": "Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:38", "shortDescription": {"text": "Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:38"}, "fullDescription": {"text": "Found a known-risky pattern (dangerous_innerhtml). 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-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/upload-artifact@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-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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 36 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-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-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 license. 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-407a9ab5a2affa17", "name": "Commented-code block (5 lines) in tests/e2e/palifico.spec.ts:119", "shortDescription": {"text": "Commented-code block (5 lines) in tests/e2e/palifico.spec.ts:119"}, "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-1b9e028480aea9d8", "name": "Commented-code block (7 lines) in scripts/audio/generate-sprites.mjs:5", "shortDescription": {"text": "Commented-code block (7 lines) in scripts/audio/generate-sprites.mjs:5"}, "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-997109f9659ab6c2", "name": "Commented-code block (7 lines) in components/customization/CustomizationDrawer.tsx:44", "shortDescription": {"text": "Commented-code block (7 lines) in components/customization/CustomizationDrawer.tsx:44"}, "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-0ebac30ef6ddcd3c", "name": "Commented-code block (7 lines) in components/dice/MyHand.tsx:59", "shortDescription": {"text": "Commented-code block (7 lines) in components/dice/MyHand.tsx: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-155b6c18769058ac", "name": "Commented-code block (5 lines) in components/game/useRoomEvents.ts:71", "shortDescription": {"text": "Commented-code block (5 lines) in components/game/useRoomEvents.ts:71"}, "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-07dccacfdbeb7c62", "name": "`fetch()` without try/.catch or AbortSignal \u2014 app/HomeClient.tsx:101", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 app/HomeClient.tsx:101"}, "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-ab707ecca65f0099", "name": "Commented-code block (7 lines) in app/api/stream/[code]/route.ts:47", "shortDescription": {"text": "Commented-code block (7 lines) in app/api/stream/[code]/route.ts: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-39043c0c9439e1be", "name": "`fetch()` without try/.catch or AbortSignal \u2014 app/api/stream/[code]/route.ts:31", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 app/api/stream/[code]/route.ts:31"}, "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-a01cf85aab1fdb45", "name": "Commented-code block (6 lines) in app/api/action/route.ts:101", "shortDescription": {"text": "Commented-code block (6 lines) in app/api/action/route.ts:101"}, "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-941bbfad57111b27", "name": "Commented-code block (5 lines) in app/room/[code]/RoomClient.tsx:57", "shortDescription": {"text": "Commented-code block (5 lines) in app/room/[code]/RoomClient.tsx:57"}, "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-9ab929aa373e1b9f", "name": "`fetch()` without try/.catch or AbortSignal \u2014 app/room/[code]/RoomClient.tsx:466", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 app/room/[code]/RoomClient.tsx:466"}, "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-5735b4f7a7df6c6e", "name": "Commented-code block (5 lines) in lib/lua/scripts.ts:304", "shortDescription": {"text": "Commented-code block (5 lines) in lib/lua/scripts.ts:304"}, "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}}]}}, "automationDetails": {"id": "repobility/23010"}, "properties": {"repository": "xingfanxia/dahua-dice", "repoUrl": "https://github.com/xingfanxia/dahua-dice", "branch": "main"}, "results": [{"ruleId": "scanner-bead75b0f9233e05", "level": "none", "message": {"text": "No API endpoints detected"}, "properties": {"repobilityId": "0f8bb852027c38f8", "scanner": "scanner-primary", "fingerprint": "bead75b0f9233e05", "layer": "api", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-820d4be04039e29b", "level": "note", "message": {"text": "\"active\" state uses light bg in a dark theme \u2014 components/i18n/LanguageToggle.tsx:48"}, "properties": {"repobilityId": "d2a704f9a912fe23", "scanner": "scanner-primary", "fingerprint": "820d4be04039e29b", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.active-light-bg"]}}, {"ruleId": "scanner-f2ff467d056c2040", "level": "warning", "message": {"text": "`dangerouslySetInnerHTML` used in a React component \u2014 app/layout.tsx:38"}, "properties": {"repobilityId": "6f16eb9b82a2dcd6", "scanner": "scanner-primary", "fingerprint": "f2ff467d056c2040", "layer": "frontend", "severity": "medium", "confidence": 1.0, "tags": ["frontend-quality", "fq.dangerous-html"]}}, {"ruleId": "scanner-26ce500d0d631052", "level": "warning", "message": {"text": "Insecure pattern 'node_child_process' in scripts/audio/generate-sprites.mjs:30"}, "properties": {"repobilityId": "2525d91f17251558", "scanner": "scanner-primary", "fingerprint": "26ce500d0d631052", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "node_child_process"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/audio/generate-sprites.mjs"}, "region": {"startLine": 30}}}]}, {"ruleId": "scanner-de6e77e817a9fd15", "level": "warning", "message": {"text": "Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:38"}, "properties": {"repobilityId": "69d4743587f721a0", "scanner": "scanner-primary", "fingerprint": "de6e77e817a9fd15", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "dangerous_innerhtml"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/layout.tsx"}, "region": {"startLine": 38}}}]}, {"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-27924aa79fa4a517", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "bd7f3c1c34d83159", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 74}}}]}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "8546dcc937c96af7", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "90c97fde1f37959c", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "ad8d7e8040555757", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "29e876b94ce146c4", "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": "23964c5b4f55380b", "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": "e27a6d4b446daeae", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-407a9ab5a2affa17", "level": "none", "message": {"text": "Commented-code block (5 lines) in tests/e2e/palifico.spec.ts:119"}, "properties": {"repobilityId": "3014ef5587c89a6c", "scanner": "scanner-primary", "fingerprint": "407a9ab5a2affa17", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1b9e028480aea9d8", "level": "none", "message": {"text": "Commented-code block (7 lines) in scripts/audio/generate-sprites.mjs:5"}, "properties": {"repobilityId": "96b1110fcaa2fa9c", "scanner": "scanner-primary", "fingerprint": "1b9e028480aea9d8", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-997109f9659ab6c2", "level": "none", "message": {"text": "Commented-code block (7 lines) in components/customization/CustomizationDrawer.tsx:44"}, "properties": {"repobilityId": "a1d6c456e047919e", "scanner": "scanner-primary", "fingerprint": "997109f9659ab6c2", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-0ebac30ef6ddcd3c", "level": "none", "message": {"text": "Commented-code block (7 lines) in components/dice/MyHand.tsx:59"}, "properties": {"repobilityId": "1a00054c1be9e88f", "scanner": "scanner-primary", "fingerprint": "0ebac30ef6ddcd3c", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-155b6c18769058ac", "level": "none", "message": {"text": "Commented-code block (5 lines) in components/game/useRoomEvents.ts:71"}, "properties": {"repobilityId": "940c252c7ddcb0c8", "scanner": "scanner-primary", "fingerprint": "155b6c18769058ac", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-07dccacfdbeb7c62", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 app/HomeClient.tsx:101"}, "properties": {"repobilityId": "b18ee417b3db2a7b", "scanner": "scanner-primary", "fingerprint": "07dccacfdbeb7c62", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-ab707ecca65f0099", "level": "none", "message": {"text": "Commented-code block (7 lines) in app/api/stream/[code]/route.ts:47"}, "properties": {"repobilityId": "a0b22143177f43d7", "scanner": "scanner-primary", "fingerprint": "ab707ecca65f0099", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-39043c0c9439e1be", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 app/api/stream/[code]/route.ts:31"}, "properties": {"repobilityId": "bbbd361be06ba689", "scanner": "scanner-primary", "fingerprint": "39043c0c9439e1be", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-a01cf85aab1fdb45", "level": "none", "message": {"text": "Commented-code block (6 lines) in app/api/action/route.ts:101"}, "properties": {"repobilityId": "54b8da3b25eac3de", "scanner": "scanner-primary", "fingerprint": "a01cf85aab1fdb45", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-941bbfad57111b27", "level": "none", "message": {"text": "Commented-code block (5 lines) in app/room/[code]/RoomClient.tsx:57"}, "properties": {"repobilityId": "0f09dcad111b235a", "scanner": "scanner-primary", "fingerprint": "941bbfad57111b27", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9ab929aa373e1b9f", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 app/room/[code]/RoomClient.tsx:466"}, "properties": {"repobilityId": "d1f604268de7637a", "scanner": "scanner-primary", "fingerprint": "9ab929aa373e1b9f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-5735b4f7a7df6c6e", "level": "none", "message": {"text": "Commented-code block (5 lines) in lib/lua/scripts.ts:304"}, "properties": {"repobilityId": "396f0dc9af5352af", "scanner": "scanner-primary", "fingerprint": "5735b4f7a7df6c6e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}