{"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-05dbcc7ce3fd1730", "name": "Possibly dead Python function: as_template", "shortDescription": {"text": "Possibly dead Python function: as_template"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0a691632d66807b7", "name": "Possibly dead Python function: human_turn", "shortDescription": {"text": "Possibly dead Python function: human_turn"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-06837c5396f9c0e5", "name": "Stray `console.log` in TS/JS \u2014 tools/webcheck.js:29", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 tools/webcheck.js:29"}, "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-ea2d2f5e06bd33e3", "name": "Insecure pattern 'eval_used' in tools/webcheck.js:29", "shortDescription": {"text": "Insecure pattern 'eval_used' in tools/webcheck.js:29"}, "fullDescription": {"text": "Found a known-risky pattern (eval_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-646baa0e934245d5", "name": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/world.js:1077", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/world.js:1077"}, "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-2211e31a26154ebe", "name": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/shattered_jade_battle.html:1067", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/shattered_jade_battle.html:1067"}, "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-debb3ecbd2078af7", "name": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/game.js:905", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/game.js:905"}, "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-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-16c8eadff3ca3e23", "name": "Very large file: prototype_web/world.js (1964 lines)", "shortDescription": {"text": "Very large file: prototype_web/world.js (1964 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-23b1ae4b1ef834e2", "name": "Very large file: prototype_web/game.js (1557 lines)", "shortDescription": {"text": "Very large file: prototype_web/game.js (1557 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 19 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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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-4be3e05f204769a8", "name": "Network/subprocess call without timeout or try/except \u2014 tools/release.py:87", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 tools/release.py:87"}, "fullDescription": {"text": "`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/23622"}, "properties": {"repository": "zhaoleli2025/Shattered_jade", "repoUrl": "https://github.com/zhaoleli2025/Shattered_jade", "branch": "main"}, "results": [{"ruleId": "scanner-05dbcc7ce3fd1730", "level": "note", "message": {"text": "Possibly dead Python function: as_template"}, "properties": {"repobilityId": "a4683351d9ee4aa4", "scanner": "scanner-primary", "fingerprint": "05dbcc7ce3fd1730", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sim/recruit.py:225"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0a691632d66807b7", "level": "note", "message": {"text": "Possibly dead Python function: human_turn"}, "properties": {"repobilityId": "2069196c30cdd01b", "scanner": "scanner-primary", "fingerprint": "0a691632d66807b7", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sim/play.py:96"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-06837c5396f9c0e5", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 tools/webcheck.js:29"}, "properties": {"repobilityId": "a46453ddae396dd1", "scanner": "scanner-primary", "fingerprint": "06837c5396f9c0e5", "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-ea2d2f5e06bd33e3", "level": "error", "message": {"text": "Insecure pattern 'eval_used' in tools/webcheck.js:29"}, "properties": {"repobilityId": "2b88dbc5ca439297", "scanner": "scanner-primary", "fingerprint": "ea2d2f5e06bd33e3", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "eval_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tools/webcheck.js"}, "region": {"startLine": 29}}}]}, {"ruleId": "scanner-646baa0e934245d5", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/world.js:1077"}, "properties": {"repobilityId": "7beb24333761c97b", "scanner": "scanner-primary", "fingerprint": "646baa0e934245d5", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prototype_web/world.js"}, "region": {"startLine": 1077}}}]}, {"ruleId": "scanner-2211e31a26154ebe", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/shattered_jade_battle.html:1067"}, "properties": {"repobilityId": "0d7683241de2a4ac", "scanner": "scanner-primary", "fingerprint": "2211e31a26154ebe", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prototype_web/shattered_jade_battle.html"}, "region": {"startLine": 1067}}}]}, {"ruleId": "scanner-debb3ecbd2078af7", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in prototype_web/game.js:905"}, "properties": {"repobilityId": "d9476ea04eef394e", "scanner": "scanner-primary", "fingerprint": "debb3ecbd2078af7", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "prototype_web/game.js"}, "region": {"startLine": 905}}}]}, {"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-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-16c8eadff3ca3e23", "level": "note", "message": {"text": "Very large file: prototype_web/world.js (1964 lines)"}, "properties": {"repobilityId": "ef51c00d53ae576a", "scanner": "scanner-primary", "fingerprint": "16c8eadff3ca3e23", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-23b1ae4b1ef834e2", "level": "note", "message": {"text": "Very large file: prototype_web/game.js (1557 lines)"}, "properties": {"repobilityId": "61590221715ffd4b", "scanner": "scanner-primary", "fingerprint": "23b1ae4b1ef834e2", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "9c16ee4e67467582", "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": "50e03b460e95b1e0", "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": "775fc088046e38be", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "14534ea61392c13f", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "574a1b94c72b2634", "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": "d2b0d2eebdf19efa", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-4be3e05f204769a8", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 tools/release.py:87"}, "properties": {"repobilityId": "022bec9ae9c77a04", "scanner": "scanner-primary", "fingerprint": "4be3e05f204769a8", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}