{"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-b1ec8e0c0bb86f13", "name": "Possibly dead Python function: execute", "shortDescription": {"text": "Possibly dead Python function: execute"}, "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-387babcea84abc63", "name": "Possibly dead Python function: normalize_path", "shortDescription": {"text": "Possibly dead Python function: normalize_path"}, "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-54e610ff77949535", "name": "Possibly dead Python function: safe_path_join", "shortDescription": {"text": "Possibly dead Python function: safe_path_join"}, "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-fd8080cf791df0ae", "name": "Possibly dead Python function: execute_python_code", "shortDescription": {"text": "Possibly dead Python function: execute_python_code"}, "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-93f9afcd93e30cf6", "name": "Possibly dead Python function: set_prompt", "shortDescription": {"text": "Possibly dead Python function: set_prompt"}, "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-8a9c846f23fd88ee", "name": "Possibly dead Python function: clear_tracker", "shortDescription": {"text": "Possibly dead Python function: clear_tracker"}, "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-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: 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-e066691601852931", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "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-f8539bfb8f305613", "name": "Insecure pattern 'subprocess_shell_true' in platform_utils.py:259", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in platform_utils.py:259"}, "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-2f7b6fb13c8ecff4", "name": "Insecure pattern 'cors_wildcard' in gateway.py:41", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in gateway.py:41"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). 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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 15 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 42 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-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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-3419adb0006075f3", "name": "Legacy-named symbol `prompt_v2` in gateway.py:28", "shortDescription": {"text": "Legacy-named symbol `prompt_v2` in gateway.py:28"}, "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-6f84539cf0847cb2", "name": "Legacy-named symbol `prompt_v2` in main.py:31", "shortDescription": {"text": "Legacy-named symbol `prompt_v2` in main.py:31"}, "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-73c86118a88ad982", "name": "Legacy-named symbol `prompt_v2` in app.py:31", "shortDescription": {"text": "Legacy-named symbol `prompt_v2` in app.py:31"}, "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-022e6399d1ef2beb", "name": "12 env vars used in code but missing from .env.example", "shortDescription": {"text": "12 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `DEFAULT_MODEL`, `DOCKER_CONTAINER`, `HEARTBEAT_ENABLED`, `HEARTBEAT_INTERVAL`, `LOCALAPPDATA`, `MCP_CONFIG_PATH`, `MODEL_PROVIDER`, `PREFERRED_SHELL` + 4 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\napp.py:index, app.py:index\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2d815f5444c2dca3", "name": "FastAPI POST `chat` without auth dependency \u2014 gateway.py:137", "shortDescription": {"text": "FastAPI POST `chat` without auth dependency \u2014 gateway.py:137"}, "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-9c85e7ab1e6e2477", "name": "FastAPI DELETE `delete_session` without auth dependency \u2014 gateway.py:207", "shortDescription": {"text": "FastAPI DELETE `delete_session` without auth dependency \u2014 gateway.py:207"}, "fullDescription": {"text": "`@router.delete` 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-a2eda7f7816c62a0", "name": "FastAPI DELETE `revoke_permission` without auth dependency \u2014 gateway.py:259", "shortDescription": {"text": "FastAPI DELETE `revoke_permission` without auth dependency \u2014 gateway.py:259"}, "fullDescription": {"text": "`@router.delete` 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-86a0f5bebb610ff1", "name": "FastAPI POST `chat` without auth dependency \u2014 app.py:322", "shortDescription": {"text": "FastAPI POST `chat` without auth dependency \u2014 app.py:322"}, "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-a783253aab332479", "name": "FastAPI POST `archive_conversation` without auth dependency \u2014 app.py:401", "shortDescription": {"text": "FastAPI POST `archive_conversation` without auth dependency \u2014 app.py:401"}, "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-1e91e8b5a2d1e6c5", "name": "FastAPI POST `new_chat` without auth dependency \u2014 app.py:504", "shortDescription": {"text": "FastAPI POST `new_chat` without auth dependency \u2014 app.py:504"}, "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-cac7928116c7ccf0", "name": "FastAPI POST `heartbeat_start` without auth dependency \u2014 app.py:519", "shortDescription": {"text": "FastAPI POST `heartbeat_start` without auth dependency \u2014 app.py:519"}, "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-b11cd5dead708a95", "name": "FastAPI POST `heartbeat_stop` without auth dependency \u2014 app.py:525", "shortDescription": {"text": "FastAPI POST `heartbeat_stop` without auth dependency \u2014 app.py:525"}, "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-c8ff65d32a429728", "name": "FastAPI POST `heartbeat_trigger` without auth dependency \u2014 app.py:531", "shortDescription": {"text": "FastAPI POST `heartbeat_trigger` without auth dependency \u2014 app.py:531"}, "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-edfdeb499526a4cf", "name": "FastAPI POST `heartbeat_set_interval` without auth dependency \u2014 app.py:538", "shortDescription": {"text": "FastAPI POST `heartbeat_set_interval` without auth dependency \u2014 app.py:538"}, "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-0dd5d896936589f2", "name": "FastAPI POST `cron_create_job` without auth dependency \u2014 app.py:551", "shortDescription": {"text": "FastAPI POST `cron_create_job` without auth dependency \u2014 app.py:551"}, "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-4ced32c4b3cca84f", "name": "FastAPI DELETE `cron_delete_job` without auth dependency \u2014 app.py:569", "shortDescription": {"text": "FastAPI DELETE `cron_delete_job` without auth dependency \u2014 app.py:569"}, "fullDescription": {"text": "`@router.delete` 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-bee30e3d9049fa79", "name": "FastAPI POST `cron_run_now` without auth dependency \u2014 app.py:578", "shortDescription": {"text": "FastAPI POST `cron_run_now` without auth dependency \u2014 app.py:578"}, "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/29646"}, "properties": {"repository": "SpecForgeAI/deepagent-bot", "repoUrl": "https://github.com/SpecForgeAI/deepagent-bot", "branch": "main"}, "results": [{"ruleId": "scanner-b1ec8e0c0bb86f13", "level": "note", "message": {"text": "Possibly dead Python function: execute"}, "properties": {"repobilityId": "a0497c418f1db27e", "scanner": "scanner-primary", "fingerprint": "b1ec8e0c0bb86f13", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend.py:60"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-387babcea84abc63", "level": "note", "message": {"text": "Possibly dead Python function: normalize_path"}, "properties": {"repobilityId": "557111d81e17a366", "scanner": "scanner-primary", "fingerprint": "387babcea84abc63", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "platform_utils.py:81"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-54e610ff77949535", "level": "note", "message": {"text": "Possibly dead Python function: safe_path_join"}, "properties": {"repobilityId": "c76a16bb872437f2", "scanner": "scanner-primary", "fingerprint": "54e610ff77949535", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "platform_utils.py:90"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fd8080cf791df0ae", "level": "note", "message": {"text": "Possibly dead Python function: execute_python_code"}, "properties": {"repobilityId": "db89af61ab115a14", "scanner": "scanner-primary", "fingerprint": "fd8080cf791df0ae", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "platform_utils.py:199"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-93f9afcd93e30cf6", "level": "note", "message": {"text": "Possibly dead Python function: set_prompt"}, "properties": {"repobilityId": "4c811b3238d12ed3", "scanner": "scanner-primary", "fingerprint": "93f9afcd93e30cf6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "heartbeat.py:118"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8a9c846f23fd88ee", "level": "note", "message": {"text": "Possibly dead Python function: clear_tracker"}, "properties": {"repobilityId": "e6c6379540f47ce5", "scanner": "scanner-primary", "fingerprint": "8a9c846f23fd88ee", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "token_tracker.py:97"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-e066691601852931", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.11-slim"}, "properties": {"repobilityId": "f391052c9bfd7e8b", "scanner": "scanner-primary", "fingerprint": "e066691601852931", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f8539bfb8f305613", "level": "error", "message": {"text": "Insecure pattern 'subprocess_shell_true' in platform_utils.py:259"}, "properties": {"repobilityId": "0a1b5f35d88c4b1e", "scanner": "scanner-primary", "fingerprint": "f8539bfb8f305613", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "platform_utils.py"}, "region": {"startLine": 259}}}]}, {"ruleId": "scanner-2f7b6fb13c8ecff4", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in gateway.py:41"}, "properties": {"repobilityId": "59ff1f03091593dc", "scanner": "scanner-primary", "fingerprint": "2f7b6fb13c8ecff4", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway.py"}, "region": {"startLine": 41}}}]}, {"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": "62333b94b6fca32e", "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": "ead028666f9d07eb", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "59a8ebb02d364233", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "2107fe6afc00eadb", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3419adb0006075f3", "level": "note", "message": {"text": "Legacy-named symbol `prompt_v2` in gateway.py:28"}, "properties": {"repobilityId": "681a283d6b99f0a2", "scanner": "scanner-primary", "fingerprint": "3419adb0006075f3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-6f84539cf0847cb2", "level": "note", "message": {"text": "Legacy-named symbol `prompt_v2` in main.py:31"}, "properties": {"repobilityId": "64ffd2d3f90f11a1", "scanner": "scanner-primary", "fingerprint": "6f84539cf0847cb2", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-73c86118a88ad982", "level": "note", "message": {"text": "Legacy-named symbol `prompt_v2` in app.py:31"}, "properties": {"repobilityId": "7ccc69386c89ce7c", "scanner": "scanner-primary", "fingerprint": "73c86118a88ad982", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-022e6399d1ef2beb", "level": "note", "message": {"text": "12 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "7bf4178327da75a2", "scanner": "scanner-primary", "fingerprint": "022e6399d1ef2beb", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "8c8d40f93803127f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2d815f5444c2dca3", "level": "error", "message": {"text": "FastAPI POST `chat` without auth dependency \u2014 gateway.py:137"}, "properties": {"repobilityId": "d98f82458f5f9de7", "scanner": "scanner-primary", "fingerprint": "2d815f5444c2dca3", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway.py"}, "region": {"startLine": 137}}}]}, {"ruleId": "scanner-9c85e7ab1e6e2477", "level": "error", "message": {"text": "FastAPI DELETE `delete_session` without auth dependency \u2014 gateway.py:207"}, "properties": {"repobilityId": "e5b4ee393633c3d8", "scanner": "scanner-primary", "fingerprint": "9c85e7ab1e6e2477", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway.py"}, "region": {"startLine": 207}}}]}, {"ruleId": "scanner-a2eda7f7816c62a0", "level": "error", "message": {"text": "FastAPI DELETE `revoke_permission` without auth dependency \u2014 gateway.py:259"}, "properties": {"repobilityId": "23472d45090ca037", "scanner": "scanner-primary", "fingerprint": "a2eda7f7816c62a0", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway.py"}, "region": {"startLine": 259}}}]}, {"ruleId": "scanner-86a0f5bebb610ff1", "level": "error", "message": {"text": "FastAPI POST `chat` without auth dependency \u2014 app.py:322"}, "properties": {"repobilityId": "5b55c48dc332f494", "scanner": "scanner-primary", "fingerprint": "86a0f5bebb610ff1", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 322}}}]}, {"ruleId": "scanner-a783253aab332479", "level": "error", "message": {"text": "FastAPI POST `archive_conversation` without auth dependency \u2014 app.py:401"}, "properties": {"repobilityId": "2eb52974299b776b", "scanner": "scanner-primary", "fingerprint": "a783253aab332479", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 401}}}]}, {"ruleId": "scanner-1e91e8b5a2d1e6c5", "level": "error", "message": {"text": "FastAPI POST `new_chat` without auth dependency \u2014 app.py:504"}, "properties": {"repobilityId": "b4dcc2f5be884b5c", "scanner": "scanner-primary", "fingerprint": "1e91e8b5a2d1e6c5", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 504}}}]}, {"ruleId": "scanner-cac7928116c7ccf0", "level": "error", "message": {"text": "FastAPI POST `heartbeat_start` without auth dependency \u2014 app.py:519"}, "properties": {"repobilityId": "1c059c365cc51e31", "scanner": "scanner-primary", "fingerprint": "cac7928116c7ccf0", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 519}}}]}, {"ruleId": "scanner-b11cd5dead708a95", "level": "error", "message": {"text": "FastAPI POST `heartbeat_stop` without auth dependency \u2014 app.py:525"}, "properties": {"repobilityId": "00d0011d0398288e", "scanner": "scanner-primary", "fingerprint": "b11cd5dead708a95", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 525}}}]}, {"ruleId": "scanner-c8ff65d32a429728", "level": "error", "message": {"text": "FastAPI POST `heartbeat_trigger` without auth dependency \u2014 app.py:531"}, "properties": {"repobilityId": "05c7d96aece479b6", "scanner": "scanner-primary", "fingerprint": "c8ff65d32a429728", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 531}}}]}, {"ruleId": "scanner-edfdeb499526a4cf", "level": "error", "message": {"text": "FastAPI POST `heartbeat_set_interval` without auth dependency \u2014 app.py:538"}, "properties": {"repobilityId": "3ff11e269ac11a8b", "scanner": "scanner-primary", "fingerprint": "edfdeb499526a4cf", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 538}}}]}, {"ruleId": "scanner-0dd5d896936589f2", "level": "error", "message": {"text": "FastAPI POST `cron_create_job` without auth dependency \u2014 app.py:551"}, "properties": {"repobilityId": "926daa336e27b648", "scanner": "scanner-primary", "fingerprint": "0dd5d896936589f2", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 551}}}]}, {"ruleId": "scanner-4ced32c4b3cca84f", "level": "error", "message": {"text": "FastAPI DELETE `cron_delete_job` without auth dependency \u2014 app.py:569"}, "properties": {"repobilityId": "012e5a3f05a0bd3f", "scanner": "scanner-primary", "fingerprint": "4ced32c4b3cca84f", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 569}}}]}, {"ruleId": "scanner-bee30e3d9049fa79", "level": "error", "message": {"text": "FastAPI POST `cron_run_now` without auth dependency \u2014 app.py:578"}, "properties": {"repobilityId": "58446676e5dd84de", "scanner": "scanner-primary", "fingerprint": "bee30e3d9049fa79", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app.py"}, "region": {"startLine": 578}}}]}]}]}