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.

JDVBBBDARC/dispatch-scheduler

https://github.com/JDVBBBDARC/dispatch-scheduler · scanned 2026-06-16 04:29 UTC (2 months ago)

77 raw signals (0 security + 77 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months ago · v1 · 60 actionable findings from 1 signal source. 17 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 87.1/100 with 77.8% coverage. It contains 387 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 77 findings — concentrated in quality (42), security (30), software (4). Risk profile is high: 0 critical, 29 high, 5 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 54 of 60 actionable findings. 77 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 Flask mutation route `api_attendance_set` without `@login_required` — app.py:479
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:479 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_attendance_set` without `@login_required` — app_v2.py:506
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:506 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_breakdown_add` without `@login_required` — app.py:547
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:547 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_breakdown_add` without `@login_required` — app_v2.py:581
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:581 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_breakdown_delete` without `@login_required` — app.py:600
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:600 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_breakdown_delete` without `@login_required` — app_v2.py:639
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:639 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_breakdown_update` without `@login_required` — app.py:576
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:576 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_breakdown_update` without `@login_required` — app_v2.py:610
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:610 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_cartrack_poll_cron` without `@login_required` — app_v3.py:2022
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v3.py:2022 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_cycle_time_clear_logs` without `@login_required` — app_v3.py:3542
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v3.py:3542 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_cycle_time_settings_post` without `@login_required` — app_v3.py:3514
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v3.py:3514 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_joborders_sync_cron` without `@login_required` — app_v3.py:2182
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v3.py:2182 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_master_add` without `@login_required` — app.py:254
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:254 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_master_add` without `@login_required` — app_v2.py:271
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:271 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_master_toggle` without `@login_required` — app.py:312
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:312 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_master_toggle` without `@login_required` — app_v2.py:329
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:329 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_master_update` without `@login_required` — app.py:289
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:289 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_master_update` without `@login_required` — app_v2.py:306
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:306 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_set_user` without `@login_required` — app.py:633
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:633 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_set_user` without `@login_required` — app_v2.py:673
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:673 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_trip_delete` without `@login_required` — app.py:183
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:183 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_trip_delete` without `@login_required` — app_v2.py:191
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:191 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_trip_save` without `@login_required` — app.py:131
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:131 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_trip_save` without `@login_required` — app_v2.py:135
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:135 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_wave_add` without `@login_required` — app.py:99
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:99 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_wave_add` without `@login_required` — app_v2.py:102
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:102 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_wave_delete` without `@login_required` — app.py:120
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app.py:120 securityAuth flask unauth route
high System graph security auth conf 1.00 Flask mutation route `api_wave_delete` without `@login_required` — app_v2.py:124
Flask route declares POST/PUT/DELETE/PATCH methods without an auth decorator. Add `@login_required` (Flask-Login) or equivalent.
app_v2.py:124 securityAuth flask unauth route
high System graph security security conf 1.00 Insecure pattern 'exec_used' in cartrack_poll.py:103
Found a known-risky pattern (exec_used). Review and replace if possible.
cartrack_poll.py:103 Exec used
medium System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci, tests, operator-readme. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
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 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
0 test file(s) for 10 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Integrity conf 1.00 12 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `CARTRACK_BASE_URL`, `CARTRACK_INSECURE_SSL`, `CRON_SECRET`, `DB_PATH`, `FLASK_DEV_INSECURE`, `JOBORDERS_BASE_URL`, `JOBORDERS_SYNC_EVERY_N`, `JOBORDERS_TOKEN` + 4 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't br…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 79 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 15 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: models_v2.py:display, models.py:display 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.
15 occurrences
repo-level (15 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: app_v3.py:get_local_ip, app.py:get_local_ip, app_v2.py:get_local_ip 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.
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: models_v2.py:to_dict, models_v2.py:to_dict, models.py:to_dict, models.py:to_dict 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.
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Docs conf 1.00 No README detected
No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off.
ReadmeRepo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `models_v2` in app_v2.py:5
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 `models_v2` in app_v3.py:142
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 `models_v2` in cartrack_client.py:29
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 `models_v2` in cartrack_poll.py:41
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 `models_v2` in cartrack_trips_backfill.py:30
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 `models_v2` in joborders_sync.py:34
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 `models_v2` in models_v2.py:20
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: find_plazas_at_position
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cartrack_poll.py:659
low System graph software Dead code conf 1.00 Possibly dead Python function: find_vehicle_by_plate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cartrack_client.py:299
low System graph software Dead code conf 1.00 Possibly dead Python function: list_trips
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cartrack_client.py:201
low System graph software Dead code conf 1.00 Possibly dead Python function: sort_key
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
app_v3.py:3050
low System graph quality Complexity conf 1.00 Very large file: app_v3.py (4401 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: cartrack_poll.py (1639 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/dea21797-bb69-4f57-89a6-fc4e5f47dd23/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/dea21797-bb69-4f57-89a6-fc4e5f47dd23/

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.