← Back to scan
File as GitHub Issue repo: HKUDS/ViMax

Push this scan report to HKUDS/ViMax

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

`self.working_dir` used but never assigned in __init__

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
HIGH MINED108 [MINED108] `self.embeddings` used but never assigned in __init__: Method `__call__` of cl… pipelines/novel2movie_pipeline.py:154
HIGH MINED108 [MINED108] `self.novel_compressor` used but never assigned in __init__: Method `__call__`… pipelines/novel2movie_pipeline.py:42
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:510
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:394
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:299
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:233
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:147
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:146
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:102
HIGH MINED108 [MINED108] `self.working_dir` used but never assigned in __init__: Method `__call__` of c… pipelines/novel2movie_pipeline.py:35
HIGH MINED108 [MINED108] `self.start_time` used but never assigned in __init__: Method `__exit__` of cl… utils/timer.py:49
HIGH MINED108 [MINED108] `self.start_time` used but never assigned in __init__: Method `__enter__` of c… utils/timer.py:39
HIGH MINED108 [MINED108] `self.start_time` used but never assigned in __init__: Method `__enter__` of c… utils/timer.py:38
HIGH MINED106 [MINED106] Phantom test coverage: test_sleep: Test function `test_sleep` runs code but co… utils/timer.py:67
HIGH MINED108 [MINED108] `self.line` used but never assigned in __init__: Method `__str__` of class `Sh… interfaces/shot_description.py:91
HIGH MINED108 [MINED108] `self.emotion` used but never assigned in __init__: Method `__str__` of class … interfaces/shot_description.py:91
HIGH MINED108 [MINED108] `self.speaker` used but never assigned in __init__: Method `__str__` of class … interfaces/shot_description.py:91
HIGH MINED108 [MINED108] `self.sound_effect` used but never assigned in __init__: Method `__str__` of c… interfaces/shot_description.py:89
HIGH MINED108 [MINED108] `self.speaker` used but never assigned in __init__: Method `__str__` of class … interfaces/shot_description.py:90
HIGH MINED108 [MINED108] `self.sound_effect` used but never assigned in __init__: Method `__str__` of c… interfaces/shot_description.py:88
HIGH MINED108 [MINED108] `self.speaker` used but never assigned in __init__: Method `__str__` of class … interfaces/shot_description.py:86
HIGH MINED108 [MINED108] `self.sound_effect` used but never assigned in __init__: Method `__str__` of c… interfaces/shot_description.py:86
HIGH MINED108 [MINED108] `self.extract_next_event` used but never assigned in __init__: Method `__call_… agents/event_extractor.py:103
HIGH MINED108 [MINED108] `self.compress_single_novel_chunk` used but never assigned in __init__: Method… agents/novel_compressor.py:118
HIGH MINED108 [MINED108] `self.query_video_generation_task` used but never assigned in __init__: Method… tools/video_generator_doubao_seedance_y…:176
HIGH MINED108 [MINED108] `self.create_video_generation_task` used but never assigned in __init__: Metho… tools/video_generator_doubao_seedance_y…:175
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … utils/video.py:11
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … utils/image.py:15
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … utils/image.py:43
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … interfaces/image_output.py:49
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… interfaces/video_output.py:23
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… interfaces/image_output.py:35
MED MINED109 [MINED109] Mutable default argument in `generate_single_image` (list): `def generate_sing… tools/image_generator_doubao_seedream_y…:25
MED MINED109 [MINED109] Mutable default argument in `generate_single_image` (list): `def generate_sing… tools/image_generator_nanobanana_google…:29
MED MINED109 [MINED109] Mutable default argument in `generate_single_image` (list): `def generate_sing… tools/image_generator_nanobanana_yunwu_…:30
MED MINED109 [MINED109] Mutable default argument in `generate_single_video` (list): `def generate_sing… tools/video_generator_veo_yunwu_api.py:40
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… tools/video_generator_veo_google_api.py:61
MED COMP001 [COMP001] High cognitive complexity: Function `generate_single_image` has cognitive compl… tools/image_generator_nanobanana_google…:29
MED COMP001 [COMP001] High cognitive complexity: Function `construct_camera_tree` has cognitive compl… agents/camera_image_generator.py:121
MED CORE_NO_CI No CI/CD configuration found
LOW COMP001 [COMP001] High cognitive complexity: Function `generate_character_portraits` has cognitiv… pipelines/idea2video_pipeline.py:74
LOW AIC003 Duplicated implementation block across source files pipelines/script2video_pipeline.py:37
LOW AIC003 Duplicated implementation block across source files agents/script_planner.py:158
LOW AIC003 Duplicated implementation block across source files agents/global_information_planner.py:97
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… utils/video.py:11
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… utils/image.py:15
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. tools/render_backend.py:22
INFO MINED063 [MINED063] Toctou Os Path Exists: if os.path.exists(p): open(p) — file can be replaced/de… pipelines/idea2video_pipeline.py:58
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… pipelines/idea2video_pipeline_deprecate…:15
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… pipelines/idea2video_pipeline.py:157
Reset to top 5 50 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `HKUDS/ViMax`

**Score: 89/100 (B-)**  ·  50 findings  ·  scanned 2026-05-20 00:19 UTC  ·  6,187 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 32 |
| MEDIUM | 8 |
| LOW | 4 |

📊 [Full filterable report](https://repobility.com/scan/99b4aa28-a388-4d28-b169-2e7309b85809/)  ·  ![scorecard](https://repobility.com/scan/99b4aa28-a388-4d28-b169-2e7309b85809/report.png?v=1779236372-s2)

### Top findings

1. **HIGH** `MINED108` — `self.embeddings` used but never assigned in __init__
   `pipelines/novel2movie_pipeline.py:154` · ✓ Repobility
2. **HIGH** `MINED108` — `self.novel_compressor` used but never assigned in __init__
   `pipelines/novel2movie_pipeline.py:42` · ✓ Repobility
3. **HIGH** `MINED108` — `self.working_dir` used but never assigned in __init__
   `pipelines/novel2movie_pipeline.py:510` · ✓ Repobility
4. **HIGH** `MINED108` — `self.working_dir` used but never assigned in __init__
   `pipelines/novel2movie_pipeline.py:394` · ✓ Repobility
5. **HIGH** `MINED108` — `self.working_dir` used but never assigned in __init__
   `pipelines/novel2movie_pipeline.py:299` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/99b4aa28-a388-4d28-b169-2e7309b85809/_
Megaproject â high spam risk
Could not determine 'HKUDS/ViMax' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.