AutoBangumi - 全自动追番工具
This report summarizes scanner evidence for EstrellaXD/Auto_Bangumi, a Python project with 8,316 GitHub stars. SynthScan examined 163,175 lines of code across 1072 source files, recording 2816 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 24.9 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1797 finding(s).
Are imports declared and package/API names verified? 278 finding(s).
Are wrappers, guards, and repeated structures necessary? 2480 finding(s).
Which changes need focused human review? 2816 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2816 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/src/test/test_searcher.py | 13 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_searcher.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_searcher.py | 122 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_searcher.py | 124 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_searcher.py | 269 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_searcher.py | 271 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_api_bangumi.py | 58 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_api_bangumi.py | 60 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 83 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 85 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 112 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 114 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 168 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_bangumi.py | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 88 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 90 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 313 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_mcp_resources.py | 315 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_mcp_resources.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_mcp_resources.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_mcp_resources.py | 369 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_mcp_resources.py | 371 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_loops.py | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_loops.py | 31 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_loops.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_loops.py | 77 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_loops.py | 141 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_loops.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_loops.py | 245 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_loops.py | 247 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_health.py | 11 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/test_api_health.py | 13 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_api_health.py | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/test_api_health.py | 32 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/conftest.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | backend/src/test/conftest.py | 25 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 81 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 137 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 139 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 156 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 158 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 184 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 222 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 224 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 255 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 292 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | backend/src/test/conftest.py | 294 | # --------------------------------------------------------------------------- | COMMENT |
| 406 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/src/ab_sdk/testing.py | 161 | def test_client_implements_core_protocol(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 164 | def test_capabilities_are_declared(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 169 | def test_declared_capabilities_have_methods(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 178 | def test_auth_succeeds_and_logout_is_safe(self) -> None: | CODE |
| LOW | backend/src/ab_sdk/testing.py | 190 | def test_add_torrents_returns_accepted_result(self) -> None: | CODE |
| LOW | backend/src/ab_sdk/testing.py | 203 | def test_query_unknown_torrent_is_not_found(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 271 | def test_target_name_is_relative_path_inside_torrent(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 278 | def test_target_name_keeps_file_suffix(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 282 | def test_target_name_is_deterministic(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 311 | def test_send_episode_message_returns_true(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 315 | def test_send_event_message_returns_true(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 319 | def test_test_returns_success_and_message(self) -> None: | CODE |
| LOW⚡ | backend/src/ab_sdk/testing.py | 324 | def test_rejected_message_returns_false_without_raising(self) -> None: | CODE |
| LOW | backend/src/ab_sdk/testing.py | 343 | def test_url_template_has_one_keyword_placeholder(self) -> None: | CODE |
| LOW | backend/src/ab_sdk/testing.py | 349 | def test_parser_is_known_metadata_source(self) -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 37 | def test_pr_workflow_runs_for_every_pull_request() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 49 | def test_pr_workflow_expands_to_four_stable_fifteen_minute_checks() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 66 | def test_pr_jobs_use_unique_stack_and_work_directory_names() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 85 | def test_pr_commands_match_the_repository_entry_points() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 110 | def test_pr_dependencies_and_generated_outputs_are_cached() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 138 | def test_pr_browser_runs_have_zero_retries_and_fourteen_day_artifacts() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 160 | def test_nightly_is_non_pr_non_blocking_and_repeats_fresh_stacks() -> None: | CODE |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 196 | def test_readme_documents_local_operation_and_maintenance() -> None: | CODE |
| LOW⚡ | backend/src/test/test_searcher.py | 63 | def test_unsupported_site_raises(self): | CODE |
| LOW⚡ | backend/src/test/test_searcher.py | 68 | def test_keyword_sanitization(self): | CODE |
| LOW⚡ | backend/src/test/test_searcher.py | 75 | def test_multiple_keywords_joined(self): | CODE |
| LOW | backend/src/test/test_searcher.py | 94 | def test_uses_providers_declared_parser(self): | CODE |
| LOW | backend/src/test/test_searcher.py | 106 | def test_mikan_site_uses_declared_parser_not_hardcoded(self): | CODE |
| LOW | backend/src/test/test_searcher.py | 205 | async def test_keyword_keeps_season_but_drops_episode(self, title, keyword): | CODE |
| LOW | backend/src/test/test_searcher.py | 229 | def test_legacy_season_raw_drops_episode(self, season_raw, keyword): | CODE |
| LOW | backend/src/test/test_searcher.py | 250 | def test_supports_movie_without_season_fields(self): | CODE |
| LOW | backend/src/test/test_searcher.py | 284 | def test_reset_cache_clears_poster_cache(self): | CODE |
| LOW | backend/src/test/test_searcher.py | 296 | async def test_poster_cache_evicts_oldest_when_full(self, monkeypatch): | CODE |
| LOW | backend/src/test/test_searcher.py | 318 | async def test_search_result_uses_configured_tmdb_language(self, monkeypatch): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 34 | def test_compose_files_are_isolated_and_use_random_loopback_ports(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 59 | def test_support_service_images_are_pinned_and_dependency_free(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 72 | def test_qbittorrent_fixture_has_fixed_credentials_and_disables_peer_discovery(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 89 | def test_build_context_stages_dist_and_version_without_touching_source(tmp_path): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 128 | def test_build_inputs_ignore_tracked_files_deleted_in_the_worktree( | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 145 | def test_build_command_uses_only_the_temporary_context(tmp_path): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 160 | def test_stack_builds_unique_compose_commands_and_environment(tmp_path): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 211 | def test_stack_parses_dynamic_compose_ports(output, expected): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 216 | def test_qb_runtime_contract_checks_credentials_and_deterministic_preferences(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 280 | def test_run_with_stack_always_stops_after_command_failure(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 307 | def test_run_with_stack_stops_after_start_failure(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 329 | def test_partial_compose_start_collects_before_teardown(tmp_path, monkeypatch): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 360 | def test_run_with_stack_handles_sigterm_and_restores_handlers(monkeypatch): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 410 | def test_artifact_redaction_removes_credentials_and_tokens(): | CODE |
| LOW | backend/src/test/test_e2e_stack_contract.py | 429 | def test_static_audit_reports_fixed_ports_floating_images_and_blind_waits(tmp_path): | CODE |
| LOW⚡ | backend/src/test/test_api_bangumi.py | 65 | def test_get_all_unauthorized(self, unauthed_client): | CODE |
| LOW⚡ | backend/src/test/test_api_bangumi.py | 71 | def test_get_by_id_unauthorized(self, unauthed_client): | CODE |
| LOW | backend/src/test/test_api_bangumi.py | 155 | def test_update_partial_body_rejected(self, authed_client): | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 39 | def test_span_is_half_open_and_validated() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 50 | def test_resolution_is_independent_of_input_order() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 83 | def test_movie_rejects_ambiguous_number_as_title_without_masking_it() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 113 | def test_overlapping_shadowed_field_reports_conflict_without_extra_mask() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 139 | def test_partially_overlapping_same_field_does_not_mask_loser_only_text() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 156 | def test_different_fields_on_overlapping_exclusive_spans_are_rejected() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 179 | def test_shared_overlay_allows_explicit_transparent_overlap() -> None: | CODE |
| LOW | backend/src/test/test_tokenizer_resolver.py | 204 | def test_shadowed_candidate_can_keep_its_span_in_title() -> None: | CODE |
| 1678 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/scripts/benchmark_tokenizer.py | 9 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 8 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 9 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 10 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 10 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 11 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 11 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 11 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 12 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 12 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 12 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 12 | CODE | |
| LOW | backend/src/ab_sdk/__init__.py | 13 | CODE | |
| LOW | backend/src/test/test_e2e_workflow_contract.py | 3 | CODE | |
| LOW | backend/src/test/test_searcher.py | 130 | CODE | |
| LOW | backend/src/test/test_e2e_stack_contract.py | 3 | CODE | |
| LOW | backend/src/test/test_tokenizer_resolver.py | 1 | CODE | |
| LOW | backend/src/test/test_release_parser.py | 8 | CODE | |
| LOW | backend/src/test/test_api_passkey.py | 3 | CODE | |
| LOW | backend/src/test/test_api_passkey.py | 12 | CODE | |
| LOW | backend/src/test/test_release_parser_golden.py | 8 | CODE | |
| LOW | backend/src/test/test_release_parser_properties.py | 8 | CODE | |
| LOW | backend/src/test/test_tokenizer_benchmark.py | 8 | CODE | |
| LOW | backend/src/test/test_e2e_fixture_generation.py | 3 | CODE | |
| LOW | backend/src/test/__init__.py | 1 | CODE | |
| LOW | backend/src/test/test_tokenizer_trace.py | 1 | CODE | |
| LOW | backend/src/test/test_config.py | 521 | CODE | |
| LOW | backend/src/test/test_plugin_events_api.py | 34 | CODE | |
| LOW | backend/src/test/test_mcp_security.py | 5 | CODE | |
| LOW | backend/src/test/test_path_parser.py | 3 | CODE | |
| LOW | backend/src/test/test_movie_parser.py | 1 | CODE | |
| LOW | backend/src/test/test_download_client.py | 3 | CODE | |
| LOW | backend/src/test/test_download_client.py | 13 | CODE | |
| LOW | backend/src/test/test_download_client.py | 13 | CODE | |
| LOW | backend/src/test/test_download_client.py | 14 | CODE | |
| LOW | backend/src/test/test_api_search.py | 3 | CODE | |
| LOW | backend/src/test/test_api_search.py | 3 | CODE | |
| LOW | backend/src/test/test_api_rss.py | 11 | CODE | |
| LOW | backend/src/test/test_api_rss.py | 11 | CODE | |
| LOW | backend/src/test/test_api_rss.py | 11 | CODE | |
| LOW | backend/src/test/test_api_rss.py | 11 | CODE | |
| LOW | backend/src/test/test_rss_analyser_typed_identity.py | 1 | CODE | |
| LOW | backend/src/test/e2e/runtime/conftest.py | 3 | CODE | |
| LOW | …rc/test/e2e/runtime/test_packaged_image_persistence.py | 3 | CODE | |
| LOW | backend/src/test/e2e/downloader/conftest.py | 3 | CODE | |
| LOW | …nd/src/test/e2e/downloader/test_release_image_smoke.py | 3 | CODE | |
| LOW | …kend/src/test/e2e/downloader/test_qb_image_contract.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/worker.py | 8 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/__init__.py | 3 | CODE | |
| LOW | backend/src/test/e2e/support/runtime.py | 10 | CODE | |
| LOW | backend/src/module/searcher/__init__.py | 1 | CODE | |
| LOW | backend/src/module/searcher/__init__.py | 2 | CODE | |
| LOW | backend/src/module/database/rss.py | 4 | CODE | |
| LOW | backend/src/module/database/combine.py | 12 | CODE | |
| 202 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/codex-chatgpt/ab_llm_codex/adapter.py | 52 | except Exception: | CODE |
| LOW | backend/src/boot_overlay.py | 52 | except Exception: | CODE |
| LOW | backend/src/boot_overlay.py | 111 | except Exception: | CODE |
| LOW | backend/src/boot_overlay.py | 261 | except Exception as exc: | CODE |
| LOW | backend/src/boot_overlay.py | 301 | except Exception as exc: # noqa: BLE001 - 验签失败必须拒绝 | CODE |
| LOW | backend/src/boot_overlay.py | 314 | except Exception: # noqa: BLE001 | CODE |
| LOW | backend/src/boot_overlay.py | 395 | except Exception as exc: | CODE |
| LOW | backend/src/boot_overlay.py | 413 | except Exception as exc: | CODE |
| LOW | backend/src/boot_overlay.py | 423 | except Exception as exc: | CODE |
| LOW | backend/src/boot_overlay.py | 437 | except Exception as exc: | CODE |
| LOW | backend/src/boot_overlay.py | 442 | except Exception as exc: | CODE |
| LOW | backend/src/boot_overlay.py | 454 | except Exception as exc: # 绝不阻断启动 | CODE |
| MEDIUM | backend/src/boot_overlay.py | 451 | def main() -> int: | CODE |
| LOW | backend/src/test/e2e/support/runtime.py | 73 | except Exception as exc: # readiness probes intentionally tolerate races | CODE |
| LOW | backend/src/test/e2e/support/runtime.py | 275 | except Exception: | CODE |
| LOW | backend/src/module/searcher/searcher.py | 76 | except Exception as e: | CODE |
| LOW | backend/src/module/database/user.py | 131 | except Exception as e: | CODE |
| LOW | backend/src/module/database/rss.py | 132 | except Exception as e: | CODE |
| LOW | backend/src/module/database/rss.py | 146 | except Exception as e: | CODE |
| MEDIUM | backend/src/module/database/rss.py | 137 | def delete_all(self): | CODE |
| LOW | backend/src/module/database/migrations.py | 1008 | except Exception as e: | CODE |
| LOW | backend/src/module/core/plugin_routes.py | 60 | except Exception as e: | CODE |
| LOW | backend/src/module/core/plugin_routes.py | 86 | except Exception as e: | CODE |
| LOW | backend/src/module/core/context.py | 281 | except Exception: | CODE |
| LOW | backend/src/module/core/context.py | 345 | except Exception as e: | CODE |
| LOW | backend/src/module/core/context.py | 377 | except Exception as e: | CODE |
| LOW | backend/src/module/core/context.py | 383 | except Exception as e: | CODE |
| LOW | backend/src/module/core/offset_scanner.py | 41 | except Exception as e: | CODE |
| LOW | backend/src/module/core/scheduler.py | 71 | except Exception as e: | CODE |
| LOW | backend/src/module/core/plugin_tasks.py | 61 | except Exception as e: | CODE |
| LOW | backend/src/module/core/plugin_tasks.py | 76 | except Exception as e: | CODE |
| LOW | backend/src/module/update/signing.py | 49 | except Exception as exc: # noqa: BLE001 - 验签失败必须拒绝,不得放行 | CODE |
| LOW | backend/src/module/update/v4.py | 149 | except Exception as e: | CODE |
| LOW | backend/src/module/update/startup.py | 43 | except Exception as e: | CODE |
| LOW | backend/src/module/update/updater.py | 309 | except Exception as exc: # 网络错误优雅降级 | CODE |
| LOW | backend/src/module/update/updater.py | 597 | except Exception as exc: # noqa: BLE001 - 任何失败都要优雅返回 | CODE |
| LOW | backend/src/module/update/updater.py | 735 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | backend/src/module/security/auth_strategy.py | 65 | except Exception: | CODE |
| LOW | backend/src/module/security/webauthn.py | 190 | except Exception as e: | CODE |
| LOW | backend/src/module/security/webauthn.py | 286 | except Exception as e: | CODE |
| LOW | backend/src/module/security/webauthn.py | 315 | except Exception as e: | CODE |
| LOW | backend/src/module/security/webauthn.py | 339 | except Exception as e: | CODE |
| LOW | backend/src/module/security/webauthn.py | 354 | except Exception: | CODE |
| LOW | …s/builtin/media-server-refresh/media_server_refresh.py | 112 | except Exception as e: | CODE |
| LOW | …end/src/module/plugins/builtin/rename/rename_plugin.py | 81 | except Exception as e: | CODE |
| LOW | backend/src/module/checker/checker.py | 89 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/template.py | 32 | except Exception: | CODE |
| LOW | backend/src/module/notification/manager.py | 47 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/manager.py | 86 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/manager.py | 131 | except Exception: | CODE |
| LOW | backend/src/module/notification/manager.py | 180 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/webhook.py | 99 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/telegram.py | 73 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/pushover.py | 68 | except Exception: | CODE |
| LOW | backend/src/module/notification/providers/pushover.py | 71 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/discord.py | 68 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/gotify.py | 63 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/bark.py | 67 | except Exception as e: | CODE |
| LOW | …ckend/src/module/notification/providers/server_chan.py | 57 | except Exception as e: | CODE |
| LOW | backend/src/module/notification/providers/wecom.py | 56 | except Exception as e: | CODE |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/main.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/ab_sdk/downloader.py | 130 | async def set_category(self, _hash, category) -> None: ... | CODE |
| LOW | backend/src/ab_sdk/__init__.py | 17 | __all__ = [ | CODE |
| LOW | backend/src/test/test_version_check.py | 72 | def _set_schema(path, version: int) -> None: | CODE |
| LOW | backend/src/test/e2e/support/__init__.py | 13 | __all__ = [ | CODE |
| LOW | backend/src/module/searcher/searcher.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/user.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/rss.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/aria2.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/aria2.py | 123 | async def set_category(self, gid: str, category: str) -> None: | CODE |
| LOW | backend/src/module/database/aria2.py | 176 | async def set_renamed_path(self, gid: str, old_path: str, new_path: str) -> None: | CODE |
| LOW | backend/src/module/database/aria2.py | 193 | async def set_rename_intent(self, gid: str, intent: Aria2RenameIntent) -> None: | CODE |
| LOW | backend/src/module/database/combine.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/bangumi.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/bangumi.py | 60 | def _set_aliases_list(bangumi: Bangumi, aliases: list[str]) -> None: | CODE |
| LOW | backend/src/module/database/torrent.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/passkey.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/llm_credential.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/inbox.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/migrations.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/database/migrations.py | 965 | def set_schema_version(conn: Connection, version: int) -> None: | CODE |
| LOW | backend/src/module/database/movie.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/core/plugin_routes.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/core/__init__.py | 5 | __all__ = ["AppContext", "OffsetScanner", "PeriodicTask", "Scheduler"] | CODE |
| LOW | backend/src/module/core/loops.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/core/loops.py | 63 | async def update_check_tick(notifier: NotificationManager) -> None: | CODE |
| LOW | backend/src/module/core/context.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/core/offset_scanner.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/core/scheduler.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/core/plugin_tasks.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/update/signing.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/update/auth.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/update/v4.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/update/startup.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/update/updater.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/update/updater.py | 202 | def _set_progress(self, **kwargs) -> None: | CODE |
| LOW | backend/src/module/update/version_check.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/security/ip_allowlist.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/security/webauthn.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/security/api.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …odule/plugins/builtin/ingest-filters/ingest_filters.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/checker/checker.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/events.py | 36 | __all__ = [ | CODE |
| LOW | backend/src/module/notification/__init__.py | 18 | __all__ = [ | CODE |
| LOW | backend/src/module/notification/inbox.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/template.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/manager.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/webhook.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/telegram.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/pushover.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/discord.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/__init__.py | 30 | __all__ = [ | CODE |
| LOW | backend/src/module/notification/providers/gotify.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/bark.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ckend/src/module/notification/providers/server_chan.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/notification/providers/wecom.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/network/request_contents.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/network/request_url.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/network/site/mikan.py | 3 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/src/module/rss/metadata.py | 19 | logger = logging.getLogger(__name__) | CODE |
| 65 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/src/test/test_http_perf.py | 101 | except asyncio.CancelledError: | CODE |
| HIGH | backend/src/test/test_auth_persistence.py | 365 | except asyncio.TimeoutError: | CODE |
| HIGH | backend/src/module/core/context.py | 343 | except asyncio.CancelledError: | CODE |
| HIGH | backend/src/module/core/scheduler.py | 77 | except asyncio.CancelledError: | CODE |
| HIGH | backend/src/module/core/scheduler.py | 96 | except asyncio.CancelledError: | CODE |
| HIGH | …s/builtin/media-server-refresh/media_server_refresh.py | 81 | except asyncio.CancelledError: | CODE |
| HIGH | backend/src/module/notification/providers/pushover.py | 68 | except Exception: | CODE |
| HIGH | backend/src/module/plugin/bus.py | 100 | except asyncio.CancelledError: | CODE |
| HIGH | …ckend/src/module/downloader/client/aria2_downloader.py | 166 | except ValueError: | CODE |
| HIGH | backend/src/module/manager/revision_saga.py | 163 | except ValueError: | CODE |
| HIGH | e2e/mock-upstream/server.py | 609 | except KeyboardInterrupt: | CODE |
| HIGH | e2e/port-proxy/server.py | 119 | except KeyboardInterrupt: | CODE |
| HIGH | e2e/fake-qb/server.py | 434 | except KeyboardInterrupt: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | backend/src/test/test_issue_bugs.py | 374 | # Simulates the corrupted state: [null] stored in DB | COMMENT |
| HIGH⚡ | backend/src/test/test_issue_bugs.py | 434 | # Insert corrupted bangumi (title_raw=None, aliases=[null]) | COMMENT |
| HIGH⚡ | backend/src/test/test_issue_bugs.py | 375 | bangumi.title_aliases = "[null]" | CODE |
| HIGH⚡ | backend/src/test/test_issue_bugs.py | 379 | bangumi.title_aliases = '[null, "valid_alias", null, "another"]' | CODE |
| HIGH⚡ | backend/src/test/test_issue_bugs.py | 437 | bangumi.title_aliases = "[null]" | CODE |
| HIGH | backend/src/test/test_issue_bugs.py | 414 | bangumi.title_aliases = "[null]" | CODE |
| HIGH | backend/src/module/parser/analyser/providers/schema.py | 70 | "title_en (string or null), title_zh (string or null), " | STRING |
| HIGH | backend/src/module/parser/analyser/providers/schema.py | 71 | "title_jp (string or null), season (integer), season_raw (string), " | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/codex-chatgpt/ab_llm_codex/adapter.py | 184 | CODE | |
| LOW | backend/src/test/test_plugin_sdk.py | 17 | CODE | |
| LOW | backend/src/test/test_release_parser_properties.py | 107 | CODE | |
| LOW | backend/src/test/test_plugin_cli.py | 43 | CODE | |
| LOW | backend/src/test/test_download_session_reuse.py | 201 | CODE | |
| LOW | backend/src/module/searcher/searcher.py | 84 | CODE | |
| LOW | backend/src/module/database/migrations.py | 974 | CODE | |
| LOW | backend/src/module/update/startup.py | 26 | CODE | |
| LOW | backend/src/module/notification/providers/pushover.py | 49 | CODE | |
| LOW | backend/src/module/network/request_contents.py | 15 | CODE | |
| LOW | backend/src/module/rss/engine.py | 386 | CODE | |
| LOW | backend/src/module/rss/analyser.py | 50 | CODE | |
| LOW | backend/src/module/plugin/secrets.py | 72 | CODE | |
| LOW | backend/src/module/plugin/manager.py | 211 | CODE | |
| LOW | …ckend/src/module/downloader/client/aria2_downloader.py | 370 | CODE | |
| LOW | …ckend/src/module/downloader/client/aria2_downloader.py | 728 | CODE | |
| LOW | backend/src/module/parser/title_parser.py | 388 | CODE | |
| LOW | backend/src/module/parser/analyser/torrent_parser.py | 142 | CODE | |
| LOW | backend/src/module/parser/analyser/tmdb_parser.py | 287 | CODE | |
| LOW | backend/src/module/parser/analyser/tokenizer/parser.py | 490 | CODE | |
| LOW | backend/src/module/parser/analyser/tokenizer/parser.py | 707 | CODE | |
| LOW | backend/src/module/parser/analyser/tokenizer/parser.py | 1061 | CODE | |
| LOW | backend/src/module/parser/analyser/tokenizer/parser.py | 1634 | CODE | |
| LOW | backend/src/module/parser/analyser/tokenizer/classic.py | 258 | CODE | |
| LOW | backend/src/module/manager/torrent.py | 207 | CODE | |
| LOW | backend/src/module/manager/renamer.py | 215 | CODE | |
| LOW | backend/src/module/manager/renamer.py | 308 | CODE | |
| LOW | backend/src/module/manager/renamer.py | 659 | CODE | |
| LOW | backend/src/module/manager/renamer.py | 772 | CODE | |
| LOW | backend/src/module/manager/collector.py | 132 | CODE | |
| LOW | backend/src/module/manager/revision_saga.py | 415 | CODE | |
| LOW | backend/src/module/api/config.py | 46 | CODE | |
| LOW | backend/src/module/api/config.py | 149 | CODE | |
| LOW | backend/src/module/api/log.py | 19 | CODE | |
| LOW | backend/src/module/api/events.py | 265 | CODE | |
| LOW | backend/src/module/conf/config.py | 21 | CODE | |
| LOW | backend/src/module/conf/config.py | 120 | CODE | |
| LOW | e2e/port-proxy/server.py | 62 | CODE | |
| LOW | e2e/scripts/audit_sources.py | 34 | CODE | |
| LOW | e2e/scripts/stack.py | 335 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/src/module/security/webauthn.py | 144 | 验证注册响应并创建 Passkey 对象 Args: username: 用户名 credential: 来自前端的 credential 响应 | STRING |
| HIGH | backend/src/module/security/webauthn.py | 253 | 验证认证响应 Args: username: 用户名 credential: 来自前端的 credential 响应 passkey | STRING |
| HIGH | backend/src/module/security/webauthn.py | 293 | 验证可发现凭证的认证响应(无需用户名) Args: credential: 来自前端的 credential 响应 passkey: 通过 credenti | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | backend/src/test/test_api_bangumi.py | 0 | a stand-in database whose repos can be configured with asyncmocks. | STRING |
| HIGH | backend/src/test/test_api_rss.py | 0 | a stand-in database whose repos can be configured with asyncmocks. | STRING |
| HIGH | backend/src/test/test_api_bangumi_torrents.py | 0 | a stand-in database whose repos can be configured with asyncmocks. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | backend/src/test/test_update.py | 1121 | app.state.ctx.notifier.send_event.assert_awaited_once() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/scripts/pip-lock-version.sh | 14 | # Create a temporary requirements file using pip freeze | COMMENT |
| MEDIUM | backend/src/test/test_database.py | 360 | # Create a semantically similar bangumi (same anime, group changed naming) | COMMENT |
| MEDIUM | backend/src/test/test_rss_engine_new.py | 353 | # Create a mock client | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/scripts/pip-lock-version.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | backend/src/ab_sdk/points.py | 41 | # ``/api/v1/plugins/<plugin-id>/``,强制登录鉴权 | COMMENT |
| LOW | backend/src/ab_sdk/points.py | 61 | # | COMMENT |
| LOW | backend/src/module/update/__init__.py | 1 | # 不在包初始化时 import 子模块:module.conf 在构造 settings 之前要 import | COMMENT |
| LOW | backend/src/module/network/request_url.py | 301 | # *same* instance in flight concurrently (see loops.py gathering | COMMENT |
| LOW | backend/src/module/downloader/download_client.py | 101 | COMMENT | |
| LOW | scripts/dev.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/PULL_REQUEST_TEMPLATE/pull_request_template.md | 1 | ## New | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/src/test/test_database_llm_credential.py | 13 | account_label="user@example.com", | CODE |
| LOW⚡ | backend/src/test/test_database_llm_credential.py | 21 | assert loaded.account_label == "user@example.com" | CODE |
| LOW | webui/src/components/basic/ab-select.vue | 54 | :placeholder="placeholder" | CODE |
| LOW | webui/src/components/basic/ab-input.vue | 68 | :placeholder="placeholder" | CODE |
| LOW | webui/src/components/basic/ab-tags-input.vue | 39 | :placeholder="placeholder" | CODE |
| LOW | webui/src/i18n/zh-CN.json | 792 | "placeholder": "输入关键字搜索", | CODE |
| LOW | webui/src/i18n/en.json | 792 | "placeholder": "Type to search", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | backend/src/test/test_migration.py | 308 | # Set version to current - second run should skip | COMMENT |
| LOW | backend/src/module/parser/analyser/offset_detector.py | 59 | # Check if this season has virtual season breakpoints (detected from air date gaps) | COMMENT |
| LOW | backend/src/module/api/setup.py | 252 | # Check if host is reachable and is qBittorrent | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | backend/src/test/test_mcp_tools.py | 321 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/scripts/pip-lock-version.sh | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/src/module/parser/analyser/tokenizer/parser.py | 207 | CODE |