{"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-8857a37de3cd8ca9", "name": "Possibly dead Python function: active_learning_update", "shortDescription": {"text": "Possibly dead Python function: active_learning_update"}, "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-757793bfe85d5636", "name": "Possibly dead Python function: flatten_tables", "shortDescription": {"text": "Possibly dead Python function: flatten_tables"}, "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-c1ccf92ffe5eca8a", "name": "Possibly dead Python function: merge_rayyan_export_folders", "shortDescription": {"text": "Possibly dead Python function: merge_rayyan_export_folders"}, "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-ef0b7fe705cccbde", "name": "Possibly dead Python function: plot_results", "shortDescription": {"text": "Possibly dead Python function: plot_results"}, "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-09b0fac4367164db", "name": "Possibly dead Python function: build_index", "shortDescription": {"text": "Possibly dead Python function: build_index"}, "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-977a01944c9d4cf9", "name": "`truncate` class without `title=` for hover reveal \u2014 apps/web/App.tsx:566", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 apps/web/App.tsx:566"}, "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-ff99d96e4379aa94", "name": "Stray `console.log` in TS/JS \u2014 apps/web/App.tsx:225", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 apps/web/App.tsx:225"}, "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-bb0c7f1f7017b106", "name": "Stray `console.log` in TS/JS \u2014 apps/web/components/PaperUploader.tsx:32", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 apps/web/components/PaperUploader.tsx:32"}, "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-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-8c1e6be5861e2174", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.10-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.10-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-bfacf6af06635191", "name": "Docker base image uses a mutable or implicit tag: transformers", "shortDescription": {"text": "Docker base image uses a mutable or implicit tag: transformers"}, "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": "medium", "confidence": 1.0}}, {"id": "scanner-7673561931a5dd33", "name": "Dockerfile runs as root: apps/web/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: apps/web/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-74e2e2316f173b7a", "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-8c41520c06c8dc41", "name": "Docker base image is tag-pinned but not digest-pinned: nginx:1.25-alpine", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: nginx:1.25-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-96cafda9198f229d", "name": "Insecure pattern 'cors_wildcard' in apps/api/main.py:13", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in apps/api/main.py:13"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-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-8a9b30b51097f207", "name": "Very large file: apps/web/App.tsx (816 lines)", "shortDescription": {"text": "Very large file: apps/web/App.tsx (816 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": "0 test file(s) for 41 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 196 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 24 placeholder/mock markers across 4 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-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-60a7c5ecbeb0ccbf", "name": "Commented-code block (5 lines) in sr_core/ingest/rayyan_parser.py:17", "shortDescription": {"text": "Commented-code block (5 lines) in sr_core/ingest/rayyan_parser.py:17"}, "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-05f8f82cc9e330e1", "name": "Commented-code block (5 lines) in sr_core/screening_model/baseline.py:99", "shortDescription": {"text": "Commented-code block (5 lines) in sr_core/screening_model/baseline.py:99"}, "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-0b4decf974bc7b89", "name": "Commented-code block (5 lines) in sr_core/screening_model/transformer_screen.py:82", "shortDescription": {"text": "Commented-code block (5 lines) in sr_core/screening_model/transformer_screen.py:82"}, "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-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:\nexperiments/baselines/compare_models.py:load_data, experiments/baselines/evaluate_heuristic.py:load_data, experiments/baselines/evaluate_baseline.py:load_data\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:\nexperiments/baselines/train_ensemble_cpu.py:load_dataset, experiments/baselines/finetune_pubmedbert_cpu.py:load_dataset\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-601ecbb7cbac9b44", "name": "FastAPI POST `submit_review_action` without auth dependency \u2014 apps/api/routers/screening.py:91", "shortDescription": {"text": "FastAPI POST `submit_review_action` without auth dependency \u2014 apps/api/routers/screening.py:91"}, "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-897604aee2c4412c", "name": "FastAPI POST `predict_screening` without auth dependency \u2014 apps/api/routers/screening.py:123", "shortDescription": {"text": "FastAPI POST `predict_screening` without auth dependency \u2014 apps/api/routers/screening.py:123"}, "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-f26aa72b3de32984", "name": "FastAPI POST `trigger_retrain` without auth dependency \u2014 apps/api/routers/screening.py:164", "shortDescription": {"text": "FastAPI POST `trigger_retrain` without auth dependency \u2014 apps/api/routers/screening.py:164"}, "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-66750023296af2e6", "name": "FastAPI POST `extract_data` without auth dependency \u2014 apps/api/routers/screening.py:173", "shortDescription": {"text": "FastAPI POST `extract_data` without auth dependency \u2014 apps/api/routers/screening.py:173"}, "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-cdba1c41cd5eda6b", "name": "FastAPI POST `parse_pdf_file` without auth dependency \u2014 apps/api/routers/screening.py:221", "shortDescription": {"text": "FastAPI POST `parse_pdf_file` without auth dependency \u2014 apps/api/routers/screening.py:221"}, "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-7121adf1fab13f8e", "name": "FastAPI DELETE `delete_paper` without auth dependency \u2014 apps/api/routers/screening.py:266", "shortDescription": {"text": "FastAPI DELETE `delete_paper` without auth dependency \u2014 apps/api/routers/screening.py:266"}, "fullDescription": {"text": "`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-a67a65d0150d9e45", "name": "FastAPI POST `upload_files` without auth dependency \u2014 apps/api/routers/upload.py:19", "shortDescription": {"text": "FastAPI POST `upload_files` without auth dependency \u2014 apps/api/routers/upload.py:19"}, "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-0e178e31076904fb", "name": "FastAPI POST `persist_extraction` without auth dependency \u2014 apps/api/routers/review.py:65", "shortDescription": {"text": "FastAPI POST `persist_extraction` without auth dependency \u2014 apps/api/routers/review.py:65"}, "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-e173fbdc3d8b279f", "name": "FastAPI PATCH `submit_correction` without auth dependency \u2014 apps/api/routers/review.py:192", "shortDescription": {"text": "FastAPI PATCH `submit_correction` without auth dependency \u2014 apps/api/routers/review.py:192"}, "fullDescription": {"text": "`@router.patch` 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-154e703636369106", "name": "FastAPI POST `accept_extraction` without auth dependency \u2014 apps/api/routers/review.py:213", "shortDescription": {"text": "FastAPI POST `accept_extraction` without auth dependency \u2014 apps/api/routers/review.py:213"}, "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-ecf270749220e814", "name": "FastAPI POST `reject_extraction` without auth dependency \u2014 apps/api/routers/review.py:233", "shortDescription": {"text": "FastAPI POST `reject_extraction` without auth dependency \u2014 apps/api/routers/review.py:233"}, "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-4e19992c966be14b", "name": "Dangling fetch: GET /sample_project.json (apps/web/App.tsx:315)", "shortDescription": {"text": "Dangling fetch: GET /sample_project.json (apps/web/App.tsx:315)"}, "fullDescription": {"text": "`apps/web/App.tsx:315` calls `GET /sample_project.json` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/sample_project.json`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-f0f53e0299e8daee", "name": "Dangling fetch: POST http://localhost:8000/screening/parse_pdf (apps/web/components/PaperUploader.tsx:33)", "shortDescription": {"text": "Dangling fetch: POST http://localhost:8000/screening/parse_pdf (apps/web/components/PaperUploader.tsx:33)"}, "fullDescription": {"text": "`apps/web/components/PaperUploader.tsx:33` calls `POST http://localhost:8000/screening/parse_pdf` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/http:/localhost:8000/screening/parse_pdf`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-5baa8971ebe192a1", "name": "Unused endpoint: GET /", "shortDescription": {"text": "Unused endpoint: GET /"}, "fullDescription": {"text": "`apps/api/main.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-c4bfc54d7b46d6ce", "name": "Unused endpoint: POST /{paper_id}/action", "shortDescription": {"text": "Unused endpoint: POST /{paper_id}/action"}, "fullDescription": {"text": "`apps/api/routers/screening.py` declares `POST /{paper_id}/action` 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": "`apps/api/routers/screening.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-a1214d3217233590", "name": "Unused endpoint: POST /retrain", "shortDescription": {"text": "Unused endpoint: POST /retrain"}, "fullDescription": {"text": "`apps/api/routers/screening.py` declares `POST /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-af4de720f651079e", "name": "Unused endpoint: POST /extract", "shortDescription": {"text": "Unused endpoint: POST /extract"}, "fullDescription": {"text": "`apps/api/routers/screening.py` declares `POST /extract` 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-cd7791a5a374da6c", "name": "Unused endpoint: POST /parse_pdf", "shortDescription": {"text": "Unused endpoint: POST /parse_pdf"}, "fullDescription": {"text": "`apps/api/routers/screening.py` declares `POST /parse_pdf` 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-91941e41734a4fb4", "name": "Unused endpoint: DELETE /{paper_id}", "shortDescription": {"text": "Unused endpoint: DELETE /{paper_id}"}, "fullDescription": {"text": "`apps/api/routers/screening.py` declares `DELETE /{paper_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-7a009b1a56794f45", "name": "Unused endpoint: POST /", "shortDescription": {"text": "Unused endpoint: POST /"}, "fullDescription": {"text": "`apps/api/routers/upload.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-f0dc224539aa2fb4", "name": "Unused endpoint: POST /extractions/persist", "shortDescription": {"text": "Unused endpoint: POST /extractions/persist"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `POST /extractions/persist` 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-28e95083fb1ba7db", "name": "Unused endpoint: GET /extractions", "shortDescription": {"text": "Unused endpoint: GET /extractions"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `GET /extractions` 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-2052126e90d31faf", "name": "Unused endpoint: GET /extractions/{extraction_id}", "shortDescription": {"text": "Unused endpoint: GET /extractions/{extraction_id}"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `GET /extractions/{extraction_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-b31fd54d4774ee1a", "name": "Unused endpoint: PATCH /extractions/{extraction_id}", "shortDescription": {"text": "Unused endpoint: PATCH /extractions/{extraction_id}"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `PATCH /extractions/{extraction_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-0ddb5ab8f9709ecf", "name": "Unused endpoint: POST /extractions/{extraction_id}/accept", "shortDescription": {"text": "Unused endpoint: POST /extractions/{extraction_id}/accept"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `POST /extractions/{extraction_id}/accept` 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-2c6011857f8d73f1", "name": "Unused endpoint: POST /extractions/{extraction_id}/reject", "shortDescription": {"text": "Unused endpoint: POST /extractions/{extraction_id}/reject"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `POST /extractions/{extraction_id}/reject` 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-2c92dfeb7d445cda", "name": "Unused endpoint: GET /queue", "shortDescription": {"text": "Unused endpoint: GET /queue"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `GET /queue` 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-cd8dc4599ec52a08", "name": "Unused endpoint: GET /stats", "shortDescription": {"text": "Unused endpoint: GET /stats"}, "fullDescription": {"text": "`apps/api/routers/review.py` declares `GET /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/21043"}, "properties": {"repository": "thanhuy8888/-n_Systematic-Review-AI", "repoUrl": "https://github.com/thanhuy8888/-n_Systematic-Review-AI", "branch": "main"}, "results": [{"ruleId": "scanner-8857a37de3cd8ca9", "level": "note", "message": {"text": "Possibly dead Python function: active_learning_update"}, "properties": {"repobilityId": "010c6eb20b4d6ded", "scanner": "scanner-primary", "fingerprint": "8857a37de3cd8ca9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py:159"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-757793bfe85d5636", "level": "note", "message": {"text": "Possibly dead Python function: flatten_tables"}, "properties": {"repobilityId": "6471dfe61fd570ec", "scanner": "scanner-primary", "fingerprint": "757793bfe85d5636", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sr_core/ingest/parser.py:154"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c1ccf92ffe5eca8a", "level": "note", "message": {"text": "Possibly dead Python function: merge_rayyan_export_folders"}, "properties": {"repobilityId": "e6cf40bd11e3813d", "scanner": "scanner-primary", "fingerprint": "c1ccf92ffe5eca8a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sr_core/ingest/rayyan_parser.py:37"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ef0b7fe705cccbde", "level": "note", "message": {"text": "Possibly dead Python function: plot_results"}, "properties": {"repobilityId": "ca14fd0bc9189e9e", "scanner": "scanner-primary", "fingerprint": "ef0b7fe705cccbde", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sr_core/screening_model/baseline.py:110"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-09b0fac4367164db", "level": "note", "message": {"text": "Possibly dead Python function: build_index"}, "properties": {"repobilityId": "b21250a9b69ad8f1", "scanner": "scanner-primary", "fingerprint": "09b0fac4367164db", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "sr_core/screening_model/bm25.py:21"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-977a01944c9d4cf9", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 apps/web/App.tsx:566"}, "properties": {"repobilityId": "c28734f0f2ccf534", "scanner": "scanner-primary", "fingerprint": "977a01944c9d4cf9", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-ff99d96e4379aa94", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 apps/web/App.tsx:225"}, "properties": {"repobilityId": "39549f963f1b4ff0", "scanner": "scanner-primary", "fingerprint": "ff99d96e4379aa94", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-bb0c7f1f7017b106", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 apps/web/components/PaperUploader.tsx:32"}, "properties": {"repobilityId": "29a16f8964ee3a80", "scanner": "scanner-primary", "fingerprint": "bb0c7f1f7017b106", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-8c1e6be5861e2174", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.10-slim"}, "properties": {"repobilityId": "831b08f0e18afeac", "scanner": "scanner-primary", "fingerprint": "8c1e6be5861e2174", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 3}}}]}, {"ruleId": "scanner-bfacf6af06635191", "level": "warning", "message": {"text": "Docker base image uses a mutable or implicit tag: transformers"}, "properties": {"repobilityId": "198d38285c34b5e3", "scanner": "scanner-primary", "fingerprint": "bfacf6af06635191", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 23}}}]}, {"ruleId": "scanner-7673561931a5dd33", "level": "warning", "message": {"text": "Dockerfile runs as root: apps/web/Dockerfile"}, "properties": {"repobilityId": "d68d7937b96d047d", "scanner": "scanner-primary", "fingerprint": "7673561931a5dd33", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-74e2e2316f173b7a", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:20-alpine"}, "properties": {"repobilityId": "1858da8699582c01", "scanner": "scanner-primary", "fingerprint": "74e2e2316f173b7a", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/web/Dockerfile"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-8c41520c06c8dc41", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: nginx:1.25-alpine"}, "properties": {"repobilityId": "f484ad2cd6ebda5d", "scanner": "scanner-primary", "fingerprint": "8c41520c06c8dc41", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/web/Dockerfile"}, "region": {"startLine": 14}}}]}, {"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-96cafda9198f229d", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in apps/api/main.py:13"}, "properties": {"repobilityId": "d1dd9c5e1f84b6e0", "scanner": "scanner-primary", "fingerprint": "96cafda9198f229d", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/main.py"}, "region": {"startLine": 13}}}]}, {"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-8a9b30b51097f207", "level": "note", "message": {"text": "Very large file: apps/web/App.tsx (816 lines)"}, "properties": {"repobilityId": "f509b1337033bff3", "scanner": "scanner-primary", "fingerprint": "8a9b30b51097f207", "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": "c47d52607a30f808", "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": "1c66d39795b2df3d", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "4f8de874b0f156b1", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "f66f8129178d54ef", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "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": "46b496b47c4b3890", "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": "8b42c5dd86626389", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-60a7c5ecbeb0ccbf", "level": "none", "message": {"text": "Commented-code block (5 lines) in sr_core/ingest/rayyan_parser.py:17"}, "properties": {"repobilityId": "8049bca157e6844a", "scanner": "scanner-primary", "fingerprint": "60a7c5ecbeb0ccbf", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-05f8f82cc9e330e1", "level": "none", "message": {"text": "Commented-code block (5 lines) in sr_core/screening_model/baseline.py:99"}, "properties": {"repobilityId": "2a7c807ad3d11bc1", "scanner": "scanner-primary", "fingerprint": "05f8f82cc9e330e1", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-0b4decf974bc7b89", "level": "none", "message": {"text": "Commented-code block (5 lines) in sr_core/screening_model/transformer_screen.py:82"}, "properties": {"repobilityId": "e497ed5423a5a2de", "scanner": "scanner-primary", "fingerprint": "0b4decf974bc7b89", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "8379745f5f01cc50", "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": "79a9a564cf59e142", "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": "10bc30e67751c54f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "20ca12351c1a7722", "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": "79857f4ad2160382", "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": "462dd17486ab1a1f", "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": "e95baa22d3a8ddb3", "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": "3217e57cbe46817b", "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": "442d7d23662dcada", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "63b97feff568cc2e", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-601ecbb7cbac9b44", "level": "error", "message": {"text": "FastAPI POST `submit_review_action` without auth dependency \u2014 apps/api/routers/screening.py:91"}, "properties": {"repobilityId": "548027d0dc92c22a", "scanner": "scanner-primary", "fingerprint": "601ecbb7cbac9b44", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py"}, "region": {"startLine": 91}}}]}, {"ruleId": "scanner-897604aee2c4412c", "level": "error", "message": {"text": "FastAPI POST `predict_screening` without auth dependency \u2014 apps/api/routers/screening.py:123"}, "properties": {"repobilityId": "c46f2064d964d328", "scanner": "scanner-primary", "fingerprint": "897604aee2c4412c", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py"}, "region": {"startLine": 123}}}]}, {"ruleId": "scanner-f26aa72b3de32984", "level": "error", "message": {"text": "FastAPI POST `trigger_retrain` without auth dependency \u2014 apps/api/routers/screening.py:164"}, "properties": {"repobilityId": "0ce0328baa666115", "scanner": "scanner-primary", "fingerprint": "f26aa72b3de32984", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py"}, "region": {"startLine": 164}}}]}, {"ruleId": "scanner-66750023296af2e6", "level": "error", "message": {"text": "FastAPI POST `extract_data` without auth dependency \u2014 apps/api/routers/screening.py:173"}, "properties": {"repobilityId": "8d848d82a8f7e26f", "scanner": "scanner-primary", "fingerprint": "66750023296af2e6", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py"}, "region": {"startLine": 173}}}]}, {"ruleId": "scanner-cdba1c41cd5eda6b", "level": "error", "message": {"text": "FastAPI POST `parse_pdf_file` without auth dependency \u2014 apps/api/routers/screening.py:221"}, "properties": {"repobilityId": "11cf96888df70d45", "scanner": "scanner-primary", "fingerprint": "cdba1c41cd5eda6b", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py"}, "region": {"startLine": 221}}}]}, {"ruleId": "scanner-7121adf1fab13f8e", "level": "error", "message": {"text": "FastAPI DELETE `delete_paper` without auth dependency \u2014 apps/api/routers/screening.py:266"}, "properties": {"repobilityId": "0d566620d100bee5", "scanner": "scanner-primary", "fingerprint": "7121adf1fab13f8e", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/screening.py"}, "region": {"startLine": 266}}}]}, {"ruleId": "scanner-a67a65d0150d9e45", "level": "error", "message": {"text": "FastAPI POST `upload_files` without auth dependency \u2014 apps/api/routers/upload.py:19"}, "properties": {"repobilityId": "c2ca8f9766fc3309", "scanner": "scanner-primary", "fingerprint": "a67a65d0150d9e45", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/upload.py"}, "region": {"startLine": 19}}}]}, {"ruleId": "scanner-0e178e31076904fb", "level": "error", "message": {"text": "FastAPI POST `persist_extraction` without auth dependency \u2014 apps/api/routers/review.py:65"}, "properties": {"repobilityId": "8da41702adb072be", "scanner": "scanner-primary", "fingerprint": "0e178e31076904fb", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/review.py"}, "region": {"startLine": 65}}}]}, {"ruleId": "scanner-e173fbdc3d8b279f", "level": "error", "message": {"text": "FastAPI PATCH `submit_correction` without auth dependency \u2014 apps/api/routers/review.py:192"}, "properties": {"repobilityId": "dfd5fec53c1607e6", "scanner": "scanner-primary", "fingerprint": "e173fbdc3d8b279f", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/review.py"}, "region": {"startLine": 192}}}]}, {"ruleId": "scanner-154e703636369106", "level": "error", "message": {"text": "FastAPI POST `accept_extraction` without auth dependency \u2014 apps/api/routers/review.py:213"}, "properties": {"repobilityId": "3190887ab8be3222", "scanner": "scanner-primary", "fingerprint": "154e703636369106", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/review.py"}, "region": {"startLine": 213}}}]}, {"ruleId": "scanner-ecf270749220e814", "level": "error", "message": {"text": "FastAPI POST `reject_extraction` without auth dependency \u2014 apps/api/routers/review.py:233"}, "properties": {"repobilityId": "fc6fa8ce092fa630", "scanner": "scanner-primary", "fingerprint": "ecf270749220e814", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "apps/api/routers/review.py"}, "region": {"startLine": 233}}}]}, {"ruleId": "scanner-4e19992c966be14b", "level": "error", "message": {"text": "Dangling fetch: GET /sample_project.json (apps/web/App.tsx:315)"}, "properties": {"repobilityId": "edf800436ef78e42", "scanner": "scanner-primary", "fingerprint": "4e19992c966be14b", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-f0f53e0299e8daee", "level": "error", "message": {"text": "Dangling fetch: POST http://localhost:8000/screening/parse_pdf (apps/web/components/PaperUploader.tsx:33)"}, "properties": {"repobilityId": "aae4789bc863f5e1", "scanner": "scanner-primary", "fingerprint": "f0f53e0299e8daee", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-5baa8971ebe192a1", "level": "note", "message": {"text": "Unused endpoint: GET /"}, "properties": {"repobilityId": "566792cad650fd91", "scanner": "scanner-primary", "fingerprint": "5baa8971ebe192a1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-c4bfc54d7b46d6ce", "level": "note", "message": {"text": "Unused endpoint: POST /{paper_id}/action"}, "properties": {"repobilityId": "da0ae9eb88baed58", "scanner": "scanner-primary", "fingerprint": "c4bfc54d7b46d6ce", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-25d3af48cd83c9e6", "level": "note", "message": {"text": "Unused endpoint: POST /predict"}, "properties": {"repobilityId": "bb707617d78aa63d", "scanner": "scanner-primary", "fingerprint": "25d3af48cd83c9e6", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-a1214d3217233590", "level": "note", "message": {"text": "Unused endpoint: POST /retrain"}, "properties": {"repobilityId": "19d6cd9e9234e21c", "scanner": "scanner-primary", "fingerprint": "a1214d3217233590", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-af4de720f651079e", "level": "note", "message": {"text": "Unused endpoint: POST /extract"}, "properties": {"repobilityId": "b8d6cc6260c94ad3", "scanner": "scanner-primary", "fingerprint": "af4de720f651079e", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cd7791a5a374da6c", "level": "note", "message": {"text": "Unused endpoint: POST /parse_pdf"}, "properties": {"repobilityId": "7f179208c87988ee", "scanner": "scanner-primary", "fingerprint": "cd7791a5a374da6c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-91941e41734a4fb4", "level": "note", "message": {"text": "Unused endpoint: DELETE /{paper_id}"}, "properties": {"repobilityId": "d6a122187af7913e", "scanner": "scanner-primary", "fingerprint": "91941e41734a4fb4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-7a009b1a56794f45", "level": "note", "message": {"text": "Unused endpoint: POST /"}, "properties": {"repobilityId": "c41d8c7498bcf235", "scanner": "scanner-primary", "fingerprint": "7a009b1a56794f45", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-f0dc224539aa2fb4", "level": "note", "message": {"text": "Unused endpoint: POST /extractions/persist"}, "properties": {"repobilityId": "1da8719af630bd5b", "scanner": "scanner-primary", "fingerprint": "f0dc224539aa2fb4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-28e95083fb1ba7db", "level": "note", "message": {"text": "Unused endpoint: GET /extractions"}, "properties": {"repobilityId": "304d8a2c23123bbe", "scanner": "scanner-primary", "fingerprint": "28e95083fb1ba7db", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2052126e90d31faf", "level": "note", "message": {"text": "Unused endpoint: GET /extractions/{extraction_id}"}, "properties": {"repobilityId": "4319bd86b2bb5826", "scanner": "scanner-primary", "fingerprint": "2052126e90d31faf", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-b31fd54d4774ee1a", "level": "note", "message": {"text": "Unused endpoint: PATCH /extractions/{extraction_id}"}, "properties": {"repobilityId": "240e461952b5fd1c", "scanner": "scanner-primary", "fingerprint": "b31fd54d4774ee1a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-0ddb5ab8f9709ecf", "level": "note", "message": {"text": "Unused endpoint: POST /extractions/{extraction_id}/accept"}, "properties": {"repobilityId": "79915fffc3bb5d8c", "scanner": "scanner-primary", "fingerprint": "0ddb5ab8f9709ecf", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2c6011857f8d73f1", "level": "note", "message": {"text": "Unused endpoint: POST /extractions/{extraction_id}/reject"}, "properties": {"repobilityId": "1c6522b222b226af", "scanner": "scanner-primary", "fingerprint": "2c6011857f8d73f1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2c92dfeb7d445cda", "level": "note", "message": {"text": "Unused endpoint: GET /queue"}, "properties": {"repobilityId": "fef2294d684ba428", "scanner": "scanner-primary", "fingerprint": "2c92dfeb7d445cda", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cd8dc4599ec52a08", "level": "note", "message": {"text": "Unused endpoint: GET /stats"}, "properties": {"repobilityId": "dc9774f53318f622", "scanner": "scanner-primary", "fingerprint": "cd8dc4599ec52a08", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}