{"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-d389c1d76ebec5c3", "name": "Possibly dead Python function: check", "shortDescription": {"text": "Possibly dead Python function: check"}, "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-b52fcdd104f10cbc", "name": "Possibly dead Python function: stop", "shortDescription": {"text": "Possibly dead Python function: stop"}, "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-cd5a8ac5cc1c4c41", "name": "Possibly dead Python function: stream", "shortDescription": {"text": "Possibly dead Python function: stream"}, "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-b53228615a726bb0", "name": "Possibly dead Python function: poll", "shortDescription": {"text": "Possibly dead Python function: poll"}, "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-fb5b1b9ccdc7bc9c", "name": "Possibly dead Python function: fetch", "shortDescription": {"text": "Possibly dead Python function: fetch"}, "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-574aa3fd90ab97ab", "name": "Possibly dead Python function: forward", "shortDescription": {"text": "Possibly dead Python function: forward"}, "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-8e8ee2af11b2d8d6", "name": "Possibly dead Python function: forward", "shortDescription": {"text": "Possibly dead Python function: forward"}, "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-60427b03771411b6", "name": "Dockerfile runs as root: frontend/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: frontend/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-faa134129e5545ff", "name": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine"}, "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-83c38ebf884ae7b3", "name": "Dockerfile runs as root: backend-rust/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: backend-rust/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-a33f849a2d7656db", "name": "Docker base image is tag-pinned but not digest-pinned: rust:1.95-bookworm", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: rust:1.95-bookworm"}, "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-b74af8e1bc91c649", "name": "Docker base image is tag-pinned but not digest-pinned: debian:bookworm-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: debian:bookworm-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-b23e30f4a1f30ba4", "name": "Dockerfile runs as root: backend-rust/finetune-sidecar/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: backend-rust/finetune-sidecar/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-ad345d11d669891c", "name": "Docker base image is tag-pinned but not digest-pinned: nvidia/cuda:12.8.1-runtime-ubuntu22.04", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: nvidia/cuda:12.8.1-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-aa5acaa49eb8315b", "name": "Containers defined but no K8s/orchestration manifest found", "shortDescription": {"text": "Containers defined but no K8s/orchestration manifest found"}, "fullDescription": {"text": "Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "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-633facff36fc0631", "name": "Very large file: backend-rust/src/services/paper_trader.rs (1474 lines)", "shortDescription": {"text": "Very large file: backend-rust/src/services/paper_trader.rs (1474 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "1 test file(s) for 46 source file(s) (ratio 0.02). 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-faccb9061e9b52a0", "name": "No README detected", "shortDescription": {"text": "No README detected"}, "fullDescription": {"text": "No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-0e8a76eb13fd3249", "name": "Node manifest has dependencies but no lockfile: frontend/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: frontend/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "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 52 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, operator-readme, lockfile. 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-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing license, ci, tests, operator-readme, lockfile. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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-25ec6620425e295c", "name": "Commented-code block (5 lines) in frontend/src/index.js:5", "shortDescription": {"text": "Commented-code block (5 lines) in frontend/src/index.js:5"}, "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-79036e3f0d4cea1b", "name": "Network/subprocess call without timeout or try/except \u2014 backend-rust/finetune-sidecar/start_servers.py:21", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 backend-rust/finetune-sidecar/start_servers.py:21"}, "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-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbackend-rust/scripts/export_kronos_onnx.py:forward, backend-rust/scripts/export_kronos_onnx.py:forward, backend-rust/scripts/export_kronos_onnx.py:forward\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-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-rust/finetune-sidecar/agent_models.py:forward, backend-rust/finetune-sidecar/agent_models.py:forward\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-33a6b62e30ce7ab4", "name": "Near-duplicate function bodies in 6 places", "shortDescription": {"text": "Near-duplicate function bodies in 6 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbackend-rust/finetune-sidecar/agent_models.py:encode_features, backend-rust/finetune-sidecar/agent_models.py:encode_features, backend-rust/finetune-sidecar/agent_models.py:encode_features, backend-rust/finetune-sidecar/agent_models.py:encode_features\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-27635d3a42a001c3", "name": "FastAPI POST `predict` without auth dependency \u2014 backend-rust/finetune-sidecar/kronos_server.py:94", "shortDescription": {"text": "FastAPI POST `predict` without auth dependency \u2014 backend-rust/finetune-sidecar/kronos_server.py:94"}, "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-398c2e9914847f67", "name": "FastAPI POST `finetune` without auth dependency \u2014 backend-rust/finetune-sidecar/kronos_server.py:178", "shortDescription": {"text": "FastAPI POST `finetune` without auth dependency \u2014 backend-rust/finetune-sidecar/kronos_server.py:178"}, "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-cf704f0631cbfe44", "name": "FastAPI POST `predict_agents` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:118", "shortDescription": {"text": "FastAPI POST `predict_agents` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:118"}, "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-0a09ac023c378cb0", "name": "FastAPI POST `log_trade` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:171", "shortDescription": {"text": "FastAPI POST `log_trade` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:171"}, "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-e94ebaeb12337c3f", "name": "FastAPI POST `trigger_training` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:207", "shortDescription": {"text": "FastAPI POST `trigger_training` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:207"}, "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-25d3af48cd83c9e6", "name": "Unused endpoint: POST /predict", "shortDescription": {"text": "Unused endpoint: POST /predict"}, "fullDescription": {"text": "`backend-rust/finetune-sidecar/kronos_server.py` declares `POST /predict` 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-b4066a0580515942", "name": "Unused endpoint: POST /finetune", "shortDescription": {"text": "Unused endpoint: POST /finetune"}, "fullDescription": {"text": "`backend-rust/finetune-sidecar/kronos_server.py` declares `POST /finetune` 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-b2c2cc5ee516d7e3", "name": "Unused endpoint: GET /agents/health", "shortDescription": {"text": "Unused endpoint: GET /agents/health"}, "fullDescription": {"text": "`backend-rust/finetune-sidecar/agent_server.py` declares `GET /agents/health` 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-b6d146a9857080ab", "name": "Unused endpoint: POST /predict/agents", "shortDescription": {"text": "Unused endpoint: POST /predict/agents"}, "fullDescription": {"text": "`backend-rust/finetune-sidecar/agent_server.py` declares `POST /predict/agents` 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-9e014a5654282c5a", "name": "Unused endpoint: POST /log/trade", "shortDescription": {"text": "Unused endpoint: POST /log/trade"}, "fullDescription": {"text": "`backend-rust/finetune-sidecar/agent_server.py` declares `POST /log/trade` 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-4b23721bf19f6dc2", "name": "Unused endpoint: POST /train", "shortDescription": {"text": "Unused endpoint: POST /train"}, "fullDescription": {"text": "`backend-rust/finetune-sidecar/agent_server.py` declares `POST /train` 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/18905"}, "properties": {"repository": "sanjaychowdappa/stock-market-ai", "repoUrl": "https://github.com/sanjaychowdappa/stock-market-ai", "branch": "main"}, "results": [{"ruleId": "scanner-d389c1d76ebec5c3", "level": "note", "message": {"text": "Possibly dead Python function: check"}, "properties": {"repobilityId": "2cfcb26f53ca36af", "scanner": "scanner-primary", "fingerprint": "d389c1d76ebec5c3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "launcher.py:260"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b52fcdd104f10cbc", "level": "note", "message": {"text": "Possibly dead Python function: stop"}, "properties": {"repobilityId": "ba22d90d343a0bd9", "scanner": "scanner-primary", "fingerprint": "b52fcdd104f10cbc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "launcher.py:321"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-cd5a8ac5cc1c4c41", "level": "note", "message": {"text": "Possibly dead Python function: stream"}, "properties": {"repobilityId": "cd6b0a7c292eb1e8", "scanner": "scanner-primary", "fingerprint": "cd5a8ac5cc1c4c41", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "launcher.py:367"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b53228615a726bb0", "level": "note", "message": {"text": "Possibly dead Python function: poll"}, "properties": {"repobilityId": "0fd155c9d1bcf517", "scanner": "scanner-primary", "fingerprint": "b53228615a726bb0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "launcher.py:413"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fb5b1b9ccdc7bc9c", "level": "note", "message": {"text": "Possibly dead Python function: fetch"}, "properties": {"repobilityId": "fb6a231a1c8f160c", "scanner": "scanner-primary", "fingerprint": "fb5b1b9ccdc7bc9c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "launcher.py:459"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-574aa3fd90ab97ab", "level": "note", "message": {"text": "Possibly dead Python function: forward"}, "properties": {"repobilityId": "ea414cce7f8e5874", "scanner": "scanner-primary", "fingerprint": "574aa3fd90ab97ab", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/scripts/export_kronos_onnx.py:60"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8e8ee2af11b2d8d6", "level": "note", "message": {"text": "Possibly dead Python function: forward"}, "properties": {"repobilityId": "ea414cce7f8e5874", "scanner": "scanner-primary", "fingerprint": "8e8ee2af11b2d8d6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/agent_models.py:208"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-60427b03771411b6", "level": "warning", "message": {"text": "Dockerfile runs as root: frontend/Dockerfile"}, "properties": {"repobilityId": "735c01d8531dfd2c", "scanner": "scanner-primary", "fingerprint": "60427b03771411b6", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-faa134129e5545ff", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine"}, "properties": {"repobilityId": "3e90d440e1f9ece1", "scanner": "scanner-primary", "fingerprint": "faa134129e5545ff", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "frontend/Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-83c38ebf884ae7b3", "level": "warning", "message": {"text": "Dockerfile runs as root: backend-rust/Dockerfile"}, "properties": {"repobilityId": "c65e55c1b5efa8cd", "scanner": "scanner-primary", "fingerprint": "83c38ebf884ae7b3", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-a33f849a2d7656db", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: rust:1.95-bookworm"}, "properties": {"repobilityId": "27ae78f23f772bdb", "scanner": "scanner-primary", "fingerprint": "a33f849a2d7656db", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/Dockerfile"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-b74af8e1bc91c649", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: debian:bookworm-slim"}, "properties": {"repobilityId": "6b4c0c290359cf77", "scanner": "scanner-primary", "fingerprint": "b74af8e1bc91c649", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/Dockerfile"}, "region": {"startLine": 20}}}]}, {"ruleId": "scanner-b23e30f4a1f30ba4", "level": "warning", "message": {"text": "Dockerfile runs as root: backend-rust/finetune-sidecar/Dockerfile"}, "properties": {"repobilityId": "2c1bc837c2a01aa4", "scanner": "scanner-primary", "fingerprint": "b23e30f4a1f30ba4", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-ad345d11d669891c", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: nvidia/cuda:12.8.1-runtime-ubuntu22.04"}, "properties": {"repobilityId": "d408580a6a7b6ac5", "scanner": "scanner-primary", "fingerprint": "ad345d11d669891c", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-aa5acaa49eb8315b", "level": "note", "message": {"text": "Containers defined but no K8s/orchestration manifest found"}, "properties": {"repobilityId": "b230ea9b68736081", "scanner": "scanner-primary", "fingerprint": "aa5acaa49eb8315b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["coverage", "deployment"]}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"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-633facff36fc0631", "level": "note", "message": {"text": "Very large file: backend-rust/src/services/paper_trader.rs (1474 lines)"}, "properties": {"repobilityId": "e174969c73aa63a8", "scanner": "scanner-primary", "fingerprint": "633facff36fc0631", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"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": "27f0bf9e258a9a0e", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-faccb9061e9b52a0", "level": "note", "message": {"text": "No README detected"}, "properties": {"repobilityId": "5cd6344b6a84135f", "scanner": "scanner-primary", "fingerprint": "faccb9061e9b52a0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["docs", "readme", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-0e8a76eb13fd3249", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: frontend/package.json"}, "properties": {"repobilityId": "d8c65da5b68ee95b", "scanner": "scanner-primary", "fingerprint": "0e8a76eb13fd3249", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "frontend/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "97863bd12e152f52", "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": "2c57edb263fc4fd8", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "6230a6f8bd1843b7", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "8ffc8d9e9151683a", "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": "2ca9318098471fc2", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-25ec6620425e295c", "level": "none", "message": {"text": "Commented-code block (5 lines) in frontend/src/index.js:5"}, "properties": {"repobilityId": "50e20562e77f9c41", "scanner": "scanner-primary", "fingerprint": "25ec6620425e295c", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-79036e3f0d4cea1b", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 backend-rust/finetune-sidecar/start_servers.py:21"}, "properties": {"repobilityId": "517ed6a0523f7f76", "scanner": "scanner-primary", "fingerprint": "79036e3f0d4cea1b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "50bc65716d7885ef", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "f3194263d3810990", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-33a6b62e30ce7ab4", "level": "note", "message": {"text": "Near-duplicate function bodies in 6 places"}, "properties": {"repobilityId": "ed08d2921fb7ac92", "scanner": "scanner-primary", "fingerprint": "33a6b62e30ce7ab4", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-27635d3a42a001c3", "level": "error", "message": {"text": "FastAPI POST `predict` without auth dependency \u2014 backend-rust/finetune-sidecar/kronos_server.py:94"}, "properties": {"repobilityId": "d84ec1f97b9d4f0c", "scanner": "scanner-primary", "fingerprint": "27635d3a42a001c3", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/kronos_server.py"}, "region": {"startLine": 94}}}]}, {"ruleId": "scanner-398c2e9914847f67", "level": "error", "message": {"text": "FastAPI POST `finetune` without auth dependency \u2014 backend-rust/finetune-sidecar/kronos_server.py:178"}, "properties": {"repobilityId": "84c62589756d0539", "scanner": "scanner-primary", "fingerprint": "398c2e9914847f67", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/kronos_server.py"}, "region": {"startLine": 178}}}]}, {"ruleId": "scanner-cf704f0631cbfe44", "level": "error", "message": {"text": "FastAPI POST `predict_agents` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:118"}, "properties": {"repobilityId": "193aa6099f730eca", "scanner": "scanner-primary", "fingerprint": "cf704f0631cbfe44", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/agent_server.py"}, "region": {"startLine": 118}}}]}, {"ruleId": "scanner-0a09ac023c378cb0", "level": "error", "message": {"text": "FastAPI POST `log_trade` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:171"}, "properties": {"repobilityId": "6712f64288aaacc9", "scanner": "scanner-primary", "fingerprint": "0a09ac023c378cb0", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/agent_server.py"}, "region": {"startLine": 171}}}]}, {"ruleId": "scanner-e94ebaeb12337c3f", "level": "error", "message": {"text": "FastAPI POST `trigger_training` without auth dependency \u2014 backend-rust/finetune-sidecar/agent_server.py:207"}, "properties": {"repobilityId": "b13140a3c0daeffb", "scanner": "scanner-primary", "fingerprint": "e94ebaeb12337c3f", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend-rust/finetune-sidecar/agent_server.py"}, "region": {"startLine": 207}}}]}, {"ruleId": "scanner-25d3af48cd83c9e6", "level": "note", "message": {"text": "Unused endpoint: POST /predict"}, "properties": {"repobilityId": "7ea49e5873ab41cb", "scanner": "scanner-primary", "fingerprint": "25d3af48cd83c9e6", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b4066a0580515942", "level": "note", "message": {"text": "Unused endpoint: POST /finetune"}, "properties": {"repobilityId": "ddf805232edb39a2", "scanner": "scanner-primary", "fingerprint": "b4066a0580515942", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b2c2cc5ee516d7e3", "level": "note", "message": {"text": "Unused endpoint: GET /agents/health"}, "properties": {"repobilityId": "428fde3f95bd4a4e", "scanner": "scanner-primary", "fingerprint": "b2c2cc5ee516d7e3", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b6d146a9857080ab", "level": "note", "message": {"text": "Unused endpoint: POST /predict/agents"}, "properties": {"repobilityId": "f4a0e202793f9c25", "scanner": "scanner-primary", "fingerprint": "b6d146a9857080ab", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-9e014a5654282c5a", "level": "note", "message": {"text": "Unused endpoint: POST /log/trade"}, "properties": {"repobilityId": "1b98dfd1e8a58f27", "scanner": "scanner-primary", "fingerprint": "9e014a5654282c5a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-4b23721bf19f6dc2", "level": "note", "message": {"text": "Unused endpoint: POST /train"}, "properties": {"repobilityId": "5279b85a7ed0fed2", "scanner": "scanner-primary", "fingerprint": "4b23721bf19f6dc2", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}