Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

yousef-hamda/medflow-healthcare-platform

https://github.com/yousef-hamda/medflow-healthcare-platform · scanned 2026-06-16 01:08 UTC (2 months, 1 week ago)

202 raw signals (23 security + 179 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 122 actionable findings from 2 signal sources. 118 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 58.4/100 with 100.0% coverage. It contains 2555 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 179 findings — concentrated in quality (47), api (43), cicd (31). Risk profile is high: 0 critical, 7 high, 38 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 116 of 122 actionable findings. 240 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Security checks quality Practices conf 0.82 3 occurrences Foundry mined mock as real or placeholder: yousef-hamda/medflow-healthcare-platform
Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real Query id: mock_as_real_or_placeholder Query type: motif_query Intent: Hard negatives for fake completeness and missing real data paths. Motif: mock_as_real_or_placeholder Training usage: hard_negative Graph gol…
3 occurrences
repo-level (3 hits)
critical Security checks security auth conf 0.78 18 occurrences Foundry mined security auth guardrail gaps: yousef-hamda/medflow-healthcare-platform
Graph query export: Security/auth changes without enough guardrails Query id: security_auth_guardrail_gaps Query type: motif_query Intent: Assumption-check security/auth examples requiring stronger tests or CI. Motif: security_auth_without_guardrails Training usage: assumption_check Graph gold labe…
18 occurrences
repo-level (18 hits)
high Security checks quality Practices conf 0.84 14 occurrences Foundry mined bad chains: yousef-hamda/medflow-healthcare-platform
Comment chain pattern product: bad_chains Repo: yousef-hamda/medflow-healthcare-platform Thread: yousef-hamda/medflow-healthcare-platform#8 Outcome: not_resolved_or_not_observed Thread label: thread_has_human_issue_without_fix_context Source graph label: source_backed_multi_signal_graph Reasons: so…
14 occurrences
repo-level (14 hits)
high Security checks quality Testing conf 0.78 2 occurrences Foundry mined test ci gap after feedback: yousef-hamda/medflow-healthcare-platform
Graph query export: Feedback exposes missing tests or CI Query id: test_ci_gap_after_feedback Query type: motif_query Intent: Hard negatives for feedback/fix chains without adequate guardrails. Motif: test_ci_gap_after_feedback Training usage: hard_negative Graph gold label: weak_supervision_needs_…
2 occurrences
repo-level (2 hits)
high System graph security auth conf 1.00 FastAPI POST `deid_fhir` without auth dependency — apps/deid-service/src/medflow_deid/api.py:63
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/deid-service/src/medflow_deid/api.py:63 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `deid_text` without auth dependency — apps/deid-service/src/medflow_deid/api.py:47
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/deid-service/src/medflow_deid/api.py:47 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `ingest_vitals` without auth dependency — apps/wearables-ingester/src/medflow_wearables/api.py:21
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/wearables-ingester/src/medflow_wearables/api.py:21 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `nlp_notes` without auth dependency — apps/ml-serving/src/medflow_serving/api/routes.py:192
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/ml-serving/src/medflow_serving/api/routes.py:192 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `predict_chest_xray` without auth dependency — apps/ml-serving/src/medflow_serving/api/routes.py:152
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/ml-serving/src/medflow_serving/api/routes.py:152 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `predict_readmission` without auth dependency — apps/ml-serving/src/medflow_serving/api/routes.py:114
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/ml-serving/src/medflow_serving/api/routes.py:114 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `predict_sepsis` without auth dependency — apps/ml-serving/src/medflow_serving/api/routes.py:78
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/ml-serving/src/medflow_serving/api/routes.py:78 securityAuth fastapi unauth mutation
medium Security checks quality Practices conf 0.62 4 occurrences Foundry mined assumption checks: yousef-hamda/medflow-healthcare-platform
Comment chain pattern product: assumption_checks Repo: yousef-hamda/medflow-healthcare-platform Thread: yousef-hamda/medflow-healthcare-platform#9 Outcome: claimed_resolved_unverified Thread label: thread_has_human_issue_and_fix_context Source graph label: source_backed_multi_signal_graph Reasons: …
4 occurrences
repo-level (4 hits)
medium Security checks quality Practices conf 0.70 20 occurrences Foundry mined unresolved feedback: yousef-hamda/medflow-healthcare-platform
Graph query export: Human feedback without linked fix evidence Query id: unresolved_feedback Query type: motif_query Intent: Negative/unresolved examples that should not be hallucinated into fixes. Motif: unlinked_feedback_needs_evidence Training usage: negative_or_unresolved Graph gold label: weak…
20 occurrences
repo-level (20 hits)
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — apps/clinician-dashboard/src/app/[locale]/layout.tsx:42
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — apps/clinician-dashboard/src/app/callback/layout.tsx:15
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — apps/patient-portal/src/app/[locale]/layout.tsx:45
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — packages/ui/src/components/theme-provider.tsx:102
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/clinician-dashboard/src/lib/auth/smart.ts:109
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/patient-mobile/src/lib/api.ts:43
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/patient-portal/src/lib/api/client.ts:97
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/realtime-gateway/src/auth/careTeamFetcher.ts:27
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/realtime-gateway/src/auth/roomAuth.ts:90
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph cicd CI/CD security conf 1.00 17 occurrences GitHub Action is tag-pinned rather than SHA-pinned
dorny/paths-filter@v3 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
2 files, 17 locations
.github/workflows/ci.yml:44, 92, 327, 331, 338, 372, 379, 388, +3 more (11 hits)
.github/workflows/release.yml:50, 53, 61, 73, 82, 134 (6 hits)
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/ci.yml CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/release.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in apps/clinician-dashboard/src/app/[locale]/layout.tsx:42
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
apps/clinician-dashboard/src/app/[locale]/layout.tsx:42 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in apps/clinician-dashboard/src/app/callback/layout.tsx:15
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
apps/clinician-dashboard/src/app/callback/layout.tsx:15 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in apps/patient-portal/src/app/[locale]/layout.tsx:45
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
apps/patient-portal/src/app/[locale]/layout.tsx:45 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in apps/clinician-dashboard/src/lib/auth/session-cookie.ts:12
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
apps/clinician-dashboard/src/lib/auth/session-cookie.ts:12 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in apps/patient-portal/src/components/PortalNav.tsx:117
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
apps/patient-portal/src/components/PortalNav.tsx:117 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in apps/patient-portal/src/lib/auth/session.ts:12
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
apps/patient-portal/src/lib/auth/session.ts:12 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in .github/workflows/ci.yml:141
Found a known-risky pattern (node_child_process). Review and replace if possible.
.github/workflows/ci.yml:141 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/capture_screens.mjs:29
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/capture_screens.mjs:29 Node child process
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 30 placeholder/mock markers across 16 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Integrity conf 1.00 19 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `CI`, `DASH_URL`, `DATABASE_DB`, `DATABASE_HOST`, `DATABASE_PASSWORD`, `DATABASE_PORT`, `DATABASE_USER`, `DEMO_PASS` + 11 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 52 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: eclipse-temurin:17-jre
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
apps/hl7v2-ingester/Dockerfile:15 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: eclipse-temurin:17-jre
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
apps/fhir-server/Dockerfile:15 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: maven:3.9-eclipse-temurin-17
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
apps/hl7v2-ingester/Dockerfile:2 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: maven:3.9-eclipse-temurin-17
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
apps/fhir-server/Dockerfile:2 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 6 occurrences Docker base image is tag-pinned but not digest-pinned: node:20-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
2 files, 6 locations
apps/patient-portal/Dockerfile:4, 17, 27, 43 (4 hits)
apps/clinician-dashboard/Dockerfile:11, 42 (2 hits)
containersPinned dependencies
low System graph hardware Supply chain conf 1.00 8 occurrences Docker base image is tag-pinned but not digest-pinned: node:20-bookworm-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
4 files, 8 locations
apps/api-gateway/Dockerfile:15, 49 (2 hits)
apps/audit-service/Dockerfile:7, 36 (2 hits)
apps/cds-hooks-service/Dockerfile:7, 39 (2 hits)
apps/realtime-gateway/Dockerfile:11, 41 (2 hits)
containersPinned dependencies
low System graph hardware Supply chain conf 1.00 10 occurrences Docker base image is tag-pinned but not digest-pinned: python:3.11-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
5 files, 10 locations
apps/deid-service/Dockerfile:2, 12 (2 hits)
apps/dicom-receiver/Dockerfile:2, 12 (2 hits)
apps/ml-batch/Dockerfile:3, 19 (2 hits)
apps/ml-serving/Dockerfile:3, 18 (2 hits)
apps/wearables-ingester/Dockerfile:2, 12 (2 hits)
containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 11 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-node@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
2 files, 11 locations
.github/workflows/ci.yml:98, 104, 137, 193, 242, 249, 279, 395, +1 more (9 hits)
.github/workflows/release.yml:99, 117 (2 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Tests conf 1.00 Low test-to-source ratio
70 tests / 423 src (ratio 0.17).
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: apps/deid-service/src/medflow_deid/logging.py:redact_phi, apps/wearables-ingester/src/medflow_wearables/logging.py:redact_phi This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolida…
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: apps/deid-service/src/medflow_deid/telemetry.py:setup_telemetry, apps/dicom-receiver/src/medflow_dicom/telemetry.py:setup_telemetry, apps/wearables-ingester/src/medflow_wearables/telemetry.py:setup_telemetry This is *the* AI-coder failure mode (4× mo…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: apps/deid-service/src/medflow_deid/config.py:get_settings, apps/ml-serving/src/medflow_serving/config.py:get_settings, apps/ml-batch/src/medflow_ml/config.py:get_settings, apps/dicom-receiver/src/medflow_dicom/config.py:get_settings This is *the* AI-…
duplicatesduplication
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/api-gateway/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/api-gateway/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/audit-service/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/audit-service/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/cds-hooks-service/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/cds-hooks-service/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/clinician-dashboard/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/clinician-dashboard/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/patient-mobile/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/patient-mobile/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/patient-portal/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/patient-portal/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/realtime-gateway/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/realtime-gateway/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: packages/fhir-types/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
packages/fhir-types/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: packages/proto/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
packages/proto/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: packages/shared-types/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
packages/shared-types/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: packages/ui/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
packages/ui/package.json LockfileReproducibilityGenerated repo pattern
low System graph cicd CI/CD security conf 1.00 package.json defines install-time lifecycle scripts
preinstall/install/postinstall/prepare scripts execute during dependency installation. Review them carefully for network calls, obfuscation, shell execution, or credential access.
package.json CI/CD securitySupply chainNpm
low System graph software Dead code conf 1.00 Possibly dead Python function: configure_optimizers
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/ml-batch/src/medflow_ml/models/lstm.py:88
low System graph software Dead code conf 1.00 Possibly dead Python function: downgrade
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/wearables-ingester/alembic/versions/0001_create_vitals.py:42
low System graph software Dead code conf 1.00 Possibly dead Python function: forward
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/ml-batch/src/medflow_ml/models/lstm.py:59
low System graph software Dead code conf 1.00 Possibly dead Python function: gold_table_uri
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/ml-batch/src/medflow_ml/config.py:66
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_sigint
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/simulators/vitals_stream.py:198
low System graph software Dead code conf 1.00 Possibly dead Python function: refresh
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/ml-serving/src/medflow_serving/registry/loader.py:67
low System graph software Dead code conf 1.00 Possibly dead Python function: training_step
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/ml-batch/src/medflow_ml/models/lstm.py:70
low System graph software Dead code conf 1.00 Possibly dead Python function: upgrade
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/wearables-ingester/alembic/versions/0001_create_vitals.py:19
low System graph software Dead code conf 1.00 Possibly dead Python function: validation_step
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/ml-batch/src/medflow_ml/models/lstm.py:75
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph quality Integrity conf 1.00 Stub function `close` (body is just `pass`/`return`) — scripts/simulators/vitals_stream.py:150
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph api Wiring conf 1.00 Unused endpoint: ALL /fhir/*
`apps/api-gateway/src/modules/fhir-proxy/fhir-proxy.controller.ts` declares `ALL /fhir/*` 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 — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /appointments/:id
`apps/api-gateway/src/modules/appointments/appointments.controller.ts` declares `DELETE /appointments/: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 — consider removing or …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /share/tokens/:id
`apps/api-gateway/src/modules/share/share.controller.ts` declares `DELETE /share/tokens/: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 — consider removing or documenting wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /:id
`apps/api-gateway/src/modules/auth/scopes.guard.ts` declares `GET /: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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /admin/models
`apps/api-gateway/src/modules/analytics/analytics.controller.ts` declares `GET /admin/models` 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 — consider removing or documenting w…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /analytics/audit
`apps/api-gateway/src/modules/analytics/analytics.controller.ts` declares `GET /analytics/audit` 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 — consider removing or documentin…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /appointments/:id
`apps/api-gateway/src/modules/appointments/appointments.controller.ts` declares `GET /appointments/: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 — consider removing or doc…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /appointments/availability
`apps/api-gateway/src/modules/appointments/appointments.controller.ts` declares `GET /appointments/availability` 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 — consider removi…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /cds-services
`apps/cds-hooks-service/src/routes/discovery.ts` declares `GET /cds-services` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /messaging/threads/:id
`apps/api-gateway/src/modules/messaging/messaging.controller.ts` declares `GET /messaging/threads/: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 — consider removing or docu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /messaging/threads/:id/messages
`apps/api-gateway/src/modules/messaging/messaging.controller.ts` declares `GET /messaging/threads/: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 — consider removin…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /oauth/authorize
`apps/api-gateway/src/modules/auth/auth.controller.ts` declares `GET /oauth/authorize` 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 — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /oauth/login
`apps/api-gateway/src/modules/auth/auth.controller.ts` declares `GET /oauth/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 — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /patients/:patientId/observations
`apps/api-gateway/src/modules/abac/abac.guard.ts` declares `GET /patients/:patientId/observations` 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 — consider removing or document…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /share/tokens/:id
`apps/api-gateway/src/modules/share/share.controller.ts` declares `GET /share/tokens/: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 — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/me
`apps/api-gateway/src/modules/users/users.controller.ts` declares `GET /users/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 — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /users/me/care-team
`apps/api-gateway/src/modules/users/users.controller.ts` declares `GET /users/me/care-team` 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 — consider removing or documenting who…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /v1/events
`apps/audit-service/src/server.ts` declares `GET /v1/events` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /v1/verify
`apps/audit-service/src/server.ts` declares `GET /v1/verify` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /v1/vitals/{patient_id}
`apps/wearables-ingester/src/medflow_wearables/api.py` declares `GET /v1/vitals/{patient_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 — consider removing or documenting w…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /worklist
`apps/api-gateway/src/modules/analytics/analytics.controller.ts` declares `GET /worklist` 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 — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /appointments/:id
`apps/api-gateway/src/modules/appointments/appointments.controller.ts` declares `PATCH /appointments/: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 — consider removing or d…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /abac/break-glass
`apps/api-gateway/src/modules/abac/abac.controller.ts` declares `POST /abac/break-glass` 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 — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /analytics/cohort
`apps/api-gateway/src/modules/analytics/analytics.controller.ts` declares `POST /analytics/cohort` 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 — consider removing or document…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /cds-services/:id/feedback
`apps/cds-hooks-service/src/routes/hooks.ts` declares `POST /cds-services/: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 — consider removing or documenting who con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /cds-services/readmission-risk
`apps/cds-hooks-service/src/routes/hooks.ts` declares `POST /cds-services/readmission-risk` 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 — consider removing or documenting who…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /cds-services/sepsis-warning
`apps/cds-hooks-service/src/routes/hooks.ts` declares `POST /cds-services/sepsis-warning` 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 — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /messaging/threads/:id/messages
`apps/api-gateway/src/modules/messaging/messaging.controller.ts` declares `POST /messaging/threads/: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 — consider removi…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /messaging/threads/:id/participants/:userId
`apps/api-gateway/src/modules/messaging/messaging.controller.ts` declares `POST /messaging/threads/:id/participants/:userId` 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 — con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /ml/chest-xray
`apps/api-gateway/src/modules/ml/ml.controller.ts` declares `POST /ml/chest-xray` 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 — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /ml/readmission
`apps/api-gateway/src/modules/ml/ml.controller.ts` declares `POST /ml/readmission` 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 — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /ml/sepsis
`apps/api-gateway/src/modules/ml/ml.controller.ts` declares `POST /ml/sepsis` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /nlp/notes
`apps/ml-serving/src/medflow_serving/api/routes.py` declares `POST /nlp/notes` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /oauth/login
`apps/api-gateway/src/modules/auth/auth.controller.ts` declares `POST /oauth/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 — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /oauth/token
`apps/api-gateway/src/modules/auth/auth.controller.ts` declares `POST /oauth/token` 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 — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /predict/chest-xray
`apps/ml-serving/src/medflow_serving/api/routes.py` declares `POST /predict/chest-xray` 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 — consider removing or documenting who con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /predict/readmission
`apps/ml-serving/src/medflow_serving/api/routes.py` declares `POST /predict/readmission` 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 — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /predict/sepsis
`apps/ml-serving/src/medflow_serving/api/routes.py` declares `POST /predict/sepsis` 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 — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /v1/deid/fhir
`apps/deid-service/src/medflow_deid/api.py` declares `POST /v1/deid/fhir` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /v1/deid/text
`apps/deid-service/src/medflow_deid/api.py` declares `POST /v1/deid/text` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /v1/events
`apps/audit-service/src/server.ts` declares `POST /v1/events` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /v1/export/daily
`apps/audit-service/src/server.ts` declares `POST /v1/export/daily` 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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /v1/vitals
`apps/wearables-ingester/src/medflow_wearables/api.py` declares `POST /v1/vitals` 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 — consider removing or documenting who consumes …
Unused endpoint
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/7cd46749-951a-471a-acbf-dca762895737/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/7cd46749-951a-471a-acbf-dca762895737/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.