{"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-dbac5d9d3726c5b2", "name": "Stray `console.log` in TS/JS \u2014 test/equipment-audit.spec.ts:25", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 test/equipment-audit.spec.ts:25"}, "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-5a704d58c31039ea", "name": "Stray `console.log` in TS/JS \u2014 test/balance-report.spec.ts:155", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 test/balance-report.spec.ts:155"}, "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-71153a186cf177b2", "name": "Stray `console.log` in TS/JS \u2014 server/leaderboard/index.ts:74", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/leaderboard/index.ts: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-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-a873dbd217436d0f", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tooltip.ts:18", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tooltip.ts:18"}, "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-e8e395bd6fe99e02", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tutorial.ts:140", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tutorial.ts:140"}, "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-ebf510deeb0eda94", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/devroom.ts:25", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/devroom.ts:25"}, "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-be95e30a6bdc45bc", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/ui.ts:54", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/ui.ts:54"}, "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-1838a141491ce38c", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-c6a16f935527c32b", "name": "Very large file: src/ui/ui.ts (1542 lines)", "shortDescription": {"text": "Very large file: src/ui/ui.ts (1542 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-d2fd8bd032a7fc8a", "name": "Very large file: src/core/game.ts (2812 lines)", "shortDescription": {"text": "Very large file: src/core/game.ts (2812 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-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-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-fe76dcd5a053b9f7", "name": "Commented-code block (5 lines) in server/leaderboard/handler.ts:83", "shortDescription": {"text": "Commented-code block (5 lines) in server/leaderboard/handler.ts:83"}, "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-0d59894e48bc2b82", "name": "Commented-code block (5 lines) in src/core/game.ts:1111", "shortDescription": {"text": "Commented-code block (5 lines) in src/core/game.ts:1111"}, "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-2eafc3188c36bb02", "name": "3 env vars used in code but missing from .env.example", "shortDescription": {"text": "3 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `CORS_ORIGIN`, `LEADERBOARD_DB`, `PORT`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/17659"}, "properties": {"repository": "Qunnlin/gravewright", "repoUrl": "https://github.com/Qunnlin/gravewright", "branch": "main"}, "results": [{"ruleId": "scanner-dbac5d9d3726c5b2", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 test/equipment-audit.spec.ts:25"}, "properties": {"repobilityId": "0736e4bbb60345b8", "scanner": "scanner-primary", "fingerprint": "dbac5d9d3726c5b2", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-5a704d58c31039ea", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 test/balance-report.spec.ts:155"}, "properties": {"repobilityId": "627b15d1b8167bf4", "scanner": "scanner-primary", "fingerprint": "5a704d58c31039ea", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-71153a186cf177b2", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/leaderboard/index.ts:74"}, "properties": {"repobilityId": "4bf91dac3416940e", "scanner": "scanner-primary", "fingerprint": "71153a186cf177b2", "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-a873dbd217436d0f", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tooltip.ts:18"}, "properties": {"repobilityId": "dcd85e07113726e2", "scanner": "scanner-primary", "fingerprint": "a873dbd217436d0f", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/tooltip.ts"}, "region": {"startLine": 18}}}]}, {"ruleId": "scanner-e8e395bd6fe99e02", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/tutorial.ts:140"}, "properties": {"repobilityId": "50e91b87a6cf10ef", "scanner": "scanner-primary", "fingerprint": "e8e395bd6fe99e02", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/tutorial.ts"}, "region": {"startLine": 140}}}]}, {"ruleId": "scanner-ebf510deeb0eda94", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/devroom.ts:25"}, "properties": {"repobilityId": "6ca5e22d2eeaa5a5", "scanner": "scanner-primary", "fingerprint": "ebf510deeb0eda94", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/devroom.ts"}, "region": {"startLine": 25}}}]}, {"ruleId": "scanner-be95e30a6bdc45bc", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/ui/ui.ts:54"}, "properties": {"repobilityId": "7867633b409b054e", "scanner": "scanner-primary", "fingerprint": "be95e30a6bdc45bc", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/ui/ui.ts"}, "region": {"startLine": 54}}}]}, {"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-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c6a16f935527c32b", "level": "note", "message": {"text": "Very large file: src/ui/ui.ts (1542 lines)"}, "properties": {"repobilityId": "9920cdef6ea5aa9f", "scanner": "scanner-primary", "fingerprint": "c6a16f935527c32b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-d2fd8bd032a7fc8a", "level": "note", "message": {"text": "Very large file: src/core/game.ts (2812 lines)"}, "properties": {"repobilityId": "648dd4589c64c551", "scanner": "scanner-primary", "fingerprint": "d2fd8bd032a7fc8a", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "fb14dc73766bcec2", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "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": "59439b8814433919", "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": "683a5204e2ccf881", "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": "19acd26ba52c8c3a", "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": "ee36fb082139b25f", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-fe76dcd5a053b9f7", "level": "none", "message": {"text": "Commented-code block (5 lines) in server/leaderboard/handler.ts:83"}, "properties": {"repobilityId": "6c20634a9e67302f", "scanner": "scanner-primary", "fingerprint": "fe76dcd5a053b9f7", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-0d59894e48bc2b82", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/core/game.ts:1111"}, "properties": {"repobilityId": "d08c479a02403715", "scanner": "scanner-primary", "fingerprint": "0d59894e48bc2b82", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-2eafc3188c36bb02", "level": "none", "message": {"text": "3 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "bd934ba112b02ffa", "scanner": "scanner-primary", "fingerprint": "2eafc3188c36bb02", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}]}]}