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.

sinbc2003/general_school

https://github.com/sinbc2003/general_school · scanned 2026-06-16 00:14 UTC (2 months, 2 weeks ago)

255 raw signals (0 security + 255 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 237 actionable findings from 1 signal source. 18 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 66.8/100 with 100.0% coverage. It contains 6230 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 255 findings — concentrated in frontend (95), quality (73), api (52). Risk profile is high: 0 critical, 12 high, 30 medium. Recommended next step: open the frontend layer findings first — that's where the highest-impact wins live.

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

high System graph security Agent instructions conf 1.00 Agent instruction/config may expose a secret: CLAUDE.md
Agent-facing files are routinely pasted into LLM/tool contexts. Move literal tokens, keys, and passwords into a secret manager or document them as placeholders only.
CLAUDE.md:351 SecretsClaude instruction
high System graph api Wiring conf 1.00 Dangling fetch: PATCH /api/feedback/${id} (frontend/src/app/(admin)/system/feedback/page.tsx:57)
`frontend/src/app/(admin)/system/feedback/page.tsx:57` calls `PATCH /api/feedback/${id}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/feedback/<p>` If this points at an external API, prefix it with `https://` so t…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/students/_io/import/${type}?dry_run=${dryRun} (frontend/src/app/(admin)/students/import/page.tsx:42)
`frontend/src/app/(admin)/students/import/page.tsx:42` calls `POST /api/students/_io/import/${type}?dry_run=${dryRun}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/students/_io/import/<p>` If this points at an ext…
Dangling fetchFetch
high System graph security auth conf 1.00 FastAPI POST `put_yjs_snapshot` without auth dependency — backend/app/modules/classroom_sheets/router.py:478
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/classroom_sheets/router.py:478 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `put_yjs_snapshot` without auth dependency — backend/app/modules/tool_board/router.py:565
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/tool_board/router.py:565 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `put_yjs_snapshot` without auth dependency — backend/app/modules/tool_whiteboard/router.py:420
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/tool_whiteboard/router.py:420 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `refresh` without auth dependency — backend/app/modules/auth/session.py:30
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/auth/session.py:30 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `resend_email_code` without auth dependency — backend/app/modules/auth/login_flow.py:307
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/auth/login_flow.py:307 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `save_yjs_snapshot` without auth dependency — backend/app/modules/classroom_docs/hocuspocus.py:71
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/classroom_docs/hocuspocus.py:71 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `save_yjs_snapshot` without auth dependency — backend/app/modules/classroom_slides/hocuspocus.py:63
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/classroom_slides/hocuspocus.py:63 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `verify_email_code` without auth dependency — backend/app/modules/auth/login_flow.py:224
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
backend/app/modules/auth/login_flow.py:224 securityAuth fastapi unauth mutation
high System graph security security conf 1.00 Insecure pattern 'exec_used' in frontend/src/components/docs/EditorContextMenu.tsx:138
Found a known-risky pattern (exec_used). Review and replace if possible.
frontend/src/components/docs/EditorContextMenu.tsx:138 Exec used
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — frontend/src/components/courseware/ProblemContent.tsx:157
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — backend-hocuspocus/src/auth.ts:94
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 — backend-hocuspocus/src/storage.ts:17
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/src/app/(admin)/classroom/[cid]/surveys/[sid]/_components/ResponsesTab.tsx:68
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/src/app/(admin)/students/import/page.tsx:26
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/src/app/(admin)/students/page.tsx:114
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/src/app/(admin)/system/enrollments/_components/CsvUploadModal.tsx:51
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/src/app/(admin)/system/research-supervisors/page.tsx:155
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/src/app/(admin)/system/semesters/_components/SemesterFormModal.tsx:91
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/src/app/(admin)/system/updates/page.tsx:125
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/src/app/(admin)/users/_components/CsvBulkImportModal.tsx:43
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — frontend/src/app/(student)/s/my-portfolio/_components/ArtifactsTab.tsx:94
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/src/app/q/[slug]/page.tsx:38
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/src/components/drive/DriveBackupActions.tsx:36
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/src/components/hwp/HwpEditor.tsx:101
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/src/components/onboarding/steps/Step4Teachers.tsx:121
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/src/components/onboarding/steps/Step5Students.tsx:93
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/src/components/onboarding/steps/Step8Supervisors.tsx:30
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 license. 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 security conf 1.00 Insecure pattern 'dangerous_innerhtml' in frontend/src/components/courseware/ProblemContent.tsx:157
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
frontend/src/components/courseware/ProblemContent.tsx:157 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in frontend/src/components/hwp/HwpEditor.tsx:131
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
frontend/src/components/hwp/HwpEditor.tsx:131 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/app/auth/register/page.tsx:62
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/app/auth/register/page.tsx:62 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/lib/api/client.ts:29
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/lib/api/client.ts:29 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in frontend/src/lib/auth-context.tsx:146
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
frontend/src/lib/auth-context.tsx:146 Local storage auth token
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — backend/app/modules/ai_developer/service.py:481
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 359 placeholder/mock markers across 135 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 network Security conf 1.00 Privileged port 465 in use
Port 465 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
frontend/src/components/system/SmtpSettings.tsx Ports
medium System graph network Security conf 1.00 Privileged port 587 in use
Port 587 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
frontend/src/components/system/SmtpSettings.tsx Ports
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
53 test file(s) for 798 source file(s) (ratio 0.07). Consider adding integration or unit tests for critical paths.
Coverage
low System graph frontend Frontend quality conf 1.00 "active" state uses light bg in a dark theme — frontend/src/components/docs/SlashCommand.tsx:207
A ternary like `active ? 'bg-white' : '...'` (or bg-gray-100/200) on a dark theme produces jarring white pills. Use a dark-emphasized active state instead — border + ring or slightly brighter dark bg. Example: `active ? 'bg-gray-800 border-gray-500 ring-1 ring-blue-500/30' : '…'`. Why: P-E in CHEC…
Fq active light bg
low System graph quality Integrity conf 1.00 12 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `BACKEND_PROXY_URL`, `BACKUP_DEST`, `CSRF_ENFORCE`, `GITHUB_UPDATE_BRANCH`, `GITHUB_UPDATE_REPO`, `GITHUB_UPDATE_TOKEN`, `INTERNAL_API_URL`, `NEXT_PUBLIC_API_URL` + 4 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't…
config drift
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 109 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/app/(admin)/classroom/[cid]/surveys/page.tsx:201
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/admin/ClubAssignmentModal.tsx:70
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/timetable/MyEventsModal.tsx:149
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 quality Integrity conf 1.00 19 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: backend/app/main.py:health, backend/app/modules/system/router.py:health 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.
19 occurrences
repo-level (19 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: backend/app/modules/drive/router.py:soft_delete_item, backend/app/modules/drive/router.py:restore_item, backend/app/modules/drive/router.py:permanent_delete_item, backend/app/modules/drive/favorites.py:toggle_favorite This is *the* AI-coder failure m…
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 `collab_precaution_seen_v1` in frontend/src/components/collab/CollabPrecautionModal.tsx:25
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 `deleted_old` in backend/app/core/backup_scheduler.py:238
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 `download_my_drive_backup` in backend/app/modules/drive/backup.py:688
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 `export_backup` in backend/app/modules/system/backup.py:33
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 `start_backup` in backend/app/main.py:80
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 `student_copy` in backend/app/modules/classroom/router.py:731
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 `student_copy` in backend/app/modules/classroom/student_copy.py:15
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 `student_copy` in backend/app/services/attachment_share.py:8
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 `test_restore_warns_on_extra_table_in_backup` in backend/tests/test_backup_roundtrip.py:143
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 `test_v2` in backend/tests/test_filename_normalize.py:175
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 `truly_unused` in backend/app/core/permission_registry.py:94
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: archive_prev_semester_background
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/folder_seed.py:614
low System graph software Dead code conf 1.00 Possibly dead Python function: cleanup_shares
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/tool_share.py:108
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_student_pdf
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/report_pdf.py:217
low System graph software Dead code conf 1.00 Possibly dead Python function: grade_pending_for_student
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/llm_grader.py:470
low System graph software Dead code conf 1.00 Possibly dead Python function: grade_problem_set
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/courseware_grader.py:143
low System graph software Dead code conf 1.00 Possibly dead Python function: include_object
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/alembic/env.py:50
low System graph software Dead code conf 1.00 Possibly dead Python function: is_feature_enabled
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/core/features.py:111
low System graph software Dead code conf 1.00 Possibly dead Python function: jaccard
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/text_similarity.py:20
low System graph software Dead code conf 1.00 Possibly dead Python function: require_role
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/core/auth.py:78
low System graph software Dead code conf 1.00 Possibly dead Python function: resolve_grader_model
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/llm_grader.py:277
low System graph software Dead code conf 1.00 Possibly dead Python function: restart_services
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/updates/steps.py:357
low System graph software Dead code conf 1.00 Possibly dead Python function: run_seeds
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/scripts/seed.py:198
low System graph software Dead code conf 1.00 Possibly dead Python function: safe_storage_filename
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/core/upload.py:218
low System graph software Dead code conf 1.00 Possibly dead Python function: start_scheduler
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/core/backup_scheduler.py:294
low System graph software Dead code conf 1.00 Possibly dead Python function: start_scheduler
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/core/notification_scheduler.py:657
low System graph software Dead code conf 1.00 Possibly dead Python function: sync_all_users_background
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/services/folder_seed.py:501
low System graph software Dead code conf 1.00 Possibly dead Python function: verify_csrf
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
backend/app/core/csrf.py:90
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 frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — backend-hocuspocus/src/server.ts:99
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 — frontend/scripts/copy-standalone.js:15
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 — frontend/src/components/docs/CollabEditor.tsx:98
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 — frontend/src/components/ui/Toast.tsx:43
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 api Wiring conf 1.00 Unused endpoint: DELETE /{pid}
`backend/app/modules/tool_poll/router.py` declares `DELETE /{pid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{sid}
`backend/app/modules/classroom_sheets/router.py` declares `DELETE /{sid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{sid}/members/{mid}
`backend/app/modules/classroom_sheets/router.py` declares `DELETE /{sid}/members/{mid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{user_id}
`backend/app/modules/users/crud.py` declares `DELETE /{user_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{wid}
`backend/app/modules/tool_whiteboard/router.py` declares `DELETE /{wid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{wid}/shares/{share_id}
`backend/app/modules/tool_whiteboard/router.py` declares `DELETE /{wid}/shares/{share_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /
`backend/app/modules/tool_whiteboard/router.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /_survey-data/{survey_id}
`backend/app/modules/classroom_sheets/router.py` declares `GET /_survey-data/{survey_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/health
`backend/app/main.py` declares `GET /api/health` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /excel-template
`backend/app/modules/users/bulk.py` declares `GET /excel-template` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /peers
`backend/app/modules/users/crud.py` declares `GET /peers` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /play/{sid}/state
`backend/app/modules/tool_poll/router.py` declares `GET /play/{sid}/state` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sessions
`backend/app/modules/tool_poll/router.py` declares `GET /sessions` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sessions/{sid}
`backend/app/modules/tool_poll/router.py` declares `GET /sessions/{sid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sessions/{sid}/qr.png
`backend/app/modules/tool_poll/router.py` declares `GET /sessions/{sid}/qr.png` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /shared-with-me
`backend/app/modules/tool_whiteboard/router.py` declares `GET /shared-with-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: GET /{pid}
`backend/app/modules/tool_poll/router.py` declares `GET /{pid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{sid}
`backend/app/modules/classroom_sheets/router.py` declares `GET /{sid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{sid}/members
`backend/app/modules/classroom_sheets/router.py` declares `GET /{sid}/members` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{sid}/permission
`backend/app/modules/classroom_sheets/router.py` declares `GET /{sid}/permission` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{sid}/snapshot-state
`backend/app/modules/classroom_sheets/router.py` declares `GET /{sid}/snapshot-state` 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: GET /{sid}/yjs-snapshot
`backend/app/modules/classroom_sheets/router.py` declares `GET /{sid}/yjs-snapshot` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{wid}
`backend/app/modules/tool_whiteboard/router.py` declares `GET /{wid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{wid}/permission
`backend/app/modules/tool_whiteboard/router.py` declares `GET /{wid}/permission` 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 i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{wid}/shares
`backend/app/modules/tool_whiteboard/router.py` declares `GET /{wid}/shares` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{wid}/yjs-snapshot
`backend/app/modules/tool_whiteboard/router.py` declares `GET /{wid}/yjs-snapshot` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /{user_id}/lifecycle
`backend/app/modules/users/lifecycle.py` declares `PATCH /{user_id}/lifecycle` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /
`backend/app/modules/tool_whiteboard/router.py` declares `POST /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /_from-survey/{survey_id}
`backend/app/modules/classroom_sheets/router.py` declares `POST /_from-survey/{survey_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /_quota/bulk
`backend/app/modules/users/quota.py` declares `POST /_quota/bulk` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /bulk-import/confirm
`backend/app/modules/users/bulk.py` declares `POST /bulk-import/confirm` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /bulk-import/validate
`backend/app/modules/users/bulk.py` declares `POST /bulk-import/validate` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /join
`backend/app/modules/tool_poll/router.py` declares `POST /join` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /play/{sid}/respond
`backend/app/modules/tool_poll/router.py` declares `POST /play/{sid}/respond` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /sessions/{sid}/end
`backend/app/modules/tool_poll/router.py` declares `POST /sessions/{sid}/end` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /sessions/{sid}/goto
`backend/app/modules/tool_poll/router.py` declares `POST /sessions/{sid}/goto` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /sessions/{sid}/start
`backend/app/modules/tool_poll/router.py` declares `POST /sessions/{sid}/start` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{pid}/sessions
`backend/app/modules/tool_poll/router.py` declares `POST /{pid}/sessions` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{sid}/members
`backend/app/modules/classroom_sheets/router.py` declares `POST /{sid}/members` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{sid}/snapshot-state
`backend/app/modules/classroom_sheets/router.py` declares `POST /{sid}/snapshot-state` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{sid}/yjs-snapshot
`backend/app/modules/classroom_sheets/router.py` declares `POST /{sid}/yjs-snapshot` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consum…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{user_id}/quota
`backend/app/modules/users/quota.py` declares `POST /{user_id}/quota` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{user_id}/transfer-ownership
`backend/app/modules/users/lifecycle.py` declares `POST /{user_id}/transfer-ownership` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{wid}/duplicate
`backend/app/modules/tool_whiteboard/router.py` declares `POST /{wid}/duplicate` 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 i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{wid}/shares
`backend/app/modules/tool_whiteboard/router.py` declares `POST /{wid}/shares` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{wid}/yjs-snapshot
`backend/app/modules/tool_whiteboard/router.py` declares `POST /{wid}/yjs-snapshot` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /{pid}
`backend/app/modules/tool_poll/router.py` declares `PUT /{pid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /{sid}
`backend/app/modules/classroom_sheets/router.py` declares `PUT /{sid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /{user_id}
`backend/app/modules/users/crud.py` declares `PUT /{user_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PUT /{wid}
`backend/app/modules/tool_whiteboard/router.py` declares `PUT /{wid}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: backend/tests/test_edutools.py (1211 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/app/(admin)/record-writer/[id]/page.tsx (1392 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/components/board/BoardView.tsx (1756 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/e9ad156e-d77d-47af-9375-47b3e721b955/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/e9ad156e-d77d-47af-9375-47b3e721b955/

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.