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.

sehha555/portfolio-tracker

https://github.com/sehha555/portfolio-tracker · scanned 2026-06-16 00:06 UTC (2 months, 2 weeks ago)

142 raw signals (0 security + 142 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 138 actionable findings from 1 signal source. 4 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 84.5/100 with 100.0% coverage. It contains 900 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 142 findings — concentrated in security (54), api (50), software (19). Risk profile is high: 0 critical, 51 high, 8 medium. Recommended next step: open the security layer findings first — that's where the highest-impact wins live.

Showing 136 of 138 actionable findings. 142 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.

high System graph security auth conf 1.00 FastAPI DELETE `delete_account` without auth dependency — app/routes/api.py:57
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:57 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_channel_api` without auth dependency — app/routes/api.py:1441
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1441 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_dca_plan` without auth dependency — app/routes/api.py:728
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:728 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_extraction_api` without auth dependency — app/routes/api.py:919
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:919 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_info_item_api` without auth dependency — app/routes/api.py:984
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:984 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_podcast_api` without auth dependency — app/routes/api.py:1362
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1362 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_related_api` without auth dependency — app/routes/api.py:1008
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1008 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_research_material_api` without auth dependency — app/routes/api.py:954
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:954 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_theme_api` without auth dependency — app/routes/api.py:1166
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1166 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_theme_member_api` without auth dependency — app/routes/api.py:1281
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1281 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_trade` without auth dependency — app/routes/api.py:203
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:203 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `patch_kill_switch` without auth dependency — app/routes/api.py:899
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:899 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `patch_sources_text` without auth dependency — app/routes/api.py:909
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:909 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `patch_symbol_status` without auth dependency — app/routes/api.py:885
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:885 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `patch_thesis_essay` without auth dependency — app/routes/api.py:914
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:914 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `patch_tracking_text` without auth dependency — app/routes/api.py:904
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:904 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_dca_plan` without auth dependency — app/routes/api.py:717
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:717 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_tags_api` without auth dependency — app/routes/api.py:1016
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1016 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_theme_api` without auth dependency — app/routes/api.py:1146
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1146 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_theme_member_api` without auth dependency — app/routes/api.py:1271
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1271 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_trade` without auth dependency — app/routes/api.py:212
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:212 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `add_theme_member_api` without auth dependency — app/routes/api.py:1247
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1247 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `apply_promotion_api` without auth dependency — app/routes/api.py:752
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:752 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `commit_profile_review` without auth dependency — app/routes/api.py:1537
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1537 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_account` without auth dependency — app/routes/api.py:25
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:25 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_dca_plan` without auth dependency — app/routes/api.py:703
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:703 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_fx` without auth dependency — app/routes/api.py:170
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:170 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_info_item_api` without auth dependency — app/routes/api.py:966
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:966 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_related_api` without auth dependency — app/routes/api.py:997
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:997 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_research_material_api` without auth dependency — app/routes/api.py:933
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:933 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_theme_api` without auth dependency — app/routes/api.py:1132
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1132 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_trade` without auth dependency — app/routes/api.py:101
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:101 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `import_commit` without auth dependency — app/routes/api.py:792
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:792 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `import_existing_to_dca_plan` without auth dependency — app/routes/api.py:736
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:736 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `import_podcasts_api` without auth dependency — app/routes/api.py:1345
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1345 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `import_preview` without auth dependency — app/routes/api.py:780
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:780 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `rebuild_snapshots` without auth dependency — app/routes/api.py:576
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:576 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `recalculate_fees` without auth dependency — app/routes/api.py:618
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:618 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `refresh_all_themes_news_api` without auth dependency — app/routes/api.py:1229
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1229 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `refresh_events_api` without auth dependency — app/routes/api.py:1045
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1045 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `refresh_news_api` without auth dependency — app/routes/api.py:1086
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1086 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `refresh_profile_api` without auth dependency — app/routes/api.py:1023
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1023 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `refresh_theme_news_api` without auth dependency — app/routes/api.py:1219
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1219 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reset_positions_api` without auth dependency — app/routes/api.py:1288
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1288 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `run_podcast_import_now_api` without auth dependency — app/routes/api.py:1411
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1411 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `save_fee_settings` without auth dependency — app/routes/api.py:591
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:591 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `update_podcast_settings_api` without auth dependency — app/routes/api.py:1389
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1389 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `upsert_channel_api` without auth dependency — app/routes/api.py:1433
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1433 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `put_symbol_note` without auth dependency — app/routes/api.py:851
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:851 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `save_prompt_api` without auth dependency — app/routes/api.py:1474
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:1474 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_account` without auth dependency — app/routes/api.py:33
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
app/routes/api.py:33 securityAuth fastapi unauth mutation
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 security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in app/static/blockmap.html:210
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
app/static/blockmap.html:210 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in app/static/trade-history-mockup.html:319
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
app/static/trade-history-mockup.html:319 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — run.py:64
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/check_tracking.py:4
`urllib.request.urlopen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
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.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
4 test file(s) for 60 source file(s) (ratio 0.07). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 98 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 quality Integrity conf 1.00 5 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scripts/write_research_lens.py:main, scripts/write_extraction.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
5 occurrences
repo-level (5 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `daily_backup` in app/scheduler.py:10
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `new_to_old` in app/promotion.py:56
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_industry_flow_set
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:316
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_industry_seed
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:366
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_killswitch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:114
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_material_add
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:152
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_material_list
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:218
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_material_rm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:228
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_status
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/pt.py:72
low System graph software Dead code conf 1.00 Possibly dead Python function: delete_events_by_symbol
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:2014
low System graph software Dead code conf 1.00 Possibly dead Python function: delete_tracking_item
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:987
low System graph software Dead code conf 1.00 Possibly dead Python function: get_20d_ago_close
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/prices.py:328
low System graph software Dead code conf 1.00 Possibly dead Python function: list_info_by_themes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:2329
low System graph software Dead code conf 1.00 Possibly dead Python function: list_profile_changes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:3143
low System graph software Dead code conf 1.00 Possibly dead Python function: open_browser
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
run.py:151
low System graph software Dead code conf 1.00 Possibly dead Python function: refresh_events_after_trade
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/scheduler.py:356
low System graph software Dead code conf 1.00 Possibly dead Python function: set_industry_infer_flow
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:2557
low System graph software Dead code conf 1.00 Possibly dead Python function: set_theme_infer_flow
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:2597
low System graph software Dead code conf 1.00 Possibly dead Python function: sync_all
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/dividends.py:124
low System graph software Dead code conf 1.00 Possibly dead Python function: update_thesis_essay
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:1679
low System graph software Dead code conf 1.00 Possibly dead Python function: update_tracking_item
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app/db.py:974
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 api Wiring conf 1.00 Unused endpoint: DELETE /api/accounts/{account_id}
`app/routes/api.py` declares `DELETE /api/accounts/{account_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: DELETE /api/dca-plans/{plan_id}
`app/routes/api.py` declares `DELETE /api/dca-plans/{plan_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: DELETE /api/trades/{trade_id}
`app/routes/api.py` declares `DELETE /api/trades/{trade_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 /
`app/routes/pages.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 — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/accounts
`app/routes/api.py` declares `GET /api/accounts` 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 /api/dashboard/snapshot
`app/routes/api.py` declares `GET /api/dashboard/snapshot` 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 /api/dca-plans
`app/routes/api.py` declares `GET /api/dca-plans` 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 /api/export/holdings.xlsx
`app/routes/api.py` declares `GET /api/export/holdings.xlsx` 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 /api/fee-preview
`app/routes/api.py` declares `GET /api/fee-preview` 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 /api/fx-rate
`app/routes/api.py` declares `GET /api/fx-rate` 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 /api/health
`app/routes/api.py` declares `GET /api/health` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/import/template
`app/routes/api.py` declares `GET /api/import/template` 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 /api/ohlc
`app/routes/api.py` declares `GET /api/ohlc` 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 /api/prices
`app/routes/api.py` declares `GET /api/prices` 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 /api/promotions
`app/routes/api.py` declares `GET /api/promotions` 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 /api/settings/fees
`app/routes/api.py` declares `GET /api/settings/fees` 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 /api/snapshots
`app/routes/api.py` declares `GET /api/snapshots` 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 /api/symbol-lookup
`app/routes/api.py` declares `GET /api/symbol-lookup` 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 /api/symbols/{symbol}/tracking
`app/routes/api.py` declares `GET /api/symbols/{symbol}/tracking` 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 /api/symbols/{symbol}/trades
`app/routes/api.py` declares `GET /api/symbols/{symbol}/trades` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /calendar
`app/routes/pages.py` declares `GET /calendar` 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 /graph
`app/routes/pages.py` declares `GET /graph` 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 /industries
`app/routes/pages.py` declares `GET /industries` 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 /industry-map
`app/routes/pages.py` declares `GET /industry-map` 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 /industry-map/{ic_code}
`app/routes/pages.py` declares `GET /industry-map/{ic_code}` 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 /podcasts
`app/routes/pages.py` declares `GET /podcasts` 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 /podcasts/settings
`app/routes/pages.py` declares `GET /podcasts/settings` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /podcasts/{digest_id}
`app/routes/pages.py` declares `GET /podcasts/{digest_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 /research
`app/routes/pages.py` declares `GET /research` 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 /research/themes/
`app/routes/pages.py` declares `GET /research/themes/` 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 /research/themes/{theme_id}
`app/routes/pages.py` declares `GET /research/themes/{theme_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 /research/{symbol}
`app/routes/pages.py` declares `GET /research/{symbol}` 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 /risk
`app/routes/pages.py` declares `GET /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 consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /settings
`app/routes/pages.py` declares `GET /settings` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /trades
`app/routes/pages.py` declares `GET /trades` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /trades/{symbol}
`app/routes/pages.py` declares `GET /trades/{symbol}` 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: PATCH /api/dca-plans/{plan_id}
`app/routes/api.py` declares `PATCH /api/dca-plans/{plan_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: PATCH /api/trades/{trade_id}
`app/routes/api.py` declares `PATCH /api/trades/{trade_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: POST /api/accounts
`app/routes/api.py` declares `POST /api/accounts` 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 /api/dca-plans
`app/routes/api.py` declares `POST /api/dca-plans` 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 /api/dca-plans/{plan_id}/import-existing
`app/routes/api.py` declares `POST /api/dca-plans/{plan_id}/import-existing` 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 /api/fx
`app/routes/api.py` declares `POST /api/fx` 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 /api/import/commit
`app/routes/api.py` declares `POST /api/import/commit` 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 /api/import/preview
`app/routes/api.py` declares `POST /api/import/preview` 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 /api/promotions/apply
`app/routes/api.py` declares `POST /api/promotions/apply` 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 /api/settings/fees
`app/routes/api.py` declares `POST /api/settings/fees` 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 /api/snapshots/rebuild
`app/routes/api.py` declares `POST /api/snapshots/rebuild` 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 /api/trades
`app/routes/api.py` declares `POST /api/trades` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/trades/recalculate-fees
`app/routes/api.py` declares `POST /api/trades/recalculate-fees` 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: PUT /api/accounts/{account_id}
`app/routes/api.py` declares `PUT /api/accounts/{account_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 quality Complexity conf 1.00 Very large file: app/db.py (3277 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: app/routes/api.py (1750 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: app/routes/pages.py (1380 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
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/d9cc924b-df82-490e-a134-087154eccf6c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/d9cc924b-df82-490e-a134-087154eccf6c/

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.