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.

chamm-p/mediasearch

https://github.com/chamm-p/mediasearch · scanned 2026-06-17 01:47 UTC (1 month, 1 week ago)

33 raw signals (0 security + 33 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ +8.8 (diff) · 30 actionable findings from 1 signal source. 3 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 85.5/100 with 77.8% coverage. It contains 188 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 33 findings — concentrated in security (19), quality (10), software (4). Risk profile is high: 0 critical, 17 high, 3 medium. Recommended next step: open the security layer findings first — that's where the highest-impact wins live.

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

high System graph security auth conf 1.00 FastAPI POST `api_db_optimize` without auth dependency — serve.py:961
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:961 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_dedupe_start` without auth dependency — serve.py:858
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:858 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_duplicates_delete` without auth dependency — serve.py:1500
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:1500 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_endpoints_toggle` without auth dependency — serve.py:230
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:230 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_llm_check` without auth dependency — serve.py:248
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:248 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_lora_export` without auth dependency — serve.py:1537
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:1537 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_normalize` without auth dependency — serve.py:725
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:725 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_open` without auth dependency — serve.py:1335
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:1335 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_play` without auth dependency — serve.py:1634
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:1634 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_players_stop` without auth dependency — serve.py:580
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:580 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_rescan` without auth dependency — serve.py:870
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:870 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_retag_selected` without auth dependency — serve.py:796
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:796 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_set_settings` without auth dependency — serve.py:621
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:621 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_tagger_start` without auth dependency — serve.py:765
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:765 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_tagger_stop` without auth dependency — serve.py:880
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:880 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_tags_apply` without auth dependency — serve.py:676
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:676 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_viewed` without auth dependency — serve.py:597
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
serve.py:597 securityAuth fastapi unauth mutation
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in index.html:984
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
index.html:984 Direct innerhtml assignment
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 5 source file(s) (ratio 0.00). 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: ci, tests. 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 29 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: thumbs.py:cmd_thumbs, dedupe.py:cmd_dedupe 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.
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `old_legacy` in serve.py:1694
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: clear_context_cache
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
common.py:162
low System graph software Dead code conf 1.00 Possibly dead Python function: key
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tag.py:423
low System graph software Dead code conf 1.00 Possibly dead Python function: render
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
serve.py:55
low System graph software Dead code conf 1.00 Possibly dead Python function: tag_one
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tag.py:597
low System graph quality Complexity conf 1.00 Very large file: serve.py (1704 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/2a5c1a63-065e-45e4-9976-e48a77e1ff2e/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/2a5c1a63-065e-45e4-9976-e48a77e1ff2e/

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.