{"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-2a0c65568ed5233c", "name": "Possibly dead Python function: play_alarm", "shortDescription": {"text": "Possibly dead Python function: play_alarm"}, "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-b3ddef0d63597370", "name": "Possibly dead Python function: reset_noise_floor", "shortDescription": {"text": "Possibly dead Python function: reset_noise_floor"}, "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-6cacd6f00d52e2b0", "name": "Possibly dead Python function: paintEvent", "shortDescription": {"text": "Possibly dead Python function: paintEvent"}, "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-15d56a872760a119", "name": "Possibly dead Python function: closeEvent", "shortDescription": {"text": "Possibly dead Python function: closeEvent"}, "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-d5830366528c1290", "name": "Insecure pattern 'python_os_system' in tetra_monitor.py:172", "shortDescription": {"text": "Insecure pattern 'python_os_system' in tetra_monitor.py:172"}, "fullDescription": {"text": "Found a known-risky pattern (python_os_system). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-46c2b5891ab230a5", "name": "Very large file: tetra_monitor.py (1237 lines)", "shortDescription": {"text": "Very large file: tetra_monitor.py (1237 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-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-3a49f37b71fe2797", "name": "Commented-code block (8 lines) in tetra_monitor.py:46", "shortDescription": {"text": "Commented-code block (8 lines) in tetra_monitor.py:46"}, "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-664f085a8ef3b9ba", "name": "Network/subprocess call without timeout or try/except \u2014 tetra_monitor.py:233", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 tetra_monitor.py:233"}, "fullDescription": {"text": "`subprocess.Popen(...)` 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:\ntetra_monitor.py:reconnect, tetra_monitor.py:close\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/28103"}, "properties": {"repository": "mylovanloenen/tetra-monitor", "repoUrl": "https://github.com/mylovanloenen/tetra-monitor", "branch": "main"}, "results": [{"ruleId": "scanner-2a0c65568ed5233c", "level": "note", "message": {"text": "Possibly dead Python function: play_alarm"}, "properties": {"repobilityId": "1959155af6b05922", "scanner": "scanner-primary", "fingerprint": "2a0c65568ed5233c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tetra_monitor.py:169"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b3ddef0d63597370", "level": "note", "message": {"text": "Possibly dead Python function: reset_noise_floor"}, "properties": {"repobilityId": "b455b1c090bd0e0c", "scanner": "scanner-primary", "fingerprint": "b3ddef0d63597370", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tetra_monitor.py:407"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6cacd6f00d52e2b0", "level": "note", "message": {"text": "Possibly dead Python function: paintEvent"}, "properties": {"repobilityId": "1222c83b9204300b", "scanner": "scanner-primary", "fingerprint": "6cacd6f00d52e2b0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tetra_monitor.py:842"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-15d56a872760a119", "level": "note", "message": {"text": "Possibly dead Python function: closeEvent"}, "properties": {"repobilityId": "dce653ff45e1e7b4", "scanner": "scanner-primary", "fingerprint": "15d56a872760a119", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tetra_monitor.py:1205"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d5830366528c1290", "level": "error", "message": {"text": "Insecure pattern 'python_os_system' in tetra_monitor.py:172"}, "properties": {"repobilityId": "aaf47b7ef0596dc3", "scanner": "scanner-primary", "fingerprint": "d5830366528c1290", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "python_os_system"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "tetra_monitor.py"}, "region": {"startLine": 172}}}]}, {"ruleId": "scanner-46c2b5891ab230a5", "level": "note", "message": {"text": "Very large file: tetra_monitor.py (1237 lines)"}, "properties": {"repobilityId": "3b9b6b926aae8e81", "scanner": "scanner-primary", "fingerprint": "46c2b5891ab230a5", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "40a24f4fdabea0f0", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "4e941e3c7f559ee6", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3a49f37b71fe2797", "level": "none", "message": {"text": "Commented-code block (8 lines) in tetra_monitor.py:46"}, "properties": {"repobilityId": "7d98ecce5bbb9180", "scanner": "scanner-primary", "fingerprint": "3a49f37b71fe2797", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-664f085a8ef3b9ba", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 tetra_monitor.py:233"}, "properties": {"repobilityId": "861778d78b385b06", "scanner": "scanner-primary", "fingerprint": "664f085a8ef3b9ba", "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": "0fca6206f3be3c3c", "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": "1fd4fbaef219b453", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}