{"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-dcd89a2f49dc332f", "name": "Possibly dead Python function: patch_0002_eager_model_load", "shortDescription": {"text": "Possibly dead Python function: patch_0002_eager_model_load"}, "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-bc806040b230aeb6", "name": "Possibly dead Python function: patch_0003_reverse_sort", "shortDescription": {"text": "Possibly dead Python function: patch_0003_reverse_sort"}, "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-9b64650a232acf1d", "name": "Possibly dead Python function: patch_0004_batch_structured_response", "shortDescription": {"text": "Possibly dead Python function: patch_0004_batch_structured_response"}, "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-c834d856ffbb47b7", "name": "Possibly dead Python function: patch_0005_gsq_return_str", "shortDescription": {"text": "Possibly dead Python function: patch_0005_gsq_return_str"}, "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-89519d4360e5867e", "name": "Possibly dead Python function: patch_0006_fastapi_jsonresponse", "shortDescription": {"text": "Possibly dead Python function: patch_0006_fastapi_jsonresponse"}, "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-aca09d1abceb50dc", "name": "Possibly dead Python function: patch_0007_dq_and_queue_endpoint", "shortDescription": {"text": "Possibly dead Python function: patch_0007_dq_and_queue_endpoint"}, "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-47636e33caef255d", "name": "Dockerfile runs as root: docker/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: docker/Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-c6cf64ae615031f1", "name": "Docker base image is tag-pinned but not digest-pinned: nvidia/cuda:12.8.1-cudnn-runtime-ubuntu22.04", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: nvidia/cuda:12.8.1-cudnn-runtime-ubuntu22.04"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "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-1838a141491ce38c", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "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 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 27 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-11825279136b53a3", "name": "CI is configured but no tests are detected", "shortDescription": {"text": "CI is configured but no tests are detected"}, "fullDescription": {"text": "A CI pipeline exists, but the scan found no test files to gate. Opus labeled this generated-code pattern as config theater: release machinery exists, but it has little behavioral signal."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1010234bdba1044c", "name": "Network/subprocess call without timeout or try/except \u2014 scripts/extract-patches-0002-to-0007.py:35", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 scripts/extract-patches-0002-to-0007.py:35"}, "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-f759d3dc44660fda", "name": "FastAPI POST `batch` without auth dependency \u2014 scripts/extract-patches-0002-to-0007.py:159", "shortDescription": {"text": "FastAPI POST `batch` without auth dependency \u2014 scripts/extract-patches-0002-to-0007.py:159"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-acd1eaa800973497", "name": "FastAPI POST `batch` without auth dependency \u2014 scripts/extract-patches-0002-to-0007.py:166", "shortDescription": {"text": "FastAPI POST `batch` without auth dependency \u2014 scripts/extract-patches-0002-to-0007.py:166"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-dbf3e5a22bb77f54", "name": "FastAPI POST `<anonymous>` without auth dependency \u2014 scripts/validate-patched.py:99", "shortDescription": {"text": "FastAPI POST `<anonymous>` without auth dependency \u2014 scripts/validate-patched.py:99"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/25033"}, "properties": {"repository": "coaxk/subarr-subgen", "repoUrl": "https://github.com/coaxk/subarr-subgen", "branch": "main"}, "results": [{"ruleId": "scanner-dcd89a2f49dc332f", "level": "note", "message": {"text": "Possibly dead Python function: patch_0002_eager_model_load"}, "properties": {"repobilityId": "ede16101d4eccb46", "scanner": "scanner-primary", "fingerprint": "dcd89a2f49dc332f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py:353"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-bc806040b230aeb6", "level": "note", "message": {"text": "Possibly dead Python function: patch_0003_reverse_sort"}, "properties": {"repobilityId": "2accb86705a51236", "scanner": "scanner-primary", "fingerprint": "bc806040b230aeb6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py:369"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9b64650a232acf1d", "level": "note", "message": {"text": "Possibly dead Python function: patch_0004_batch_structured_response"}, "properties": {"repobilityId": "10afc7c069fc3c9e", "scanner": "scanner-primary", "fingerprint": "9b64650a232acf1d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py:389"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c834d856ffbb47b7", "level": "note", "message": {"text": "Possibly dead Python function: patch_0005_gsq_return_str"}, "properties": {"repobilityId": "abfe42af170645e6", "scanner": "scanner-primary", "fingerprint": "c834d856ffbb47b7", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py:405"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-89519d4360e5867e", "level": "note", "message": {"text": "Possibly dead Python function: patch_0006_fastapi_jsonresponse"}, "properties": {"repobilityId": "5b87c414f030227f", "scanner": "scanner-primary", "fingerprint": "89519d4360e5867e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py:421"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-aca09d1abceb50dc", "level": "note", "message": {"text": "Possibly dead Python function: patch_0007_dq_and_queue_endpoint"}, "properties": {"repobilityId": "d589059fb6b618c7", "scanner": "scanner-primary", "fingerprint": "aca09d1abceb50dc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py:434"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-47636e33caef255d", "level": "warning", "message": {"text": "Dockerfile runs as root: docker/Dockerfile"}, "properties": {"repobilityId": "8a345ba4198453bd", "scanner": "scanner-primary", "fingerprint": "47636e33caef255d", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-c6cf64ae615031f1", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: nvidia/cuda:12.8.1-cudnn-runtime-ubuntu22.04"}, "properties": {"repobilityId": "8c2e0303b0968506", "scanner": "scanner-primary", "fingerprint": "c6cf64ae615031f1", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "docker/Dockerfile"}, "region": {"startLine": 28}}}]}, {"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-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"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": "9f4330bc472403ef", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-11825279136b53a3", "level": "warning", "message": {"text": "CI is configured but no tests are detected"}, "properties": {"repobilityId": "fb99e2826d8d8192", "scanner": "scanner-primary", "fingerprint": "11825279136b53a3", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "ci", "config-theater", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-1010234bdba1044c", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 scripts/extract-patches-0002-to-0007.py:35"}, "properties": {"repobilityId": "c06da8190238fe1d", "scanner": "scanner-primary", "fingerprint": "1010234bdba1044c", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-f759d3dc44660fda", "level": "error", "message": {"text": "FastAPI POST `batch` without auth dependency \u2014 scripts/extract-patches-0002-to-0007.py:159"}, "properties": {"repobilityId": "9afac8c23de71d58", "scanner": "scanner-primary", "fingerprint": "f759d3dc44660fda", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py"}, "region": {"startLine": 159}}}]}, {"ruleId": "scanner-acd1eaa800973497", "level": "error", "message": {"text": "FastAPI POST `batch` without auth dependency \u2014 scripts/extract-patches-0002-to-0007.py:166"}, "properties": {"repobilityId": "1df417dd9dcbcef8", "scanner": "scanner-primary", "fingerprint": "acd1eaa800973497", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/extract-patches-0002-to-0007.py"}, "region": {"startLine": 166}}}]}, {"ruleId": "scanner-dbf3e5a22bb77f54", "level": "error", "message": {"text": "FastAPI POST `<anonymous>` without auth dependency \u2014 scripts/validate-patched.py:99"}, "properties": {"repobilityId": "4cae6c2059470c2b", "scanner": "scanner-primary", "fingerprint": "dbf3e5a22bb77f54", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "scripts/validate-patched.py"}, "region": {"startLine": 99}}}]}]}]}