{"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-21ff506b8ca2336b", "name": "Insecure pattern 'subprocess_shell_true' in clusterstatus.py:14", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in clusterstatus.py:14"}, "fullDescription": {"text": "Found a known-risky pattern (subprocess_shell_true). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-1e9d3fe77b695ee7", "name": "Insecure pattern 'python_os_system' in inspectjobs.py:150", "shortDescription": {"text": "Insecure pattern 'python_os_system' in inspectjobs.py:150"}, "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-e030657ff50a4045", "name": "Insecure pattern 'subprocess_shell_true' in inspectjobs.py:11", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in inspectjobs.py:11"}, "fullDescription": {"text": "Found a known-risky pattern (subprocess_shell_true). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "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 2 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 30 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-4b992c5a0fa7aba0", "name": "Network/subprocess call without timeout or try/except \u2014 clusterstatus.py:15", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 clusterstatus.py:15"}, "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-86d623248b87bfb9", "name": "Network/subprocess call without timeout or try/except \u2014 inspectjobs.py:12", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 inspectjobs.py:12"}, "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/26636"}, "properties": {"repository": "iPRET/HPCTools", "repoUrl": "https://github.com/iPRET/HPCTools", "branch": "main"}, "results": [{"ruleId": "scanner-21ff506b8ca2336b", "level": "error", "message": {"text": "Insecure pattern 'subprocess_shell_true' in clusterstatus.py:14"}, "properties": {"repobilityId": "58a09ddf225e55bd", "scanner": "scanner-primary", "fingerprint": "21ff506b8ca2336b", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "clusterstatus.py"}, "region": {"startLine": 14}}}]}, {"ruleId": "scanner-1e9d3fe77b695ee7", "level": "error", "message": {"text": "Insecure pattern 'python_os_system' in inspectjobs.py:150"}, "properties": {"repobilityId": "91a8c46fd2338b0a", "scanner": "scanner-primary", "fingerprint": "1e9d3fe77b695ee7", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "python_os_system"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "inspectjobs.py"}, "region": {"startLine": 150}}}]}, {"ruleId": "scanner-e030657ff50a4045", "level": "error", "message": {"text": "Insecure pattern 'subprocess_shell_true' in inspectjobs.py:11"}, "properties": {"repobilityId": "48c1ba1787168c10", "scanner": "scanner-primary", "fingerprint": "e030657ff50a4045", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "inspectjobs.py"}, "region": {"startLine": 11}}}]}, {"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": "558f4324ca98a46a", "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": "e6fc36ea3da333e0", "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": "5948be757136ce34", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-4b992c5a0fa7aba0", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 clusterstatus.py:15"}, "properties": {"repobilityId": "6520c00848a7c303", "scanner": "scanner-primary", "fingerprint": "4b992c5a0fa7aba0", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-86d623248b87bfb9", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 inspectjobs.py:12"}, "properties": {"repobilityId": "ffe3b2f412a0b555", "scanner": "scanner-primary", "fingerprint": "86d623248b87bfb9", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}]}]}