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.

samarqandy/sam-smart-pos

https://github.com/samarqandy/sam-smart-pos · scanned 2026-06-16 00:01 UTC (2 months, 3 weeks ago)

291 raw signals (0 security + 291 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 3 weeks ago · v1 · 243 actionable findings from 1 signal source. 48 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 67.4/100 with 88.9% coverage. It contains 2500 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 291 findings — concentrated in security (98), quality (96), api (50). Risk profile is high: 6 critical, 2 high, 143 medium. Recommended next step: open the security layer findings first — that's where the highest-impact wins live.

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

critical System graph security Secrets conf 1.00 2 occurrences Possible secret in backend/apps/users/management/commands/seed_data.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 18, 26
backend/apps/users/management/commands/seed_data.py:18, 26 (2 hits)
critical System graph security Secrets conf 1.00 Possible secret in frontend/audit-shots.cjs
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
frontend/audit-shots.cjs:7
critical System graph security Secrets conf 1.00 Possible secret in frontend/labels-fname.cjs
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
frontend/labels-fname.cjs:8
critical System graph security Secrets conf 1.00 Possible secret in frontend/labels-shots.cjs
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
frontend/labels-shots.cjs:7
critical System graph security Secrets conf 1.00 Possible secret in frontend/receipt-smoke.cjs
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
frontend/receipt-smoke.cjs:6
high System graph security auth conf 1.00 DRF view `BranchDetailView` declares no `permission_classes` — backend/apps/branches/views.py:24
DRF defaults to AllowAny when `permission_classes` is unset, exposing the endpoint publicly. Add `permission_classes = [IsAuthenticated]` (or stricter) at class level, or set `DEFAULT_PERMISSION_CLASSES` in settings.
backend/apps/branches/views.py:24 securityAuth drf no permission classes
high System graph security auth conf 1.00 DRF view `BranchListCreateView` declares no `permission_classes` — backend/apps/branches/views.py:9
DRF defaults to AllowAny when `permission_classes` is unset, exposing the endpoint publicly. Add `permission_classes = [IsAuthenticated]` (or stricter) at class level, or set `DEFAULT_PERMISSION_CLASSES` in settings.
backend/apps/branches/views.py:9 securityAuth drf no permission classes
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — frontend/audit-shots.cjs:16
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 — frontend/receipt-smoke.cjs:27
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .mcp.json
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.mcp.json VerificationMcp config
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 license, ci. 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 CBV `CustomTokenObtainPairView` lacks `LoginRequiredMixin` — backend/apps/users/views.py:12
Class-based view defines mutating methods (post/put/delete) without inheriting `LoginRequiredMixin`. If auth is enforced via `dispatch()` override or middleware, dismiss this finding.
backend/apps/users/views.py:12 Auth django unauth view
medium System graph security auth conf 1.00 Django view `adjust_bonus` may be unauthenticated — backend/apps/loyalty/views.py:40
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`.
backend/apps/loyalty/views.py:40 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `analytics_view` may be unauthenticated — backend/apps/purchases/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`.
backend/apps/purchases/views.py:169 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `available_models` may be unauthenticated — backend/apps/backup/views.py:286
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`.
backend/apps/backup/views.py:286 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `bot_info` may be unauthenticated — backend/apps/hr/views.py:608
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`.
backend/apps/hr/views.py:608 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `branch_stats` may be unauthenticated — backend/apps/reports/views.py:1106
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`.
backend/apps/reports/views.py:1106 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `broadcast_recipients_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:37
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`.
backend/apps/telegram_broadcast/views.py:37 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `cancel_broadcast_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:133
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`.
backend/apps/telegram_broadcast/views.py:133 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `card_by_number` may be unauthenticated — backend/apps/loyalty/views.py:30
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`.
backend/apps/loyalty/views.py:30 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `cashflow_report` may be unauthenticated — backend/apps/reports/views.py:1025
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`.
backend/apps/reports/views.py:1025 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `client_profile` may be unauthenticated — backend/apps/debts/views.py:55
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`.
backend/apps/debts/views.py:55 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `close_shift` may be unauthenticated — backend/apps/shifts/views.py:72
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`.
backend/apps/shifts/views.py:72 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `create_backup` may be unauthenticated — backend/apps/backup/views.py:60
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`.
backend/apps/backup/views.py:60 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `create_return` may be unauthenticated — backend/apps/sales/views.py:62
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`.
backend/apps/sales/views.py:62 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `create_sale` may be unauthenticated — backend/apps/sales/views.py:32
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`.
backend/apps/sales/views.py:32 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `current_shift_stats` may be unauthenticated — backend/apps/shifts/views.py:194
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`.
backend/apps/shifts/views.py:194 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `current_shift` may be unauthenticated — backend/apps/shifts/views.py:91
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`.
backend/apps/shifts/views.py:91 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `current_time` may be unauthenticated — backend/apps/system_settings/views.py:47
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`.
backend/apps/system_settings/views.py:47 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `dashboard_stats` may be unauthenticated — backend/apps/reports/views.py:93
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`.
backend/apps/reports/views.py:93 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `delete_backup` may be unauthenticated — backend/apps/backup/views.py:151
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`.
backend/apps/backup/views.py:151 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `delete_invite` may be unauthenticated — backend/apps/hr/views.py:623
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`.
backend/apps/hr/views.py:623 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `delete_product_image` may be unauthenticated — backend/apps/products/views.py:231
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`.
backend/apps/products/views.py:231 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `download_backup` may be unauthenticated — backend/apps/backup/views.py:134
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`.
backend/apps/backup/views.py:134 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `expense_categories` may be unauthenticated — backend/apps/expenses/views.py:44
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`.
backend/apps/expenses/views.py:44 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `expense_summary` may be unauthenticated — backend/apps/expenses/views.py:50
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`.
backend/apps/expenses/views.py:50 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `fetch_from_cbu` may be unauthenticated — backend/apps/currency/views.py:54
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`.
backend/apps/currency/views.py:54 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `generate_barcode_for_product` may be unauthenticated — backend/apps/products/views.py:247
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`.
backend/apps/products/views.py:247 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `generate_telegram_invite` may be unauthenticated — backend/apps/hr/views.py:575
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`.
backend/apps/hr/views.py:575 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `get_settings` may be unauthenticated — backend/apps/system_settings/views.py:15
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`.
backend/apps/system_settings/views.py:15 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `hr_choices` may be unauthenticated — backend/apps/hr/views.py:654
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`.
backend/apps/hr/views.py:654 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `hr_report_payroll_sheet` may be unauthenticated — backend/apps/hr/views.py:492
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`.
backend/apps/hr/views.py:492 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `hr_report_salary_trend` may be unauthenticated — backend/apps/hr/views.py:529
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`.
backend/apps/hr/views.py:529 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `hr_report_top_hours` may be unauthenticated — backend/apps/hr/views.py:552
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`.
backend/apps/hr/views.py:552 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `import_backup` may be unauthenticated — backend/apps/backup/views.py:188
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`.
backend/apps/backup/views.py:188 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `individual_send_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:78
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`.
backend/apps/telegram_broadcast/views.py:78 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `inventory_count_finalize` may be unauthenticated — backend/apps/products/count_views.py:108
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`.
backend/apps/products/count_views.py:108 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `inventory_count_items` may be unauthenticated — backend/apps/products/count_views.py:69
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`.
backend/apps/products/count_views.py:69 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `inventory_report` may be unauthenticated — backend/apps/reports/views.py:722
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`.
backend/apps/reports/views.py:722 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `leave_approve` may be unauthenticated — backend/apps/hr/views.py:428
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`.
backend/apps/hr/views.py:428 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `leave_balance` may be unauthenticated — backend/apps/hr/views.py:456
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`.
backend/apps/hr/views.py:456 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `leave_reject` may be unauthenticated — backend/apps/hr/views.py:442
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`.
backend/apps/hr/views.py:442 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `list_backups` may be unauthenticated — backend/apps/backup/views.py:116
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`.
backend/apps/backup/views.py:116 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `non_moving_goods` may be unauthenticated — backend/apps/reports/views.py:695
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`.
backend/apps/reports/views.py:695 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `notification_read_all` may be unauthenticated — backend/apps/purchases/views.py:201
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`.
backend/apps/purchases/views.py:201 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `notification_read` may be unauthenticated — backend/apps/purchases/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`.
backend/apps/purchases/views.py:189 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `notifications_list` may be unauthenticated — backend/apps/purchases/views.py:178
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`.
backend/apps/purchases/views.py:178 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `open_shift` may be unauthenticated — backend/apps/shifts/views.py:58
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`.
backend/apps/shifts/views.py:58 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `overdue_view` may be unauthenticated — backend/apps/purchases/views.py:127
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`.
backend/apps/purchases/views.py:127 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `pay_view` may be unauthenticated — backend/apps/purchases/views.py:48
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`.
backend/apps/purchases/views.py:48 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `payments_view` may be unauthenticated — backend/apps/purchases/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`.
backend/apps/purchases/views.py:107 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `payroll_calculate_one` may be unauthenticated — backend/apps/hr/views.py:308
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`.
backend/apps/hr/views.py:308 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `payroll_calculate` may be unauthenticated — backend/apps/hr/views.py:238
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`.
backend/apps/hr/views.py:238 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `payroll_month` may be unauthenticated — backend/apps/hr/views.py:221
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`.
backend/apps/hr/views.py:221 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `payroll_update` may be unauthenticated — backend/apps/hr/views.py:348
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`.
backend/apps/hr/views.py:348 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `preview_import` may be unauthenticated — backend/apps/backup/views.py:167
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`.
backend/apps/backup/views.py:167 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `print_labels_pdf` may be unauthenticated — backend/apps/products/views.py:290
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`.
backend/apps/products/views.py:290 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `print_receipt_view` may be unauthenticated — backend/apps/printer/views.py:32
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`.
backend/apps/printer/views.py:32 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `printer_status_view` may be unauthenticated — backend/apps/printer/views.py:89
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`.
backend/apps/printer/views.py:89 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `product_barcode_image` may be unauthenticated — backend/apps/products/views.py:163
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`.
backend/apps/products/views.py:163 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `product_by_barcode` may be unauthenticated — backend/apps/products/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`.
backend/apps/products/views.py:114 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `product_stock_history` may be unauthenticated — backend/apps/products/views.py:137
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`.
backend/apps/products/views.py:137 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `profitability_report` may be unauthenticated — backend/apps/reports/views.py:810
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`.
backend/apps/reports/views.py:810 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `rate_history` may be unauthenticated — backend/apps/currency/views.py:66
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`.
backend/apps/currency/views.py:66 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `rates_view` may be unauthenticated — backend/apps/currency/views.py:12
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`.
backend/apps/currency/views.py:12 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `recipient_count_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:165
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`.
backend/apps/telegram_broadcast/views.py:165 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `record_payment` may be unauthenticated — backend/apps/debts/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`.
backend/apps/debts/views.py:121 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `resend_broadcast_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:145
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`.
backend/apps/telegram_broadcast/views.py:145 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `sales_report` may be unauthenticated — backend/apps/reports/views.py:569
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`.
backend/apps/reports/views.py:569 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `save_bot` may be unauthenticated — backend/apps/telegram_settings/views.py:25
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`.
backend/apps/telegram_settings/views.py:25 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `schedule_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:98
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`.
backend/apps/telegram_broadcast/views.py:98 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `send_now_view` may be unauthenticated — backend/apps/telegram_broadcast/views.py:47
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`.
backend/apps/telegram_broadcast/views.py:47 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `shift_live_stats` may be unauthenticated — backend/apps/shifts/views.py:148
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`.
backend/apps/shifts/views.py:148 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `summary_view` may be unauthenticated — backend/apps/purchases/views.py:148
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`.
backend/apps/purchases/views.py:148 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `sync_ntp` may be unauthenticated — backend/apps/system_settings/views.py:33
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`.
backend/apps/system_settings/views.py:33 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `timesheet_delete_entry` may be unauthenticated — backend/apps/hr/views.py:208
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`.
backend/apps/hr/views.py:208 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `timesheet_month` may be unauthenticated — backend/apps/hr/views.py:104
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`.
backend/apps/hr/views.py:104 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `timesheet_set_entry` may be unauthenticated — backend/apps/hr/views.py:174
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`.
backend/apps/hr/views.py:174 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `toggle_bot` may be unauthenticated — backend/apps/telegram_settings/views.py:77
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`.
backend/apps/telegram_settings/views.py:77 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `top_products` may be unauthenticated — backend/apps/reports/views.py:640
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`.
backend/apps/reports/views.py:640 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `turnover_report` may be unauthenticated — backend/apps/reports/views.py:898
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`.
backend/apps/reports/views.py:898 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `unlink_telegram` may be unauthenticated — backend/apps/hr/views.py:638
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`.
backend/apps/hr/views.py:638 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `upcoming_view` may be unauthenticated — backend/apps/purchases/views.py:134
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`.
backend/apps/purchases/views.py:134 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `update_settings` may be unauthenticated — backend/apps/system_settings/views.py:22
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`.
backend/apps/system_settings/views.py:22 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `upload_product_image` may be unauthenticated — backend/apps/products/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`.
backend/apps/products/views.py:183 securityAuth django unauth view
medium System graph security auth conf 1.00 Django view `warranty_alerts` may be unauthenticated — backend/apps/reports/views.py:671
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`.
backend/apps/reports/views.py:671 securityAuth django unauth view
medium System graph quality Integrity conf 1.00 31 occurrences Frontend route `products` has no Link/navigate to it — frontend/src/App.jsx
The route is registered but no `<Link to=…>` or `navigate(…)` in the codebase navigates here. Either it's reachable only via direct URL (intentional), it's dead, or the link broke during a refactor.
31 occurrences
repo-level (31 hits)
Orphan pageWiring
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/api/axios.js:28
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/api/axios.js:28 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/context/AuthContext.jsx:24
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/context/AuthContext.jsx:24 Local storage auth token
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for broadcast in …` triggers a query per row — backend/apps/telegram_broadcast/apps.py:25
The loop iterates a Django queryset and accesses `broadcast.recipients.count` 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…
backend/apps/telegram_broadcast/apps.py:25 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for cat in …` triggers a query per row — backend/apps/products/management/commands/fix_categories.py:44
The loop iterates a Django queryset and accesses `cat.name.lower` 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…
backend/apps/products/management/commands/fix_categories.py:44 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for col in …` triggers a query per row — backend/apps/telegram_broadcast/admin_bot.py:282
The loop iterates a Django queryset and accesses `col.name.lower` 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…
backend/apps/telegram_broadcast/admin_bot.py:282 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for debtor in …` triggers a query per row — backend/apps/telegram_broadcast/signals.py:129
The loop iterates a Django queryset and accesses `debtor.transactions.order_by` 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…
backend/apps/telegram_broadcast/signals.py:129 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for e in …` triggers a query per row — backend/apps/hr/views.py:128
The loop iterates a Django queryset and accesses `e.date.day` 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…
backend/apps/hr/views.py:128 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for m in …` triggers a query per row — backend/apps/products/views.py:147
The loop iterates a Django queryset and accesses `m.created_at.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…
backend/apps/products/views.py:147 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for model in …` triggers a query per row — backend/apps/products/management/commands/find_orphan_movements.py:36
The loop iterates a Django queryset and accesses `model.objects.values_list` 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…
backend/apps/products/management/commands/find_orphan_movements.py:36 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for p in …` triggers a query per row — backend/apps/telegram_broadcast/management/commands/runapscheduler.py:103
The loop iterates a Django queryset and accesses `p.supplier.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 inst…
backend/apps/telegram_broadcast/management/commands/runapscheduler.py:103 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for p in …` triggers a query per row — backend/apps/telegram_broadcast/management/commands/runapscheduler.py:106
The loop iterates a Django queryset and accesses `p.due_date.strftime` 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 …
backend/apps/telegram_broadcast/management/commands/runapscheduler.py:106 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for p in …` triggers a query per row — backend/apps/telegram_broadcast/management/commands/runapscheduler.py:270
The loop iterates a Django queryset and accesses `p.supplier.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 inst…
backend/apps/telegram_broadcast/management/commands/runapscheduler.py:270 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for p in …` triggers a query per row — backend/apps/telegram_broadcast/management/commands/runapscheduler.py:276
The loop iterates a Django queryset and accesses `p.supplier.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 inst…
backend/apps/telegram_broadcast/management/commands/runapscheduler.py:276 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for purchase in …` triggers a query per row — backend/apps/purchases/analytics.py:117
The loop iterates a Django queryset and accesses `purchase.supplier.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…
backend/apps/purchases/analytics.py:117 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for s in …` triggers a query per row — backend/apps/reports/views.py:332
The loop iterates a Django queryset and accesses `s.cashier.get_full_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 quer…
backend/apps/reports/views.py:332 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for s in …` triggers a query per row — backend/apps/telegram_broadcast/admin_bot.py:212
The loop iterates a Django queryset and accesses `s.cashier.get_full_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 quer…
backend/apps/telegram_broadcast/admin_bot.py:212 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for t in …` triggers a query per row — backend/apps/telegram_broadcast/management/commands/runapscheduler.py:222
The loop iterates a Django queryset and accesses `t.due_date.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 inst…
backend/apps/telegram_broadcast/management/commands/runapscheduler.py:222 N plus onePerformance
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for task in …` triggers a query per row — backend/apps/telegram_broadcast/admin_bot.py:379
The loop iterates a Django queryset and accesses `task.due_date.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…
backend/apps/telegram_broadcast/admin_bot.py:379 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 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 Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 113 placeholder/mock markers across 39 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
12 test file(s) for 339 source file(s) (ratio 0.04). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 33 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 frontend Frontend quality conf 1.00 Icon-only button without accessible name — frontend/src/components/tasks/ColumnsConfigModal.jsx:59
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — frontend/src/components/tasks/TaskDetailModal.jsx:101
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — frontend/src/components/tasks/TaskFormModal.jsx:76
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph frontend Frontend quality conf 1.00 Icon-only button without accessible name — frontend/src/pages/pos/POSPage.jsx:2054
A `<button>` whose only child is a single glyph or symbol needs `title=` or `aria-label=` so screen readers (and tooltips on hover) work. Why: P3 in CHECKLIST.md — icon-only buttons skipped a title. Rule id: fq.button.no-label
Fq button no label
low System graph security security conf 1.00 Insecure pattern 'document_write' in frontend/src/components/receipt/ReceiptPrint.js:348
Found a known-risky pattern (document_write). Review and replace if possible.
frontend/src/components/receipt/ReceiptPrint.js:348 Document write
low System graph security security conf 1.00 Insecure pattern 'document_write' in frontend/src/pages/pos/POSPage.jsx:2677
Found a known-risky pattern (document_write). Review and replace if possible.
frontend/src/pages/pos/POSPage.jsx:2677 Document write
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: backend/apps/telegram_settings/models.py:bot_token, backend/apps/telegram_settings/models.py:bot_token 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…
16 occurrences
repo-level (16 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: backend/apps/telegram_broadcast/master_bot.py:cmd_done, backend/apps/telegram_broadcast/master_bot.py:cmd_start_task, backend/apps/telegram_broadcast/master_bot.py:cmd_materials This is *the* AI-coder failure mode (4× more duplication in vibe-coded r…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: backend/apps/users/permissions.py:has_permission, backend/apps/users/permissions.py:has_permission, backend/apps/users/permissions.py:has_permission, backend/apps/users/permissions.py:has_permission This is *the* AI-coder failure mode (4× more duplic…
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 Integrity conf 1.00 Old/deprecated-named symbol `create_backup` in backend/apps/backup/urls.py:6
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 `create_backup` in backend/apps/backup/views.py:60
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 `done_old` in backend/apps/tasks/management/commands/auto_archive_tasks.py:19
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 `done_old` in backend/apps/tasks/views.py:219
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 `on_start_v2` in backend/apps/telegram_broadcast/master_bot.py:907
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 `position_old` in backend/apps/hr/migrations/0002_position_fk.py:27
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: callback_task_start
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/master_bot.py:1621
low System graph software Dead code conf 1.00 Possibly dead Python function: cb_debtors
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:985
low System graph software Dead code conf 1.00 Possibly dead Python function: cb_employee
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:1062
low System graph software Dead code conf 1.00 Possibly dead Python function: cb_goto
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:999
low System graph software Dead code conf 1.00 Possibly dead Python function: cb_lowstock
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:971
low System graph software Dead code conf 1.00 Possibly dead Python function: cb_stats
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:930
low System graph software Dead code conf 1.00 Possibly dead Python function: cb_tasks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:909
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_broadcast
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:1131
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_debtors
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:872
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_employee
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:1044
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_employees
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:1023
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_low_stock
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:863
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_report
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:890
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_sales
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:881
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_start
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:811
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_stats
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:830
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_tasks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:899
low System graph software Dead code conf 1.00 Possibly dead Python function: cmd_tasks
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/master_bot.py:1603
low System graph software Dead code conf 1.00 Possibly dead Python function: emit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/config/error_notify.py:36
low System graph software Dead code conf 1.00 Possibly dead Python function: fmt_date
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/admin_bot.py:25
low System graph software Dead code conf 1.00 Possibly dead Python function: on_start_v2
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/master_bot.py:907
low System graph software Dead code conf 1.00 Possibly dead Python function: send_broadcast
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/broadcast_service.py:46
low System graph software Dead code conf 1.00 Possibly dead Python function: t
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/apps/telegram_broadcast/i18n.py:114
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph quality Integrity conf 1.00 Stub function `noop_reverse` (body is just `pass`/`return`) — backend/apps/products/migrations/0012_backfill_balance_after.py:32
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `reverse_migrate` (body is just `pass`/`return`) — backend/apps/products/migrations/0007_dual_stock_fields.py:15
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph api Wiring conf 1.00 Unused endpoint: ANY /^media/(?P<path>.*)$
`backend/config/urls.py` declares `ANY /^media/(?P<path>.*)$` 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: ANY /admin/
`backend/config/urls.py` declares `ANY /admin/` 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: ANY /api/auth/
`backend/config/urls.py` declares `ANY /api/auth/` 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: ANY /api/auth/login/
`backend/apps/users/urls.py` declares `ANY /api/auth/login/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/auth/logout/
`backend/apps/users/urls.py` declares `ANY /api/auth/logout/` 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: ANY /api/auth/me/
`backend/apps/users/urls.py` declares `ANY /api/auth/me/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/auth/users/
`backend/apps/users/urls.py` declares `ANY /api/auth/users/` 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: ANY /api/auth/users/<int:pk>/
`backend/apps/users/urls.py` declares `ANY /api/auth/users/<int:pk>/` 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: ANY /api/backup/
`backend/config/urls.py` declares `ANY /api/backup/` 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: ANY /api/backup/<int:pk>/delete/
`backend/apps/backup/urls.py` declares `ANY /api/backup/<int:pk>/delete/` 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: ANY /api/backup/<int:pk>/download/
`backend/apps/backup/urls.py` declares `ANY /api/backup/<int:pk>/download/` 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: ANY /api/backup/available-models/
`backend/apps/backup/urls.py` declares `ANY /api/backup/available-models/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/backup/create/
`backend/apps/backup/urls.py` declares `ANY /api/backup/create/` 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: ANY /api/backup/import/
`backend/apps/backup/urls.py` declares `ANY /api/backup/import/` 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: ANY /api/backup/preview-import/
`backend/apps/backup/urls.py` declares `ANY /api/backup/preview-import/` 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: ANY /api/branches/
`backend/config/urls.py` declares `ANY /api/branches/` 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: ANY /api/broadcast/
`backend/config/urls.py` declares `ANY /api/broadcast/` 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: ANY /api/broadcast/<int:pk>/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/<int:pk>/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/<int:pk>/cancel/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/<int:pk>/cancel/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/<int:pk>/recipients/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/<int:pk>/recipients/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/<int:pk>/resend/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/<int:pk>/resend/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/individual/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/individual/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/schedule/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/schedule/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/send/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/send/` 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: ANY /api/broadcast/templates/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/templates/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/broadcast/templates/<int:pk>/
`backend/apps/telegram_broadcast/urls.py` declares `ANY /api/broadcast/templates/<int:pk>/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/currency/
`backend/config/urls.py` declares `ANY /api/currency/` 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: ANY /api/debts/
`backend/config/urls.py` declares `ANY /api/debts/` 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: ANY /api/expenses/
`backend/config/urls.py` declares `ANY /api/expenses/` 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: ANY /api/hr/
`backend/config/urls.py` declares `ANY /api/hr/` 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: ANY /api/loyalty/
`backend/config/urls.py` declares `ANY /api/loyalty/` 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: ANY /api/loyalty/<int:pk>/
`backend/apps/loyalty/urls.py` declares `ANY /api/loyalty/<int:pk>/` 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: ANY /api/loyalty/<int:pk>/adjust-bonus/
`backend/apps/loyalty/urls.py` declares `ANY /api/loyalty/<int:pk>/adjust-bonus/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/loyalty/search/<str:card_number>/
`backend/apps/loyalty/urls.py` declares `ANY /api/loyalty/search/<str:card_number>/` 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 consum…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/loyalty/transactions/
`backend/apps/loyalty/urls.py` declares `ANY /api/loyalty/transactions/` 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: ANY /api/notifications/
`backend/config/urls.py` declares `ANY /api/notifications/` 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: ANY /api/printer/
`backend/config/urls.py` declares `ANY /api/printer/` 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: ANY /api/products/
`backend/config/urls.py` declares `ANY /api/products/` 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: ANY /api/purchases/
`backend/config/urls.py` declares `ANY /api/purchases/` 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: ANY /api/reports/
`backend/config/urls.py` declares `ANY /api/reports/` 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: ANY /api/sales/
`backend/config/urls.py` declares `ANY /api/sales/` 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: ANY /api/services/
`backend/config/urls.py` declares `ANY /api/services/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/shifts/
`backend/config/urls.py` declares `ANY /api/shifts/` 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: ANY /api/system-settings/
`backend/config/urls.py` declares `ANY /api/system-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: ANY /api/tasks/
`backend/config/urls.py` declares `ANY /api/tasks/` 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: ANY /api/telegram/
`backend/config/urls.py` declares `ANY /api/telegram/` 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: ANY /api/telegram/<str:bot_type>/
`backend/apps/telegram_settings/urls.py` declares `ANY /api/telegram/<str:bot_type>/` 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 consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/telegram/<str:bot_type>/save/
`backend/apps/telegram_settings/urls.py` declares `ANY /api/telegram/<str:bot_type>/save/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/telegram/<str:bot_type>/test/
`backend/apps/telegram_settings/urls.py` declares `ANY /api/telegram/<str:bot_type>/test/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: ANY /api/telegram/<str:bot_type>/toggle/
`backend/apps/telegram_settings/urls.py` declares `ANY /api/telegram/<str:bot_type>/toggle/` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting wh…
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: backend/apps/telegram_broadcast/master_bot.py (1945 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: frontend/src/pages/pos/POSPage.jsx (3229 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/94563d7f-a831-42a4-8f4e-ad1cb9745b69/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/94563d7f-a831-42a4-8f4e-ad1cb9745b69/

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.