{"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-191831a22625ad66", "name": "Possibly dead Python function: clear_history", "shortDescription": {"text": "Possibly dead Python function: clear_history"}, "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-196323c7d3361a30", "name": "Possibly dead Python function: process_audio", "shortDescription": {"text": "Possibly dead Python function: process_audio"}, "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-f8a6b73c2c3e6314", "name": "Possibly dead Python function: prepare", "shortDescription": {"text": "Possibly dead Python function: prepare"}, "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-c35191e32f2d04d2", "name": "Possibly dead Python function: prepare_data", "shortDescription": {"text": "Possibly dead Python function: prepare_data"}, "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-28affe9b5f1967f9", "name": "Possibly dead Python function: compute_metrics", "shortDescription": {"text": "Possibly dead Python function: compute_metrics"}, "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-c8c1725e2427525b", "name": "Insecure pattern 'debug_true' in gradio_interface.py:353", "shortDescription": {"text": "Insecure pattern 'debug_true' in gradio_interface.py:353"}, "fullDescription": {"text": "Found a known-risky pattern (debug_true). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "low", "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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 7 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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 93 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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci, tests. 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": "medium", "confidence": 1.0}}, {"id": "scanner-cc3d30a4f4dddec3", "name": "Commented-code block (6 lines) in gradio_interface.py:17", "shortDescription": {"text": "Commented-code block (6 lines) in gradio_interface.py:17"}, "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-aff214b47f8e6ec2", "name": "Network/subprocess call without timeout or try/except \u2014 gradio_interface.py:8", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 gradio_interface.py:8"}, "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-998baaada991e203", "name": "Network/subprocess call without timeout or try/except \u2014 train.py:23", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 train.py:23"}, "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-3c4254200801ff83", "name": "Network/subprocess call without timeout or try/except \u2014 prepare_data.py:25", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 prepare_data.py:25"}, "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-0c75aae882f47755", "name": "Commented-code block (5 lines) in export_model.py:79", "shortDescription": {"text": "Commented-code block (5 lines) in export_model.py:79"}, "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-5c471502c87ace4a", "name": "Network/subprocess call without timeout or try/except \u2014 export_model.py:28", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 export_model.py:28"}, "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-bbd2b0869c886805", "name": "Network/subprocess call without timeout or try/except \u2014 rescue_export.py:27", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 rescue_export.py:27"}, "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-9dccee55bf9333c9", "name": "Network/subprocess call without timeout or try/except \u2014 realtime.py:42", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 realtime.py:42"}, "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:\ncontinue_training.py:prepare_dataset_metadata, continue_training.py:prepare_data\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/30115"}, "properties": {"repository": "trinitron88/ChinTranslator", "repoUrl": "https://github.com/trinitron88/ChinTranslator", "branch": "main"}, "results": [{"ruleId": "scanner-191831a22625ad66", "level": "note", "message": {"text": "Possibly dead Python function: clear_history"}, "properties": {"repobilityId": "ce5a2cd1428c9a38", "scanner": "scanner-primary", "fingerprint": "191831a22625ad66", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gradio_interface.py:291"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-196323c7d3361a30", "level": "note", "message": {"text": "Possibly dead Python function: process_audio"}, "properties": {"repobilityId": "96920884d26cde01", "scanner": "scanner-primary", "fingerprint": "196323c7d3361a30", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gradio_interface.py:295"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f8a6b73c2c3e6314", "level": "note", "message": {"text": "Possibly dead Python function: prepare"}, "properties": {"repobilityId": "977b62b7b242c330", "scanner": "scanner-primary", "fingerprint": "f8a6b73c2c3e6314", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "train.py:124"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c35191e32f2d04d2", "level": "note", "message": {"text": "Possibly dead Python function: prepare_data"}, "properties": {"repobilityId": "de5aef4b70f13669", "scanner": "scanner-primary", "fingerprint": "c35191e32f2d04d2", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "continue_training.py:89"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-28affe9b5f1967f9", "level": "note", "message": {"text": "Possibly dead Python function: compute_metrics"}, "properties": {"repobilityId": "601ab656627d3342", "scanner": "scanner-primary", "fingerprint": "28affe9b5f1967f9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "continue_training.py:155"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c8c1725e2427525b", "level": "note", "message": {"text": "Insecure pattern 'debug_true' in gradio_interface.py:353"}, "properties": {"repobilityId": "10f39f74537f0729", "scanner": "scanner-primary", "fingerprint": "c8c1725e2427525b", "layer": "security", "severity": "low", "confidence": 1.0, "tags": ["owasp", "debug_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gradio_interface.py"}, "region": {"startLine": 353}}}]}, {"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-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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "271c4150d8d91fe5", "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": "76128db694b26b05", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "32c06624926a8629", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-cc3d30a4f4dddec3", "level": "none", "message": {"text": "Commented-code block (6 lines) in gradio_interface.py:17"}, "properties": {"repobilityId": "6ef0fdc8f6ad6571", "scanner": "scanner-primary", "fingerprint": "cc3d30a4f4dddec3", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-aff214b47f8e6ec2", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 gradio_interface.py:8"}, "properties": {"repobilityId": "2bcc2962d4d0cd39", "scanner": "scanner-primary", "fingerprint": "aff214b47f8e6ec2", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-998baaada991e203", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 train.py:23"}, "properties": {"repobilityId": "677faf5de05bc87b", "scanner": "scanner-primary", "fingerprint": "998baaada991e203", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-3c4254200801ff83", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 prepare_data.py:25"}, "properties": {"repobilityId": "aed75ff4f1eb1741", "scanner": "scanner-primary", "fingerprint": "3c4254200801ff83", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-0c75aae882f47755", "level": "none", "message": {"text": "Commented-code block (5 lines) in export_model.py:79"}, "properties": {"repobilityId": "1bfb2262f3af6de0", "scanner": "scanner-primary", "fingerprint": "0c75aae882f47755", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5c471502c87ace4a", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 export_model.py:28"}, "properties": {"repobilityId": "848380eff4b810f2", "scanner": "scanner-primary", "fingerprint": "5c471502c87ace4a", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-bbd2b0869c886805", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 rescue_export.py:27"}, "properties": {"repobilityId": "7b82337f970712cf", "scanner": "scanner-primary", "fingerprint": "bbd2b0869c886805", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-9dccee55bf9333c9", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 realtime.py:42"}, "properties": {"repobilityId": "e2ab9aaaf35016fc", "scanner": "scanner-primary", "fingerprint": "9dccee55bf9333c9", "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": "f19f9194fd2f36e7", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}