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.

CaveBushman/django-bmx

https://github.com/CaveBushman/django-bmx · scanned 2026-06-17 01:23 UTC (1 month, 2 weeks ago)

143 raw signals (0 security + 143 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 2 weeks ago · v2 · last Δ -1.3 (diff) · 127 actionable findings from 1 signal source. 16 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 75.4/100 with 100.0% coverage. It contains 4724 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 143 findings — concentrated in quality (77), security (47), frontend (12). Risk profile is high: 3 critical, 0 high, 76 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 120 of 127 actionable findings. 143 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.

medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — static/js/entry_foreign.js:146
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 — static/rest_framework/js/coreapi-0.1.1.js:741
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 Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing operator-readme. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
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 auth conf 1.00 Django view `activate_account` may be unauthenticated — accounts/views.py:256
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:256 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `activation_sent` may be unauthenticated — accounts/views.py:105
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:105 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `add_to_cart` may be unauthenticated — eshop/views.py:721
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:721 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `cart` may be unauthenticated — eshop/views.py:756
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:756 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `checkout` may be unauthenticated — eshop/views.py:801
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:801 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `club_detail_view` may be unauthenticated — club/views.py:183
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
club/views.py:183 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `clubs_list_view` may be unauthenticated — club/views.py:24
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
club/views.py:24 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `csp_report_view` may be unauthenticated — bmx/views.py:29
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
bmx/views.py:29 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `csrf_failure_view` may be unauthenticated — bmx/views.py:95
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
bmx/views.py:95 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `download_file_view` may be unauthenticated — news/views.py:216
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
news/views.py:216 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `downloads_view` may be unauthenticated — news/views.py:210
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
news/views.py:210 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `healthz_view` may be unauthenticated — bmx/views.py:110
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
bmx/views.py:110 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `list_of_commisars_view` may be unauthenticated — commissar/views.py:4
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
commissar/views.py:4 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `mapa_klubu` may be unauthenticated — club/views.py:252
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
club/views.py:252 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `news_detail_view` may be unauthenticated — news/views.py:169
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
news/views.py:169 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `news_list_view` may be unauthenticated — news/views.py:121
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
news/views.py:121 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `order_confirmation` may be unauthenticated — eshop/views.py:945
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:945 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `participation_in_races` may be unauthenticated — club/views.py:217
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
club/views.py:217 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `product_detail` may be unauthenticated — eshop/views.py:621
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:621 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `prvi_zavod_view` may be unauthenticated — news/views.py:103
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
news/views.py:103 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `ranking_view` may be unauthenticated — ranking/views.py:13
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
ranking/views.py:13 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `readyz_view` may be unauthenticated — bmx/views.py:114
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
bmx/views.py:114 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `request_stock_alert` may be unauthenticated — eshop/views.py:649
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:649 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `resend_activation_email` may be unauthenticated — accounts/views.py:327
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:327 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `rules_view` may be unauthenticated — news/views.py:107
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
news/views.py:107 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `send_activation_email` may be unauthenticated — accounts/views.py:81
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:81 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `shop` may be unauthenticated — eshop/views.py:563
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:563 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `sign_in` may be unauthenticated — accounts/views.py:189
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:189 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `sign_out` may be unauthenticated — accounts/views.py:366
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:366 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `sign_up` may be unauthenticated — accounts/views.py:113
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
accounts/views.py:113 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `size_guide` may be unauthenticated — eshop/views.py:1057
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
eshop/views.py:1057 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `visit_stats` may be unauthenticated — admin_stats/views.py:18
Function-view with `request` parameter has no `@login_required` or equivalent auth decorator within 5 lines above. If auth is enforced by middleware (`AUTHENTICATION_BACKENDS`), this is a false positive — dismiss with reason `by_design`.
admin_stats/views.py:18 securityAuth django unauth view
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/admin/js/SelectBox.js:17
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/admin/js/SelectBox.js:17 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/js/entry.js:182
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/js/entry.js:182 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/js/event_admin.js:203
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/js/event_admin.js:203 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/js/event_admin_ec.js:93
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/js/event_admin_ec.js:93 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/js/import_stats.js:34
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/js/import_stats.js:34 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/js/rider_request.js:49
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/js/rider_request.js:49 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/rest_framework/docs/js/highlight.pack.js:1
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/rest_framework/docs/js/highlight.pack.js:1 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/rest_framework/js/bootstrap.min.js:6
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/rest_framework/js/bootstrap.min.js:6 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/rest_framework/js/jquery-3.5.1.min.js:2
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/rest_framework/js/jquery-3.5.1.min.js:2 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in static/rest_framework/js/prettify-min.js:25
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
static/rest_framework/js/prettify-min.js:25 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'weak_hash' in static/rest_framework/docs/js/api.js:26
Found a known-risky pattern (weak_hash). Review and replace if possible.
static/rest_framework/docs/js/api.js:26 Weak hash
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for club in …` triggers a query per row — bmx/views.py:200
The loop iterates a Django queryset and accesses `club.updated.isoformat` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queri…
bmx/views.py:200 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for cruiser in …` triggers a query per row — rider/rider.py:451
The loop iterates a Django queryset and accesses `cruiser.date_of_birth.year` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 q…
rider/rider.py:451 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for ct in …` triggers a query per row — finance/views.py:163
The loop iterates a Django queryset and accesses `ct.user.id` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries instead o…
finance/views.py:163 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for d in …` triggers a query per row — finance/views.py:349
The loop iterates a Django queryset and accesses `d.rider.first_name` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries i…
finance/views.py:349 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for debet in …` triggers a query per row — event/views/payment_helpers.py:358
The loop iterates a Django queryset and accesses `debet.rider.first_name` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queri…
event/views/payment_helpers.py:358 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for debet in …` triggers a query per row — event/views/payment_helpers.py:373
The loop iterates a Django queryset and accesses `debet.club.team_name` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries…
event/views/payment_helpers.py:373 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for e in …` triggers a query per row — event/management/commands/debug_moto_report.py:37
The loop iterates a Django queryset and accesses `e.rider.uci_id` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries inste…
event/management/commands/debug_moto_report.py:37 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for entry in …` triggers a query per row — event/func.py:669
The loop iterates a Django queryset and accesses `entry.rider.nationality` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 quer…
event/func.py:669 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for entry in …` triggers a query per row — event/func.py:677
The loop iterates a Django queryset and accesses `entry.rider.nationality` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 quer…
event/func.py:677 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for entry in …` triggers a query per row — event/views/views_admin.py:1638
The loop iterates a Django queryset and accesses `entry.rider.club_id` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries …
event/views/views_admin.py:1638 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for entry in …` triggers a query per row — finance/invoices.py:148
The loop iterates a Django queryset and accesses `entry.rider.club` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries ins…
finance/invoices.py:148 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for entry in …` triggers a query per row — rider/admin.py:547
The loop iterates a Django queryset and accesses `entry.event.name` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries ins…
rider/admin.py:547 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for event in …` triggers a query per row — bmx/views.py:190
The loop iterates a Django queryset and accesses `event.updated.isoformat` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 quer…
bmx/views.py:190 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for field in …` triggers a query per row — club/forms.py:40
The loop iterates a Django queryset and accesses `field.widget.attrs` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries i…
club/forms.py:40 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for model in …` triggers a query per row — news/management/commands/cleanup_orphaned_media.py:94
The loop iterates a Django queryset and accesses `model._meta.get_fields` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queri…
news/management/commands/cleanup_orphaned_media.py:94 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for news in …` triggers a query per row — bmx/views.py:180
The loop iterates a Django queryset and accesses `news.publish_date.isoformat` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 …
bmx/views.py:180 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for refund in …` triggers a query per row — finance/views.py:240
The loop iterates a Django queryset and accesses `refund.source_entry.rider` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 qu…
finance/views.py:240 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for result in …` triggers a query per row — rider/views/_common.py:705
The loop iterates a Django queryset and accesses `result.rider.uci_id` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries …
rider/views/_common.py:705 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider in …` triggers a query per row — bmx/views.py:210
The loop iterates a Django queryset and accesses `rider.created.date` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries i…
bmx/views.py:210 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider in …` triggers a query per row — club/func.py:53
The loop iterates a Django queryset and accesses `rider.date_of_birth.year` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 que…
club/func.py:53 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider in …` triggers a query per row — event/views/views_pdf.py:365
The loop iterates a Django queryset and accesses `rider.club.team_name` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries…
event/views/views_pdf.py:365 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider in …` triggers a query per row — rider/views/directory.py:435
The loop iterates a Django queryset and accesses `rider.club.team_name` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries…
rider/views/directory.py:435 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider_20 in …` triggers a query per row — event/entry.py:145
The loop iterates a Django queryset and accesses `rider_20.last_name.upper` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 que…
event/entry.py:145 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider_24 in …` triggers a query per row — event/entry.py:153
The loop iterates a Django queryset and accesses `rider_24.last_name.upper` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 que…
event/entry.py:153 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for rider_beginner in …` triggers a query per row — event/entry.py:137
The loop iterates a Django queryset and accesses `rider_beginner.last_name.upper` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1…
event/entry.py:137 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for run in …` triggers a query per row — event/management/commands/debug_moto_report.py:69
The loop iterates a Django queryset and accesses `run.rider.uci_id` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries ins…
event/management/commands/debug_moto_report.py:69 N plus onePerformance
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 quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 25 placeholder/mock markers across 11 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
23 test file(s) for 581 source file(s) (ratio 0.04). 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 5 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 Near-duplicate function bodies in 15 places
Functions with the same first-5-line body hash: api/tests.py:setUp, api/tests.py:setUp, api/tests.py:setUp, api/tests.py:setUp 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.
duplicatesduplication
low System graph quality Integrity conf 1.00 12 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: finance/invoices.py:showPage, eshop/invoice.py:showPage 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.
12 occurrences
repo-level (12 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: finance/models.py:pdf_url, finance/models.py:pdf_url, finance/models.py:pdf_url 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 Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: ranking/tests.py:setUp, ranking/tests.py:setUp, ranking/tests.py:setUp, ranking/tests.py:setUp 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 sepa…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: finance/tests.py:setUp, finance/tests.py:setUp, finance/tests.py:setUp, finance/tests.py:setUp 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 sepa…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_gzip_backup` in bmx/cron.py:70
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 `_gzip_backup` in bmx/tests.py:1307
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 `bem_backup` in event/admin.py:283
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 `bem_backup` in event/migrations/0001_initial.py:153
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 `bem_backup` in event/models_events.py:267
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 `bem_backup` in event/signals.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 `bem_backup` in news/management/commands/cleanup_orphaned_media.py:23
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 `glim_v1` in static/rest_framework/docs/js/highlight.pack.js:1
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: create_event_cash_receipt
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
finance/cash_receipts.py:340
low System graph software Dead code conf 1.00 Possibly dead Python function: czech_cup_avg
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
finance/func.py:22
low System graph software Dead code conf 1.00 Possibly dead Python function: czech_league_avg
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
finance/func.py:27
low System graph software Dead code conf 1.00 Possibly dead Python function: iter_all_python_module_files
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
manage.py:22
low System graph software Dead code conf 1.00 Possibly dead Python function: moravian_league_avg
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
finance/func.py:32
low System graph software Dead code conf 1.00 Possibly dead Python function: sort_20
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ranking/ranking.py:33
low System graph software Dead code conf 1.00 Possibly dead Python function: sort_24
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
ranking/ranking.py:41
low System graph quality Docs conf 1.00 README lacks setup or run instructions
A README exists, but it does not contain common install/setup/run markers. This matches a frequent generated-code pattern: UI is present, operational handoff is thin.
ReadmeRepo hardeningGenerated repo pattern
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — static/js/arrow.js:17
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — static/js/collapsible.js:12
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — static/js/dropdown.js:24
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — static/js/show_spinner.js:5
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — static/rest_framework/js/prettify-min.js:17
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/base_smoke_test.js:116
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/event_admin_ec_smoke_test.js:174
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/event_admin_smoke_test.js:256
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/import_stats_smoke_test.js:171
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/navbar_smoke_test.js:148
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/rider_inactive_smoke_test.js:167
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/js/theme_smoke_test.js:105
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Integrity conf 1.00 Stub function `noop_reverse` (body is just `pass`/`return`) — event/migrations/0077_event_commissar_role_constraints.py:59
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: bmx/tests.py (1438 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: eshop/tests.py (1538 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: eshop/views.py (1364 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: event/tests.py (4610 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: event/views/views_admin.py (2604 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: rider/tests.py (1413 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: rider/views/_common.py (1561 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: static/js/flowbite.js (3379 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: static/rest_framework/js/coreapi-0.1.1.js (2042 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/15074e3a-b0dd-4019-837d-c6fc6238ce19/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/15074e3a-b0dd-4019-837d-c6fc6238ce19/

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.