{"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-653968b7287ade8b", "name": "Possibly dead Python function: warm_up", "shortDescription": {"text": "Possibly dead Python function: warm_up"}, "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-8b53a4aa527daa71", "name": "Possibly dead Python function: pipeline_thread", "shortDescription": {"text": "Possibly dead Python function: pipeline_thread"}, "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-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 45 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-e2d2347ae22d5f57", "name": "Network/subprocess call without timeout or try/except \u2014 backend.py:251", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 backend.py:251"}, "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-8a91dfd09a8f8721", "name": "Commented-code block (5 lines) in app.js:1", "shortDescription": {"text": "Commented-code block (5 lines) in app.js:1"}, "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-53a9eda02cffe9c7", "name": "FastAPI POST `bot_message_push` without auth dependency \u2014 backend.py:689", "shortDescription": {"text": "FastAPI POST `bot_message_push` without auth dependency \u2014 backend.py:689"}, "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-2a92c51508c551ed", "name": "FastAPI POST `trigger` without auth dependency \u2014 backend.py:709", "shortDescription": {"text": "FastAPI POST `trigger` without auth dependency \u2014 backend.py:709"}, "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-5baa8971ebe192a1", "name": "Unused endpoint: GET /", "shortDescription": {"text": "Unused endpoint: GET /"}, "fullDescription": {"text": "`backend.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-22fef0dea11ed1eb", "name": "Unused endpoint: GET /styles.css", "shortDescription": {"text": "Unused endpoint: GET /styles.css"}, "fullDescription": {"text": "`backend.py` declares `GET /styles.css` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-47e2aa64215549d7", "name": "Unused endpoint: GET /app.js", "shortDescription": {"text": "Unused endpoint: GET /app.js"}, "fullDescription": {"text": "`backend.py` declares `GET /app.js` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3e2d86492c9b0e84", "name": "Unused endpoint: POST /bot_message", "shortDescription": {"text": "Unused endpoint: POST /bot_message"}, "fullDescription": {"text": "`backend.py` declares `POST /bot_message` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/25594"}, "properties": {"repository": "EDuarP/bmo-orb-app", "repoUrl": "https://github.com/EDuarP/bmo-orb-app", "branch": "main"}, "results": [{"ruleId": "scanner-653968b7287ade8b", "level": "note", "message": {"text": "Possibly dead Python function: warm_up"}, "properties": {"repobilityId": "c69658604152ab73", "scanner": "scanner-primary", "fingerprint": "653968b7287ade8b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend.py:275"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8b53a4aa527daa71", "level": "note", "message": {"text": "Possibly dead Python function: pipeline_thread"}, "properties": {"repobilityId": "34ca3b3542034782", "scanner": "scanner-primary", "fingerprint": "8b53a4aa527daa71", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend.py:519"}, "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-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": "6d88d972c0a421ab", "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": "30768c09ed42273d", "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": "db1a9a00b20a0144", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-e2d2347ae22d5f57", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 backend.py:251"}, "properties": {"repobilityId": "1e123adba869669b", "scanner": "scanner-primary", "fingerprint": "e2d2347ae22d5f57", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-8a91dfd09a8f8721", "level": "none", "message": {"text": "Commented-code block (5 lines) in app.js:1"}, "properties": {"repobilityId": "4441679f52b01606", "scanner": "scanner-primary", "fingerprint": "8a91dfd09a8f8721", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-53a9eda02cffe9c7", "level": "error", "message": {"text": "FastAPI POST `bot_message_push` without auth dependency \u2014 backend.py:689"}, "properties": {"repobilityId": "3e3e60c70f3ac39a", "scanner": "scanner-primary", "fingerprint": "53a9eda02cffe9c7", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend.py"}, "region": {"startLine": 689}}}]}, {"ruleId": "scanner-2a92c51508c551ed", "level": "error", "message": {"text": "FastAPI POST `trigger` without auth dependency \u2014 backend.py:709"}, "properties": {"repobilityId": "ba4838dcfc26ef99", "scanner": "scanner-primary", "fingerprint": "2a92c51508c551ed", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend.py"}, "region": {"startLine": 709}}}]}, {"ruleId": "scanner-5baa8971ebe192a1", "level": "note", "message": {"text": "Unused endpoint: GET /"}, "properties": {"repobilityId": "1b4128e8fb63495d", "scanner": "scanner-primary", "fingerprint": "5baa8971ebe192a1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-22fef0dea11ed1eb", "level": "note", "message": {"text": "Unused endpoint: GET /styles.css"}, "properties": {"repobilityId": "9ca598445b66897d", "scanner": "scanner-primary", "fingerprint": "22fef0dea11ed1eb", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-47e2aa64215549d7", "level": "note", "message": {"text": "Unused endpoint: GET /app.js"}, "properties": {"repobilityId": "d7bf3c593b238489", "scanner": "scanner-primary", "fingerprint": "47e2aa64215549d7", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-3e2d86492c9b0e84", "level": "note", "message": {"text": "Unused endpoint: POST /bot_message"}, "properties": {"repobilityId": "5da81f57d2efe717", "scanner": "scanner-primary", "fingerprint": "3e2d86492c9b0e84", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}