{"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-b806df71eadb565c", "name": "Possibly dead Python function: io_task", "shortDescription": {"text": "Possibly dead Python function: io_task"}, "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-7550b692bfce3756", "name": "Possibly dead Python function: cpu_task", "shortDescription": {"text": "Possibly dead Python function: cpu_task"}, "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-2df0d4933501da54", "name": "Possibly dead Python function: unsafe_worker", "shortDescription": {"text": "Possibly dead Python function: unsafe_worker"}, "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-e63de44b628e2cc8", "name": "Possibly dead Python function: safe_worker", "shortDescription": {"text": "Possibly dead Python function: safe_worker"}, "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-14a1b978a84305ac", "name": "Possibly dead Python function: delivery_report", "shortDescription": {"text": "Possibly dead Python function: delivery_report"}, "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-e8b180e1f4c72850", "name": "Possibly dead Python function: handle", "shortDescription": {"text": "Possibly dead Python function: handle"}, "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-15a2b739bd3ae441", "name": "Stray `console.log` in TS/JS \u2014 Day2/example-app/src/server.js:120", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 Day2/example-app/src/server.js:120"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-56c61d99d801263a", "name": "Dockerfile runs as root: exercise/jenkins_tutorial/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: exercise/jenkins_tutorial/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-26ae34c05b9d7eb9", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.8", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.8"}, "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-e9eee6293aa4b945", "name": "Dockerfile runs as root: exercise/jenkins_tutorial/custom_jenkins/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: exercise/jenkins_tutorial/custom_jenkins/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-83fe6b8f63b92f49", "name": "Docker base image is tag-pinned but not digest-pinned: jenkins/jenkins:lts", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: jenkins/jenkins:lts"}, "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-7e11306edb245095", "name": "Dockerfile runs as root: Day2/example-app/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: Day2/example-app/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-632e1f6acc66b06f", "name": "Docker base image is tag-pinned but not digest-pinned: node:22-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-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-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-c7337aa7f90d1307", "name": "Insecure pattern 'direct_innerhtml_assignment' in rag-app/static/app.js:92", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in rag-app/static/app.js:92"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-826386c32190a77f", "name": "Insecure pattern 'local_storage_auth_token' in rag-app/static/app.js:61", "shortDescription": {"text": "Insecure pattern 'local_storage_auth_token' in rag-app/static/app.js:61"}, "fullDescription": {"text": "Found a known-risky pattern (local_storage_auth_token). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-48cc71c728f3c98b", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/checkout@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "confidence": 1.0}}, {"id": "scanner-72ad2960ad143b84", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "9 tests / 54 src (ratio 0.17)."}, "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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 39 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-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-3675e7044938d842", "name": "Blocking `time.sleep(...)` inside `async def blocking_request` \u2014 Day4/examples/03_asyncio_gather.py:30", "shortDescription": {"text": "Blocking `time.sleep(...)` inside `async def blocking_request` \u2014 Day4/examples/03_asyncio_gather.py:30"}, "fullDescription": {"text": "Sync I/O inside an async function blocks the event loop. While `time.sleep(...)` is running, *all* other coroutines on this loop are paused \u2014 silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asyncio.to_thread(...)`."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "high", "confidence": 1.0}}, {"id": "scanner-64bb7dad8080e905", "name": "Network/subprocess call without timeout or try/except \u2014 exercise/jenkins_tutorial/client.py:23", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 exercise/jenkins_tutorial/client.py:23"}, "fullDescription": {"text": "`requests.post(...)` 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-e638ed23f356f609", "name": "`fetch()` without try/.catch or AbortSignal \u2014 Day2/example-app/public/app.js:10", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 Day2/example-app/public/app.js:10"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3482f7e5dd70cd1a", "name": "6 env vars used in code but missing from .env.example", "shortDescription": {"text": "6 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `BASE_URL`, `DATABASE_URL`, `GITHUB_PAGES`, `MODEL_PATH`, `PORT`, `RAG_BASE`. 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:\nrag-app/src/rag/chunk.py:chunk_text_with_spans, rag-app/src/rag/chunk.py:chunk_text\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-2c96ecfd91ebd27e", "name": "FastAPI POST `predict` without auth dependency \u2014 exercise/jenkins_tutorial/main.py:35", "shortDescription": {"text": "FastAPI POST `predict` without auth dependency \u2014 exercise/jenkins_tutorial/main.py:35"}, "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-304b6f2b403d93f7", "name": "Unused endpoint: POST /register", "shortDescription": {"text": "Unused endpoint: POST /register"}, "fullDescription": {"text": "`rag-app/src/auth/router.py` declares `POST /register` 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-618721b912bad1c2", "name": "Unused endpoint: POST /login", "shortDescription": {"text": "Unused endpoint: POST /login"}, "fullDescription": {"text": "`rag-app/src/auth/router.py` declares `POST /login` 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-99fc36db98c134ce", "name": "Unused endpoint: POST /logout", "shortDescription": {"text": "Unused endpoint: POST /logout"}, "fullDescription": {"text": "`rag-app/src/auth/router.py` declares `POST /logout` 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-fd1dc91abf32142d", "name": "Unused endpoint: GET /me", "shortDescription": {"text": "Unused endpoint: GET /me"}, "fullDescription": {"text": "`rag-app/src/auth/router.py` declares `GET /me` 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-cb0fa338781bc654", "name": "Unused endpoint: POST /{message_id}/feedback", "shortDescription": {"text": "Unused endpoint: POST /{message_id}/feedback"}, "fullDescription": {"text": "`rag-app/src/api/feedback_router.py` declares `POST /{message_id}/feedback` 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-7a009b1a56794f45", "name": "Unused endpoint: POST /", "shortDescription": {"text": "Unused endpoint: POST /"}, "fullDescription": {"text": "`rag-app/src/api/documents_router.py` declares `POST /` 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-d736ebc912946c9f", "name": "Unused endpoint: POST /file", "shortDescription": {"text": "Unused endpoint: POST /file"}, "fullDescription": {"text": "`rag-app/src/api/documents_router.py` declares `POST /file` 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-5baa8971ebe192a1", "name": "Unused endpoint: GET /", "shortDescription": {"text": "Unused endpoint: GET /"}, "fullDescription": {"text": "`rag-app/src/api/documents_router.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b2d9ebcfd4b9e397", "name": "Unused endpoint: DELETE /{document_id}", "shortDescription": {"text": "Unused endpoint: DELETE /{document_id}"}, "fullDescription": {"text": "`rag-app/src/api/documents_router.py` declares `DELETE /{document_id}` 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-32ada7c5d743aaef", "name": "Unused endpoint: GET /{conv_id}", "shortDescription": {"text": "Unused endpoint: GET /{conv_id}"}, "fullDescription": {"text": "`rag-app/src/chat/router.py` declares `GET /{conv_id}` 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-8f4e223c42a7ccdd", "name": "Unused endpoint: PATCH /{conv_id}", "shortDescription": {"text": "Unused endpoint: PATCH /{conv_id}"}, "fullDescription": {"text": "`rag-app/src/chat/router.py` declares `PATCH /{conv_id}` 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-543f7e0a9cb6a954", "name": "Unused endpoint: DELETE /{conv_id}", "shortDescription": {"text": "Unused endpoint: DELETE /{conv_id}"}, "fullDescription": {"text": "`rag-app/src/chat/router.py` declares `DELETE /{conv_id}` 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-5fed664df7618fbd", "name": "Unused endpoint: POST /{conv_id}/messages", "shortDescription": {"text": "Unused endpoint: POST /{conv_id}/messages"}, "fullDescription": {"text": "`rag-app/src/chat/router.py` declares `POST /{conv_id}/messages` 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-25d3af48cd83c9e6", "name": "Unused endpoint: POST /predict", "shortDescription": {"text": "Unused endpoint: POST /predict"}, "fullDescription": {"text": "`exercise/jenkins_tutorial/main.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-32ad19b4c239d621", "name": "Unused endpoint: GET /api/orders", "shortDescription": {"text": "Unused endpoint: GET /api/orders"}, "fullDescription": {"text": "`Day2/example-app/src/server.js` declares `GET /api/orders` 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-f1249fa282282c3c", "name": "Unused endpoint: POST /api/orders", "shortDescription": {"text": "Unused endpoint: POST /api/orders"}, "fullDescription": {"text": "`Day2/example-app/src/server.js` declares `POST /api/orders` 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-3b37265900e79a8a", "name": "Unused endpoint: GET /api/stats", "shortDescription": {"text": "Unused endpoint: GET /api/stats"}, "fullDescription": {"text": "`Day2/example-app/src/server.js` declares `GET /api/stats` 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/21801"}, "properties": {"repository": "tylerphamm/ml-data-engineering", "repoUrl": "https://github.com/tylerphamm/ml-data-engineering", "branch": "main"}, "results": [{"ruleId": "scanner-b806df71eadb565c", "level": "note", "message": {"text": "Possibly dead Python function: io_task"}, "properties": {"repobilityId": "89937eb03f6752ac", "scanner": "scanner-primary", "fingerprint": "b806df71eadb565c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/01_cpu_vs_io.py:21"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7550b692bfce3756", "level": "note", "message": {"text": "Possibly dead Python function: cpu_task"}, "properties": {"repobilityId": "7d380e01a4339712", "scanner": "scanner-primary", "fingerprint": "7550b692bfce3756", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/01_cpu_vs_io.py:27"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2df0d4933501da54", "level": "note", "message": {"text": "Possibly dead Python function: unsafe_worker"}, "properties": {"repobilityId": "a1e76eb8bcea0548", "scanner": "scanner-primary", "fingerprint": "2df0d4933501da54", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/02_race_condition.py:37"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e63de44b628e2cc8", "level": "note", "message": {"text": "Possibly dead Python function: safe_worker"}, "properties": {"repobilityId": "98ec6e0f112f2652", "scanner": "scanner-primary", "fingerprint": "e63de44b628e2cc8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/02_race_condition.py:43"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-14a1b978a84305ac", "level": "note", "message": {"text": "Possibly dead Python function: delivery_report"}, "properties": {"repobilityId": "08523977f20bf19c", "scanner": "scanner-primary", "fingerprint": "14a1b978a84305ac", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/kafka/producer.py:21"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e8b180e1f4c72850", "level": "note", "message": {"text": "Possibly dead Python function: handle"}, "properties": {"repobilityId": "fc5b886fd2624c94", "scanner": "scanner-primary", "fingerprint": "e8b180e1f4c72850", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/rabbitmq/consumer.py:21"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-15a2b739bd3ae441", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 Day2/example-app/src/server.js:120"}, "properties": {"repobilityId": "42f7348596c0dbe4", "scanner": "scanner-primary", "fingerprint": "15a2b739bd3ae441", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-56c61d99d801263a", "level": "warning", "message": {"text": "Dockerfile runs as root: exercise/jenkins_tutorial/Dockerfile"}, "properties": {"repobilityId": "79785e1ee98c4c9d", "scanner": "scanner-primary", "fingerprint": "56c61d99d801263a", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-26ae34c05b9d7eb9", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.8"}, "properties": {"repobilityId": "59c5ccd48eafa9da", "scanner": "scanner-primary", "fingerprint": "26ae34c05b9d7eb9", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "exercise/jenkins_tutorial/Dockerfile"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e9eee6293aa4b945", "level": "warning", "message": {"text": "Dockerfile runs as root: exercise/jenkins_tutorial/custom_jenkins/Dockerfile"}, "properties": {"repobilityId": "26fffe30be49da2c", "scanner": "scanner-primary", "fingerprint": "e9eee6293aa4b945", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-83fe6b8f63b92f49", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: jenkins/jenkins:lts"}, "properties": {"repobilityId": "432139da25e90bf9", "scanner": "scanner-primary", "fingerprint": "83fe6b8f63b92f49", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "exercise/jenkins_tutorial/custom_jenkins/Dockerfile"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-7e11306edb245095", "level": "warning", "message": {"text": "Dockerfile runs as root: Day2/example-app/Dockerfile"}, "properties": {"repobilityId": "547220bb1c9789b8", "scanner": "scanner-primary", "fingerprint": "7e11306edb245095", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-632e1f6acc66b06f", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-alpine"}, "properties": {"repobilityId": "b99019fe63300f56", "scanner": "scanner-primary", "fingerprint": "632e1f6acc66b06f", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day2/example-app/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-c7337aa7f90d1307", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in rag-app/static/app.js:92"}, "properties": {"repobilityId": "a6dcf76a4de8430d", "scanner": "scanner-primary", "fingerprint": "c7337aa7f90d1307", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "rag-app/static/app.js"}, "region": {"startLine": 92}}}]}, {"ruleId": "scanner-826386c32190a77f", "level": "warning", "message": {"text": "Insecure pattern 'local_storage_auth_token' in rag-app/static/app.js:61"}, "properties": {"repobilityId": "605b4a88fcc5d7ae", "scanner": "scanner-primary", "fingerprint": "826386c32190a77f", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "local_storage_auth_token"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "rag-app/static/app.js"}, "region": {"startLine": 61}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "4c8e1a8d2fd963f4", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 51}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "395a02bd2e72d109", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 54}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "4c8e1a8d2fd963f4", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 77}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "395a02bd2e72d109", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 80}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "61b4424651747992", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 152}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "d924d7f10617f600", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 155}}}]}, {"ruleId": "scanner-48cc71c728f3c98b", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "6474be28339d2da3", "scanner": "scanner-primary", "fingerprint": "48cc71c728f3c98b", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 161}}}]}, {"ruleId": "scanner-72ad2960ad143b84", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b48821fcf502aeb2", "scanner": "scanner-primary", "fingerprint": "72ad2960ad143b84", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/day1-pages.yml"}, "region": {"startLine": 1}}}]}, {"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": "3a44976923912a28", "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": "db28e983784c98a2", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "e344801fc61ba272", "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": "79d7d7a36fdd02d2", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-3675e7044938d842", "level": "error", "message": {"text": "Blocking `time.sleep(...)` inside `async def blocking_request` \u2014 Day4/examples/03_asyncio_gather.py:30"}, "properties": {"repobilityId": "c0c33c09abf26af8", "scanner": "scanner-primary", "fingerprint": "3675e7044938d842", "layer": "quality", "severity": "high", "confidence": 1.0, "tags": ["integrity", "sync-io-in-async", "performance"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Day4/examples/03_asyncio_gather.py"}, "region": {"startLine": 30}}}]}, {"ruleId": "scanner-64bb7dad8080e905", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 exercise/jenkins_tutorial/client.py:23"}, "properties": {"repobilityId": "e252f0a75f23248e", "scanner": "scanner-primary", "fingerprint": "64bb7dad8080e905", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-e638ed23f356f609", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 Day2/example-app/public/app.js:10"}, "properties": {"repobilityId": "7bb902b1515f5b60", "scanner": "scanner-primary", "fingerprint": "e638ed23f356f609", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-3482f7e5dd70cd1a", "level": "note", "message": {"text": "6 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "1da70f25aa46f6e9", "scanner": "scanner-primary", "fingerprint": "3482f7e5dd70cd1a", "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": "398c2fff6af70ed3", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c96ecfd91ebd27e", "level": "error", "message": {"text": "FastAPI POST `predict` without auth dependency \u2014 exercise/jenkins_tutorial/main.py:35"}, "properties": {"repobilityId": "efcb026d8e5139c2", "scanner": "scanner-primary", "fingerprint": "2c96ecfd91ebd27e", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "exercise/jenkins_tutorial/main.py"}, "region": {"startLine": 35}}}]}, {"ruleId": "scanner-304b6f2b403d93f7", "level": "note", "message": {"text": "Unused endpoint: POST /register"}, "properties": {"repobilityId": "aa54e3bdad9f3ff3", "scanner": "scanner-primary", "fingerprint": "304b6f2b403d93f7", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-618721b912bad1c2", "level": "note", "message": {"text": "Unused endpoint: POST /login"}, "properties": {"repobilityId": "2230efcad69402c9", "scanner": "scanner-primary", "fingerprint": "618721b912bad1c2", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-99fc36db98c134ce", "level": "note", "message": {"text": "Unused endpoint: POST /logout"}, "properties": {"repobilityId": "57ea96e26c6dec2c", "scanner": "scanner-primary", "fingerprint": "99fc36db98c134ce", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-fd1dc91abf32142d", "level": "note", "message": {"text": "Unused endpoint: GET /me"}, "properties": {"repobilityId": "00a2b44d5918a92b", "scanner": "scanner-primary", "fingerprint": "fd1dc91abf32142d", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cb0fa338781bc654", "level": "note", "message": {"text": "Unused endpoint: POST /{message_id}/feedback"}, "properties": {"repobilityId": "358a964d631ed58c", "scanner": "scanner-primary", "fingerprint": "cb0fa338781bc654", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-7a009b1a56794f45", "level": "note", "message": {"text": "Unused endpoint: POST /"}, "properties": {"repobilityId": "1139a4a589d56f14", "scanner": "scanner-primary", "fingerprint": "7a009b1a56794f45", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-d736ebc912946c9f", "level": "note", "message": {"text": "Unused endpoint: POST /file"}, "properties": {"repobilityId": "98528ff13ac53a44", "scanner": "scanner-primary", "fingerprint": "d736ebc912946c9f", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5baa8971ebe192a1", "level": "note", "message": {"text": "Unused endpoint: GET /"}, "properties": {"repobilityId": "dfec00bffee334a3", "scanner": "scanner-primary", "fingerprint": "5baa8971ebe192a1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b2d9ebcfd4b9e397", "level": "note", "message": {"text": "Unused endpoint: DELETE /{document_id}"}, "properties": {"repobilityId": "c273ad9c1677f35c", "scanner": "scanner-primary", "fingerprint": "b2d9ebcfd4b9e397", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-32ada7c5d743aaef", "level": "note", "message": {"text": "Unused endpoint: GET /{conv_id}"}, "properties": {"repobilityId": "07dd6204b4935df7", "scanner": "scanner-primary", "fingerprint": "32ada7c5d743aaef", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-8f4e223c42a7ccdd", "level": "note", "message": {"text": "Unused endpoint: PATCH /{conv_id}"}, "properties": {"repobilityId": "49dff28eca75e8b4", "scanner": "scanner-primary", "fingerprint": "8f4e223c42a7ccdd", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-543f7e0a9cb6a954", "level": "note", "message": {"text": "Unused endpoint: DELETE /{conv_id}"}, "properties": {"repobilityId": "d87d05f88264b1b1", "scanner": "scanner-primary", "fingerprint": "543f7e0a9cb6a954", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5fed664df7618fbd", "level": "note", "message": {"text": "Unused endpoint: POST /{conv_id}/messages"}, "properties": {"repobilityId": "bf6cbd0378879116", "scanner": "scanner-primary", "fingerprint": "5fed664df7618fbd", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-25d3af48cd83c9e6", "level": "note", "message": {"text": "Unused endpoint: POST /predict"}, "properties": {"repobilityId": "01fc44157b5422e9", "scanner": "scanner-primary", "fingerprint": "25d3af48cd83c9e6", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-32ad19b4c239d621", "level": "note", "message": {"text": "Unused endpoint: GET /api/orders"}, "properties": {"repobilityId": "f4baae66937ff926", "scanner": "scanner-primary", "fingerprint": "32ad19b4c239d621", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-f1249fa282282c3c", "level": "note", "message": {"text": "Unused endpoint: POST /api/orders"}, "properties": {"repobilityId": "8b8ac4bdc4ab76d8", "scanner": "scanner-primary", "fingerprint": "f1249fa282282c3c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-3b37265900e79a8a", "level": "note", "message": {"text": "Unused endpoint: GET /api/stats"}, "properties": {"repobilityId": "1e42ec655927f5da", "scanner": "scanner-primary", "fingerprint": "3b37265900e79a8a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}