{"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-634fc84342cd71f8", "name": "Possibly dead Python function: keeper_rank", "shortDescription": {"text": "Possibly dead Python function: keeper_rank"}, "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-dd98dc6536fe6882", "name": "Possibly dead Python function: do_GET", "shortDescription": {"text": "Possibly dead Python function: do_GET"}, "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-45ee270b147e37c9", "name": "Possibly dead Python function: do_POST", "shortDescription": {"text": "Possibly dead Python function: do_POST"}, "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-a9f609f13f828a49", "name": "Possibly dead Python function: log_message", "shortDescription": {"text": "Possibly dead Python function: log_message"}, "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-dfd86905767a5748", "name": "Possibly dead Python function: cmd_qnap_setup", "shortDescription": {"text": "Possibly dead Python function: cmd_qnap_setup"}, "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-f9af105ed03a1f0d", "name": "Possibly dead Python function: cmd_scan", "shortDescription": {"text": "Possibly dead Python function: cmd_scan"}, "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-fe6d1c826ce1b3e8", "name": "Possibly dead Python function: cmd_search", "shortDescription": {"text": "Possibly dead Python function: cmd_search"}, "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-57a75b1286830e5e", "name": "Possibly dead Python function: cmd_stats", "shortDescription": {"text": "Possibly dead Python function: cmd_stats"}, "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-de33b0b10e7db558", "name": "Insecure pattern 'direct_innerhtml_assignment' in webui.py:284", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in webui.py:284"}, "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-39f57d1b6cff71b1", "name": "Very large file: webui.py (1729 lines)", "shortDescription": {"text": "Very large file: webui.py (1729 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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "1 tests / 7 src (ratio 0.14)."}, "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 42 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-95dab1168a705904", "name": "Network/subprocess call without timeout or try/except \u2014 file_ops.py:157", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 file_ops.py:157"}, "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}}, {"id": "scanner-71e0bd14191d0f57", "name": "Network/subprocess call without timeout or try/except \u2014 webui.py:1241", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 webui.py:1241"}, "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}}, {"id": "scanner-98b6eff0cf293180", "name": "Network/subprocess call without timeout or try/except \u2014 media_index.py:86", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 media_index.py:86"}, "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}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\ntest_lock_fix.py:webui_db, webui.py:db\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/25519"}, "properties": {"repository": "drdoomsville/IndexHub", "repoUrl": "https://github.com/drdoomsville/IndexHub", "branch": "main"}, "results": [{"ruleId": "scanner-634fc84342cd71f8", "level": "note", "message": {"text": "Possibly dead Python function: keeper_rank"}, "properties": {"repobilityId": "c406a1f199da30f7", "scanner": "scanner-primary", "fingerprint": "634fc84342cd71f8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "mirror_dedupe.py:40"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-dd98dc6536fe6882", "level": "note", "message": {"text": "Possibly dead Python function: do_GET"}, "properties": {"repobilityId": "2d943bb45e4f13bd", "scanner": "scanner-primary", "fingerprint": "dd98dc6536fe6882", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "webui.py:1534"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-45ee270b147e37c9", "level": "note", "message": {"text": "Possibly dead Python function: do_POST"}, "properties": {"repobilityId": "53357410ca9379a9", "scanner": "scanner-primary", "fingerprint": "45ee270b147e37c9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "webui.py:1564"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a9f609f13f828a49", "level": "note", "message": {"text": "Possibly dead Python function: log_message"}, "properties": {"repobilityId": "965f3150b4af5b2e", "scanner": "scanner-primary", "fingerprint": "a9f609f13f828a49", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "webui.py:1709"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-dfd86905767a5748", "level": "note", "message": {"text": "Possibly dead Python function: cmd_qnap_setup"}, "properties": {"repobilityId": "5df09e4ca5899bbe", "scanner": "scanner-primary", "fingerprint": "dfd86905767a5748", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "media_index.py:261"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f9af105ed03a1f0d", "level": "note", "message": {"text": "Possibly dead Python function: cmd_scan"}, "properties": {"repobilityId": "45239483b43d0dd2", "scanner": "scanner-primary", "fingerprint": "f9af105ed03a1f0d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "media_index.py:924"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fe6d1c826ce1b3e8", "level": "note", "message": {"text": "Possibly dead Python function: cmd_search"}, "properties": {"repobilityId": "98367383941c67aa", "scanner": "scanner-primary", "fingerprint": "fe6d1c826ce1b3e8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "media_index.py:938"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-57a75b1286830e5e", "level": "note", "message": {"text": "Possibly dead Python function: cmd_stats"}, "properties": {"repobilityId": "192d1822cd670340", "scanner": "scanner-primary", "fingerprint": "57a75b1286830e5e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "media_index.py:965"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-de33b0b10e7db558", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in webui.py:284"}, "properties": {"repobilityId": "21c438ad26bda98a", "scanner": "scanner-primary", "fingerprint": "de33b0b10e7db558", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "webui.py"}, "region": {"startLine": 284}}}]}, {"ruleId": "scanner-39f57d1b6cff71b1", "level": "note", "message": {"text": "Very large file: webui.py (1729 lines)"}, "properties": {"repobilityId": "b8c2e2e7e90d1c8a", "scanner": "scanner-primary", "fingerprint": "39f57d1b6cff71b1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "ee55cc442d2b7ed1", "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": "1bd383dce5930e2d", "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": "842f8e9186e54306", "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": "38ff89eb0dc8ac33", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-95dab1168a705904", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 file_ops.py:157"}, "properties": {"repobilityId": "8b2e029ca34f864b", "scanner": "scanner-primary", "fingerprint": "95dab1168a705904", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-71e0bd14191d0f57", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 webui.py:1241"}, "properties": {"repobilityId": "676d8d48bfa16134", "scanner": "scanner-primary", "fingerprint": "71e0bd14191d0f57", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-98b6eff0cf293180", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 media_index.py:86"}, "properties": {"repobilityId": "fe94bf182e457fb7", "scanner": "scanner-primary", "fingerprint": "98b6eff0cf293180", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "94a9a131a647543a", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "8c4add8dc1708cec", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "3dc6a73383b6fcdc", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}