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.
60 of your 78 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

hacksider/Deep-Live-Cam

https://github.com/hacksider/Deep-Live-Cam · scanned 2026-06-05 06:52 UTC (6 days ago) · 10 languages

206 raw signals (74 security + 132 graph) 11/13 scanners ran 45th percentile · Python · small (2-20K LoC) System graph score 95 (lower by 30)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 6 days ago · v2 · 68 actionable findings from 2 signal sources. 72 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 75.0 0.15 11.25
security_score 100.0 0.25 25.00
testing_score 17.0 0.20 3.40
documentation_score 76.0 0.15 11.40
practices_score 60.0 0.15 9.00
code_quality 49.0 0.10 4.90
Overall 1.00 65.0
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade B- (65/100). Dimensions: security 100, maintainability 75. 74 findings (3 security). 7,901 lines analyzed.

Showing 54 of 68 actionable findings. 140 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 Security checks quality Quality conf 1.00 ✓ Repobility [MINED107] Missing import: `io` used but not imported: The file uses `io.something(...)` but never imports `io`. This raises NameError at runtime the first time the line executes.
Add `import io` at the top of the file.
modules/processors/frame/face_swapper.py:399
high Security checks quality Quality conf 1.00 ✓ Repobility 25 occurrences [MINED108] `self.source_label` used but never assigned in __init__: Method `_build_image_row` of class `MainWindow` reads `self.source_label`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self.source_label = <default>` in __init__, or add a class-level default.
3 files, 25 locations
modules/ui.py:518, 519, 521, 522, 525, 526, 527, 528, +13 more (21 hits)
modules/ui_tooltip.py:24, 25, 66 (3 hits)
modules/video_capture.py:98
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `astral-sh/ruff-action` pinned to mutable ref `@v4.0.0`: `uses: astral-sh/[email protected]` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-ch…
.github/workflows/ruff.yml:13 CI/CD securitySupply chainGitHub Actions
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility GitHub Action is tag-pinned rather than SHA-pinned
[MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout@v4` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lo…
.github/workflows/ruff.yml:12 CI/CD securitySupply chainGitHub Actions
high System graph security security conf 1.00 Insecure pattern 'eval_used' in modules/tkinter_fix.py:13
Found a known-risky pattern (eval_used). Review and replace if possible.
modules/tkinter_fix.py:13 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in tkinter_fix.py:16
Found a known-risky pattern (eval_used). Review and replace if possible.
tkinter_fix.py:16 Eval used
medium Security checks quality Practices conf 1.00 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build artifacts.
Add a .gitignore appropriate for your language/framework.
low Security checks quality Error handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
modules/gpu_processing.py:48
low Security checks quality Quality conf 1.00 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws — wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated.
Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows.
modules/platform_info.py:23
low Security checks quality Error handling conf 0.55 ✓ Repobility 25 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
12 files, 24 locations
modules/processors/frame/face_swapper.py:172, 423, 561, 1032 (4 hits)
modules/video_capture.py:72, 108, 154 (3 hits)
modules/platform_info.py:26, 34 (2 hits)
modules/processors/frame/_onnx_enhancer.py:110, 136 (2 hits)
modules/processors/frame/face_enhancer_gpen256.py:74, 79 (2 hits)
modules/processors/frame/face_enhancer_gpen512.py:74, 79 (2 hits)
modules/processors/frame/face_masking.py:411, 543 (2 hits)
modules/ui.py:408, 794 (2 hits)
Error handlingquality
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — modules/utilities.py:297
`urllib.request.urlopen(...)` 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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
1 test file(s) for 33 source file(s) (ratio 0.03). Consider adding integration or unit tests for critical paths.
Coverage
low Security checks quality Quality conf 0.64 Duplicate top-level symbol appears in a patch-style file
Keep one authoritative implementation, update imports to point at it, and remove or rename the duplicate symbol.
modules/tkinter_fix.py:1
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
modules/processors/frame/face_enhancer_gpen512.py:8 duplicationquality
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
tkinter_fix.py:3 duplicationquality
high Security checks quality Quality conf 0.62 Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
modules/tkinter_fix.py:1
high Security checks quality Quality conf 0.62 Source file name looks like an AI patch artifact
Rename it to the domain concept it implements or merge it into the existing module it was meant to change.
tkinter_fix.py:1
low System graph software Dead code candidate conf 1.00 File has no detected symbols: modules/custom_types.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: modules/globals.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: modules/metadata.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: modules/paths.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: modules/run.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: modules/typing.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: run.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
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: tkinter_fix.py:apply_patch, modules/tkinter_fix.py:apply_patch 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.
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: modules/ui.py:set_status, modules/ui.py:set_status, modules/ui.py:set_status This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `process_frame_v2` in modules/processors/frame/face_enhancer.py:392
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 `process_frame_v2` in modules/processors/frame/face_enhancer_gpen256.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 quality Integrity conf 1.00 Old/deprecated-named symbol `process_frame_v2` in modules/processors/frame/face_enhancer_gpen512.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 quality Integrity conf 1.00 Old/deprecated-named symbol `process_frame_v2` in modules/processors/frame/face_swapper.py:771
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 `process_frame_v2` in modules/ui.py:1139
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 `source_path_deprecated` in modules/core.py:65
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 `t_copy` in benchmark_pipeline.py:113
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: apply_mask_area
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/processors/frame/face_masking.py:424
low System graph software Dead code conf 1.00 Possibly dead Python function: camera_backends
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/platform_info.py:45
low System graph software Dead code conf 1.00 Possibly dead Python function: capture_thread
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
benchmark_pipeline.py:75
low System graph software Dead code conf 1.00 Possibly dead Python function: closeEvent
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/ui.py:1227
low System graph software Dead code conf 1.00 Possibly dead Python function: create_eyebrows_mask
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/processors/frame/face_masking.py:288
low System graph software Dead code conf 1.00 Possibly dead Python function: create_eyes_mask
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/processors/frame/face_masking.py:150
low System graph software Dead code conf 1.00 Possibly dead Python function: draw_mask_visualization
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/processors/frame/face_masking.py:508
low System graph software Dead code conf 1.00 Possibly dead Python function: dump_faces
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/face_analyser.py:353
low System graph software Dead code conf 1.00 Possibly dead Python function: imread_unicode
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/__init__.py:6
low System graph software Dead code conf 1.00 Possibly dead Python function: imwrite_unicode
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/__init__.py:10
low System graph software Dead code conf 1.00 Possibly dead Python function: is_gpu_accelerated
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/gpu_processing.py:281
low System graph software Dead code conf 1.00 Possibly dead Python function: patched_init
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tkinter_fix.py:11
low System graph software Dead code conf 1.00 Possibly dead Python function: patched_init
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/tkinter_fix.py:8
low System graph software Dead code conf 1.00 Possibly dead Python function: predict_frame
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/predicter.py:15
low System graph software Dead code conf 1.00 Possibly dead Python function: predict_video
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/predicter.py:35
low System graph software Dead code conf 1.00 4 occurrences Possibly dead Python function: process_frames
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
4 files, 4 locations
modules/processors/frame/face_enhancer.py:397
modules/processors/frame/face_enhancer_gpen256.py:101
modules/processors/frame/face_enhancer_gpen512.py:101
modules/processors/frame/face_swapper.py:900
low System graph software Dead code conf 1.00 Possibly dead Python function: resolve_relative_path
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/utilities.py:315
low System graph software Dead code conf 1.00 Possibly dead Python function: set_frame_callback
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
modules/video_capture.py:157
low System graph quality Complexity conf 1.00 Very large file: modules/processors/frame/face_swapper.py (1570 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: modules/ui.py (1537 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/932f47e2-2b6a-481c-8560-d9bd8e94e34f/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/932f47e2-2b6a-481c-8560-d9bd8e94e34f/

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.