{"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-6ebb37506c603264", "name": "Possibly dead Python function: require_auth", "shortDescription": {"text": "Possibly dead Python function: require_auth"}, "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-c3a8ee8e4837ede2", "name": "Possibly dead Python function: positions", "shortDescription": {"text": "Possibly dead Python function: positions"}, "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-3c139dd2cce640aa", "name": "Possibly dead Python function: validate_liquidity", "shortDescription": {"text": "Possibly dead Python function: validate_liquidity"}, "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-a74da213085db85a", "name": "Possibly dead Python function: run", "shortDescription": {"text": "Possibly dead Python function: run"}, "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-105366a2e50627dc", "name": "`truncate` class without `title=` for hover reveal \u2014 frontend/src/views/Learning.jsx:176", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 frontend/src/views/Learning.jsx:176"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "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-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "4 tests / 38 src (ratio 0.11)."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci. 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-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-1234fc9fff3bed8d", "name": "Commented-code block (5 lines) in frontend/src/components/RadialNav.jsx:3", "shortDescription": {"text": "Commented-code block (5 lines) in frontend/src/components/RadialNav.jsx:3"}, "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-4c609c990d788051", "name": "Commented-code block (5 lines) in frontend/src/components/DataTable.jsx:1", "shortDescription": {"text": "Commented-code block (5 lines) in frontend/src/components/DataTable.jsx: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-3189036b439ea229", "name": "Commented-code block (5 lines) in backend/data_clients.py:274", "shortDescription": {"text": "Commented-code block (5 lines) in backend/data_clients.py:274"}, "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-b334d875f2339fa1", "name": "5 env vars used in code but missing from .env.example", "shortDescription": {"text": "5 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `API_TOKEN`, `DB_PATH`, `FRONTEND_ORIGIN`, `VITE_API_TOKEN`, `VITE_API_URL`. 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:\nbackend/overrides.py:evaluate_conviction_criteria, backend/overrides.py:evaluate\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-02525d39071dd2c7", "name": "Near-duplicate function bodies in 5 places", "shortDescription": {"text": "Near-duplicate function bodies in 5 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbackend/data_clients.py:fetch, backend/data_clients.py:fetch, backend/data_clients.py:fetch, backend/data_clients.py:fetch\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-27dab4f96c13c1f3", "name": "FastAPI POST `force_retrain` without auth dependency \u2014 backend/app.py:245", "shortDescription": {"text": "FastAPI POST `force_retrain` without auth dependency \u2014 backend/app.py:245"}, "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-0574b66fe076c5eb", "name": "FastAPI PUT `put_settings` without auth dependency \u2014 backend/app.py:269", "shortDescription": {"text": "FastAPI PUT `put_settings` without auth dependency \u2014 backend/app.py:269"}, "fullDescription": {"text": "`@router.put` 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-9e4ee1c63c67438c", "name": "FastAPI POST `approve_override` without auth dependency \u2014 backend/app.py:320", "shortDescription": {"text": "FastAPI POST `approve_override` without auth dependency \u2014 backend/app.py:320"}, "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-8cf01320ac70d2e6", "name": "FastAPI POST `skip_override` without auth dependency \u2014 backend/app.py:336", "shortDescription": {"text": "FastAPI POST `skip_override` without auth dependency \u2014 backend/app.py:336"}, "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-74e0d84b533d4b59", "name": "FastAPI POST `run_weekly_report` without auth dependency \u2014 backend/app.py:348", "shortDescription": {"text": "FastAPI POST `run_weekly_report` without auth dependency \u2014 backend/app.py:348"}, "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-be7805c54200a988", "name": "Unused endpoint: GET /api/portfolio", "shortDescription": {"text": "Unused endpoint: GET /api/portfolio"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/portfolio` 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-f401ed62f32c2343", "name": "Unused endpoint: GET /api/signals", "shortDescription": {"text": "Unused endpoint: GET /api/signals"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/signals` 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-5cbb02192391b3c9", "name": "Unused endpoint: GET /api/flow", "shortDescription": {"text": "Unused endpoint: GET /api/flow"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/flow` 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-41e9c15901ece9fc", "name": "Unused endpoint: GET /api/trades", "shortDescription": {"text": "Unused endpoint: GET /api/trades"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/trades` 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-0d959443f7cd3831", "name": "Unused endpoint: GET /api/trades/{trade_id}/signals", "shortDescription": {"text": "Unused endpoint: GET /api/trades/{trade_id}/signals"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/trades/{trade_id}/signals` 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-6b3ec383677ae2c9", "name": "Unused endpoint: GET /api/overrides", "shortDescription": {"text": "Unused endpoint: GET /api/overrides"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/overrides` 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-947ddf5107b33f4a", "name": "Unused endpoint: GET /api/foreign", "shortDescription": {"text": "Unused endpoint: GET /api/foreign"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/foreign` 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-553b8348335609cb", "name": "Unused endpoint: GET /api/learning", "shortDescription": {"text": "Unused endpoint: GET /api/learning"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/learning` 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-143cf68253a979ab", "name": "Unused endpoint: POST /api/ml/retrain", "shortDescription": {"text": "Unused endpoint: POST /api/ml/retrain"}, "fullDescription": {"text": "`backend/app.py` declares `POST /api/ml/retrain` 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-379b09f9de636500", "name": "Unused endpoint: GET /api/settings", "shortDescription": {"text": "Unused endpoint: GET /api/settings"}, "fullDescription": {"text": "`backend/app.py` declares `GET /api/settings` 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-2bffc2596a61e55e", "name": "Unused endpoint: PUT /api/settings", "shortDescription": {"text": "Unused endpoint: PUT /api/settings"}, "fullDescription": {"text": "`backend/app.py` declares `PUT /api/settings` 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-b3ad920faf3995b5", "name": "Unused endpoint: POST /api/overrides/{approval_id}/approve", "shortDescription": {"text": "Unused endpoint: POST /api/overrides/{approval_id}/approve"}, "fullDescription": {"text": "`backend/app.py` declares `POST /api/overrides/{approval_id}/approve` 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-1b05354e2b3f27df", "name": "Unused endpoint: POST /api/overrides/{approval_id}/skip", "shortDescription": {"text": "Unused endpoint: POST /api/overrides/{approval_id}/skip"}, "fullDescription": {"text": "`backend/app.py` declares `POST /api/overrides/{approval_id}/skip` 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-88e1d290333e3709", "name": "Unused endpoint: POST /api/reports/weekly/run", "shortDescription": {"text": "Unused endpoint: POST /api/reports/weekly/run"}, "fullDescription": {"text": "`backend/app.py` declares `POST /api/reports/weekly/run` 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/18191"}, "properties": {"repository": "rishi-desai/forge", "repoUrl": "https://github.com/rishi-desai/forge", "branch": "main"}, "results": [{"ruleId": "scanner-6ebb37506c603264", "level": "note", "message": {"text": "Possibly dead Python function: require_auth"}, "properties": {"repobilityId": "d7855475dea79341", "scanner": "scanner-primary", "fingerprint": "6ebb37506c603264", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app.py:45"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c3a8ee8e4837ede2", "level": "note", "message": {"text": "Possibly dead Python function: positions"}, "properties": {"repobilityId": "5c421378bdf71c08", "scanner": "scanner-primary", "fingerprint": "c3a8ee8e4837ede2", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/alpaca_exec.py:76"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3c139dd2cce640aa", "level": "note", "message": {"text": "Possibly dead Python function: validate_liquidity"}, "properties": {"repobilityId": "05f8531099c9a0fd", "scanner": "scanner-primary", "fingerprint": "3c139dd2cce640aa", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/risk.py:333"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a74da213085db85a", "level": "note", "message": {"text": "Possibly dead Python function: run"}, "properties": {"repobilityId": "1dbeb43640a3ab52", "scanner": "scanner-primary", "fingerprint": "a74da213085db85a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/data_clients.py:162"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-105366a2e50627dc", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 frontend/src/views/Learning.jsx:176"}, "properties": {"repobilityId": "a85ca780a5bbaf21", "scanner": "scanner-primary", "fingerprint": "105366a2e50627dc", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"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-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "b8b9e66689b08596", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "123569531650f9a8", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "4e3fa12bb561b525", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "7390676c6e55820e", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-1234fc9fff3bed8d", "level": "none", "message": {"text": "Commented-code block (5 lines) in frontend/src/components/RadialNav.jsx:3"}, "properties": {"repobilityId": "9f4cb862562ac22a", "scanner": "scanner-primary", "fingerprint": "1234fc9fff3bed8d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4c609c990d788051", "level": "none", "message": {"text": "Commented-code block (5 lines) in frontend/src/components/DataTable.jsx:1"}, "properties": {"repobilityId": "f10f96e81676a6b5", "scanner": "scanner-primary", "fingerprint": "4c609c990d788051", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3189036b439ea229", "level": "none", "message": {"text": "Commented-code block (5 lines) in backend/data_clients.py:274"}, "properties": {"repobilityId": "fce7b541abecca11", "scanner": "scanner-primary", "fingerprint": "3189036b439ea229", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b334d875f2339fa1", "level": "note", "message": {"text": "5 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "faa38682016f5d53", "scanner": "scanner-primary", "fingerprint": "b334d875f2339fa1", "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": "7c445990ffcb63f8", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "8ad2e0dd52fff161", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-02525d39071dd2c7", "level": "note", "message": {"text": "Near-duplicate function bodies in 5 places"}, "properties": {"repobilityId": "792979b6c38479e8", "scanner": "scanner-primary", "fingerprint": "02525d39071dd2c7", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-27dab4f96c13c1f3", "level": "error", "message": {"text": "FastAPI POST `force_retrain` without auth dependency \u2014 backend/app.py:245"}, "properties": {"repobilityId": "3b7951c0f567abe8", "scanner": "scanner-primary", "fingerprint": "27dab4f96c13c1f3", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app.py"}, "region": {"startLine": 245}}}]}, {"ruleId": "scanner-0574b66fe076c5eb", "level": "error", "message": {"text": "FastAPI PUT `put_settings` without auth dependency \u2014 backend/app.py:269"}, "properties": {"repobilityId": "1598aeb4f8415384", "scanner": "scanner-primary", "fingerprint": "0574b66fe076c5eb", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app.py"}, "region": {"startLine": 269}}}]}, {"ruleId": "scanner-9e4ee1c63c67438c", "level": "error", "message": {"text": "FastAPI POST `approve_override` without auth dependency \u2014 backend/app.py:320"}, "properties": {"repobilityId": "c769d8141d99033d", "scanner": "scanner-primary", "fingerprint": "9e4ee1c63c67438c", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app.py"}, "region": {"startLine": 320}}}]}, {"ruleId": "scanner-8cf01320ac70d2e6", "level": "error", "message": {"text": "FastAPI POST `skip_override` without auth dependency \u2014 backend/app.py:336"}, "properties": {"repobilityId": "00cade8109acfa22", "scanner": "scanner-primary", "fingerprint": "8cf01320ac70d2e6", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app.py"}, "region": {"startLine": 336}}}]}, {"ruleId": "scanner-74e0d84b533d4b59", "level": "error", "message": {"text": "FastAPI POST `run_weekly_report` without auth dependency \u2014 backend/app.py:348"}, "properties": {"repobilityId": "28bf0715876b4654", "scanner": "scanner-primary", "fingerprint": "74e0d84b533d4b59", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app.py"}, "region": {"startLine": 348}}}]}, {"ruleId": "scanner-be7805c54200a988", "level": "note", "message": {"text": "Unused endpoint: GET /api/portfolio"}, "properties": {"repobilityId": "36b7a1193f0a285d", "scanner": "scanner-primary", "fingerprint": "be7805c54200a988", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-f401ed62f32c2343", "level": "note", "message": {"text": "Unused endpoint: GET /api/signals"}, "properties": {"repobilityId": "86c67551f73627ba", "scanner": "scanner-primary", "fingerprint": "f401ed62f32c2343", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5cbb02192391b3c9", "level": "note", "message": {"text": "Unused endpoint: GET /api/flow"}, "properties": {"repobilityId": "9e0d519b1e330f53", "scanner": "scanner-primary", "fingerprint": "5cbb02192391b3c9", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-41e9c15901ece9fc", "level": "note", "message": {"text": "Unused endpoint: GET /api/trades"}, "properties": {"repobilityId": "96de6d1b95fe507e", "scanner": "scanner-primary", "fingerprint": "41e9c15901ece9fc", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-0d959443f7cd3831", "level": "note", "message": {"text": "Unused endpoint: GET /api/trades/{trade_id}/signals"}, "properties": {"repobilityId": "70ee1dc44208a446", "scanner": "scanner-primary", "fingerprint": "0d959443f7cd3831", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-6b3ec383677ae2c9", "level": "note", "message": {"text": "Unused endpoint: GET /api/overrides"}, "properties": {"repobilityId": "ee00944fa51e9127", "scanner": "scanner-primary", "fingerprint": "6b3ec383677ae2c9", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-947ddf5107b33f4a", "level": "note", "message": {"text": "Unused endpoint: GET /api/foreign"}, "properties": {"repobilityId": "ee051e024de96181", "scanner": "scanner-primary", "fingerprint": "947ddf5107b33f4a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-553b8348335609cb", "level": "note", "message": {"text": "Unused endpoint: GET /api/learning"}, "properties": {"repobilityId": "9d9675efacba90f0", "scanner": "scanner-primary", "fingerprint": "553b8348335609cb", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-143cf68253a979ab", "level": "note", "message": {"text": "Unused endpoint: POST /api/ml/retrain"}, "properties": {"repobilityId": "e77c7b9781f9aab1", "scanner": "scanner-primary", "fingerprint": "143cf68253a979ab", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-379b09f9de636500", "level": "note", "message": {"text": "Unused endpoint: GET /api/settings"}, "properties": {"repobilityId": "1449b97a1a18b643", "scanner": "scanner-primary", "fingerprint": "379b09f9de636500", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2bffc2596a61e55e", "level": "note", "message": {"text": "Unused endpoint: PUT /api/settings"}, "properties": {"repobilityId": "cdc528f89f6a4d60", "scanner": "scanner-primary", "fingerprint": "2bffc2596a61e55e", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b3ad920faf3995b5", "level": "note", "message": {"text": "Unused endpoint: POST /api/overrides/{approval_id}/approve"}, "properties": {"repobilityId": "97c63a93fa08191b", "scanner": "scanner-primary", "fingerprint": "b3ad920faf3995b5", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-1b05354e2b3f27df", "level": "note", "message": {"text": "Unused endpoint: POST /api/overrides/{approval_id}/skip"}, "properties": {"repobilityId": "897e9648ac204d9e", "scanner": "scanner-primary", "fingerprint": "1b05354e2b3f27df", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-88e1d290333e3709", "level": "note", "message": {"text": "Unused endpoint: POST /api/reports/weekly/run"}, "properties": {"repobilityId": "f62f97a3fc9d2200", "scanner": "scanner-primary", "fingerprint": "88e1d290333e3709", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}