{"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-22ae216ce1399882", "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-d637032f09270e04", "name": "Insecure pattern 'python_os_system' in sky-mapper.py:2675", "shortDescription": {"text": "Insecure pattern 'python_os_system' in sky-mapper.py:2675"}, "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-ab4002c873f647fc", "name": "Insecure pattern 'direct_innerhtml_assignment' in sky-mapper.py:1182", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in sky-mapper.py:1182"}, "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-80fa709b9235810f", "name": "Very large file: sky-mapper.py (2849 lines)", "shortDescription": {"text": "Very large file: sky-mapper.py (2849 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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 3 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 32 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: 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": "low", "confidence": 1.0}}, {"id": "scanner-d46b997b4dd4507d", "name": "Commented-code block (5 lines) in local_config.example.py:12", "shortDescription": {"text": "Commented-code block (5 lines) in local_config.example.py:12"}, "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-708a1f626cd34b33", "name": "Legacy-named symbol `astrophoto_cache_v2` in sky-mapper.py:87", "shortDescription": {"text": "Legacy-named symbol `astrophoto_cache_v2` in sky-mapper.py:87"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-247d585e0e13f937", "name": "Commented-code block (17 lines) in sky-mapper.py:27", "shortDescription": {"text": "Commented-code block (17 lines) in sky-mapper.py:27"}, "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-591696f4b3935355", "name": "Network/subprocess call without timeout or try/except \u2014 sky-mapper.py:2678", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 sky-mapper.py:2678"}, "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}}]}}, "automationDetails": {"id": "repobility/25719"}, "properties": {"repository": "etotman/sky-mapper", "repoUrl": "https://github.com/etotman/sky-mapper", "branch": "main"}, "results": [{"ruleId": "scanner-22ae216ce1399882", "level": "note", "message": {"text": "Possibly dead Python function: log_message"}, "properties": {"repobilityId": "965f3150b4af5b2e", "scanner": "scanner-primary", "fingerprint": "22ae216ce1399882", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sky-mapper.py:2642"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d637032f09270e04", "level": "error", "message": {"text": "Insecure pattern 'python_os_system' in sky-mapper.py:2675"}, "properties": {"repobilityId": "c59bf33402465a96", "scanner": "scanner-primary", "fingerprint": "d637032f09270e04", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "python_os_system"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sky-mapper.py"}, "region": {"startLine": 2675}}}]}, {"ruleId": "scanner-ab4002c873f647fc", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in sky-mapper.py:1182"}, "properties": {"repobilityId": "c22c17ab5ed5154a", "scanner": "scanner-primary", "fingerprint": "ab4002c873f647fc", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sky-mapper.py"}, "region": {"startLine": 1182}}}]}, {"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-80fa709b9235810f", "level": "note", "message": {"text": "Very large file: sky-mapper.py (2849 lines)"}, "properties": {"repobilityId": "1eba5b0e118b6ebb", "scanner": "scanner-primary", "fingerprint": "80fa709b9235810f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"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-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "91109a081c0626d5", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "0c4207e416cacf43", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-d46b997b4dd4507d", "level": "none", "message": {"text": "Commented-code block (5 lines) in local_config.example.py:12"}, "properties": {"repobilityId": "cb85cac6f7b5d0f7", "scanner": "scanner-primary", "fingerprint": "d46b997b4dd4507d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-708a1f626cd34b33", "level": "note", "message": {"text": "Legacy-named symbol `astrophoto_cache_v2` in sky-mapper.py:87"}, "properties": {"repobilityId": "b1c99e28d3099b2a", "scanner": "scanner-primary", "fingerprint": "708a1f626cd34b33", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-247d585e0e13f937", "level": "none", "message": {"text": "Commented-code block (17 lines) in sky-mapper.py:27"}, "properties": {"repobilityId": "7b58d07b8dbac7a1", "scanner": "scanner-primary", "fingerprint": "247d585e0e13f937", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-591696f4b3935355", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 sky-mapper.py:2678"}, "properties": {"repobilityId": "4e6b506faeb47ac9", "scanner": "scanner-primary", "fingerprint": "591696f4b3935355", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}