{"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-40bdce1699c741ba", "name": "Possibly dead Python function: open_file", "shortDescription": {"text": "Possibly dead Python function: open_file"}, "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-569a21f7e578fd7e", "name": "Possibly dead Python function: reset_crop", "shortDescription": {"text": "Possibly dead Python function: reset_crop"}, "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-3f9c2889a9a2a17e", "name": "Possibly dead Python function: export", "shortDescription": {"text": "Possibly dead Python function: export"}, "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-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-857cf1079fba7fc5", "name": "Network/subprocess call without timeout or try/except \u2014 leike.py:111", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 leike.py:111"}, "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/30286"}, "properties": {"repository": "Ville-Mattila/Leike", "repoUrl": "https://github.com/Ville-Mattila/Leike", "branch": "main"}, "results": [{"ruleId": "scanner-40bdce1699c741ba", "level": "note", "message": {"text": "Possibly dead Python function: open_file"}, "properties": {"repobilityId": "4de20a14e3f8df58", "scanner": "scanner-primary", "fingerprint": "40bdce1699c741ba", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "leike.py:492"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-569a21f7e578fd7e", "level": "note", "message": {"text": "Possibly dead Python function: reset_crop"}, "properties": {"repobilityId": "64e474eea5884399", "scanner": "scanner-primary", "fingerprint": "569a21f7e578fd7e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "leike.py:678"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3f9c2889a9a2a17e", "level": "note", "message": {"text": "Possibly dead Python function: export"}, "properties": {"repobilityId": "eb9ca389f8cda1a9", "scanner": "scanner-primary", "fingerprint": "3f9c2889a9a2a17e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "leike.py:859"}, "region": {"startLine": 1}}}]}, {"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-857cf1079fba7fc5", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 leike.py:111"}, "properties": {"repobilityId": "d77ca6b1d90d0c83", "scanner": "scanner-primary", "fingerprint": "857cf1079fba7fc5", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}