🚀 自托管的抖音、TikTok、B 站数据采集与无水印视频下载 API,支持 AI agent 通过 MCP 调用与离线语音转文字,Docker 一键部署。| Self-hosted TikTok, Douyin & Bilibili scraper and no-watermark video downloader — async REST API, MCP server for AI agents, CLI and web console, plus offline speech-to-text for downloaded videos. Self-healing identity pool, PostgreSQL archive, one docker compose up.
This report summarizes scanner evidence for Evil0ctal/Douyin_TikTok_Download_API, a Python project with 21,035 GitHub stars. SynthScan examined 227,230 lines of code across 647 source files, recording 4951 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 31.3 (High 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? 3161 finding(s).
Are imports declared and package/API names verified? 684 finding(s).
Are wrappers, guards, and repeated structures necessary? 4100 finding(s).
Which changes need focused human review? 4951 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 4951 distinct pattern matches across 16 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 | docker/compose.yml | 93 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 96 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 206 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 210 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 223 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 225 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 328 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 337 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 472 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | docker/compose.yml | 485 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | install/install.sh | 14 | # ------------------------------------- | COMMENT |
| MEDIUM | install/install.zh.sh | 14 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_ops_masking.py | 17 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_ops_masking.py | 25 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 119 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 121 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 169 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 171 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 219 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 221 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 269 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_tools_sign_stages.py | 271 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_tools_sign_stages.py | 95 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_tools_sign_stages.py | 97 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 47 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 49 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 155 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 157 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 216 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 218 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 244 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_absence_matrix.py | 246 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 273 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 282 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 795 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 797 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 978 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 980 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1038 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1040 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1250 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1252 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1605 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1607 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1972 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 1980 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 2186 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 2188 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 2485 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 2487 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 2640 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_signing.py | 2642 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 121 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 123 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 162 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 164 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 192 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 194 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_worker_ops_identity_test.py | 155 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/test_worker_ops_identity_test.py | 157 | # -------------------------------------------------------------------------- | COMMENT |
| 712 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/browser_rpc/tests/test_validation.py | 43 | def test_allows_platform_hosts(self, url: str) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_validation.py | 58 | def test_rejects_everything_else(self, url: str) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_validation.py | 62 | def test_rejects_cross_platform_url(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_validation.py | 68 | def test_normalizes_host_and_drops_fragment(self) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_validation.py | 96 | def test_rejects_other_schemes(self, url: str) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_validation.py | 100 | def test_allows_private_addresses(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 154 | async def test_returns_cookies_and_fingerprint(self, service: BrowserRpcService) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 160 | async def test_aligns_timezone_with_the_exit(self, service: BrowserRpcService) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 167 | async def test_measured_exit_drives_alignment( | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 228 | async def test_refuses_when_the_backend_never_started( | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 237 | async def test_returns_signature_fields(self, service: BrowserRpcService) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 242 | async def test_the_verb_and_the_body_reach_the_page(self, settings: Settings) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 339 | async def test_warm_pages_go_direct_without_one(self, settings: Settings) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 349 | async def test_rejects_a_url_outside_the_allowlist(self, service: BrowserRpcService) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 355 | async def test_reports_warm_contexts_and_versions(self, settings: Settings) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 556 | async def test_an_anonymous_caller_still_gets_a_signature( | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 566 | def test_the_same_session_is_the_same_binding(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 570 | def test_a_different_jar_is_a_different_binding(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 573 | def test_a_different_exit_is_a_different_binding(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 577 | def test_nothing_at_all_is_the_anonymous_binding(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_service.py | 581 | def test_the_binding_does_not_carry_the_cookies_around(self) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 183 | async def test_profiles_are_single_use_and_removed( | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 195 | async def test_profile_is_removed_after_a_failure(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 207 | async def test_timeout_is_reported_not_hung(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 216 | async def test_concurrent_mints_are_capped(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 272 | async def test_warm_context_is_reused(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 285 | async def test_stale_context_is_rebuilt(self, settings: Settings, clock: Any) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 301 | async def test_broken_page_is_replaced_and_the_call_succeeds(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 312 | async def test_gives_up_after_the_retry(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 321 | async def test_warm_pages_use_the_configured_exit(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 368 | async def test_unstarted_service_answers_anyway( | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 377 | async def test_startup_failure_is_recorded_not_raised(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 406 | async def test_the_signature_names_the_callers_own_visitor(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 425 | async def test_two_identities_never_share_a_page(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 454 | async def test_one_identity_keeps_its_page(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 473 | async def test_the_page_follows_the_identitys_own_exit(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 503 | async def test_rebinding_never_exceeds_the_configured_browser_count( | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 532 | async def test_concurrent_signatures_do_not_overrun_the_budget( | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 598 | async def test_a_crash_while_warming_up_is_retried(self, settings: Settings) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 631 | async def test_a_pool_that_never_opens_still_reports_the_reason( | CODE |
| LOW | docker/browser_rpc/tests/test_service.py | 654 | async def test_a_failed_open_does_not_leak_the_slot(self, settings: Settings) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 55 | def test_hint_wins_over_measured_exit(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 59 | def test_measured_exit_used_without_hint(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 64 | def test_individual_fields_override(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 70 | def test_falls_back_to_default_country(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 74 | def test_unknown_everything_is_still_usable(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 81 | async def test_reads_ip_and_country(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 91 | async def test_goes_through_the_proxy(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 98 | async def test_no_proxy_means_no_proxy_argument(self) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_geo.py | 103 | async def test_disabled_probe_is_silent(self) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_geo.py | 116 | async def test_alternate_field_names(self) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 36 | async def test_returns_the_documented_shape(self, client: httpx.AsyncClient) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_rpc_api.py | 52 | async def test_rejects_an_unknown_platform(self, client: httpx.AsyncClient) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_rpc_api.py | 57 | async def test_rejects_a_proxy_that_is_not_a_proxy(self, client: httpx.AsyncClient) -> None: | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_rpc_api.py | 66 | async def test_signs_with_the_callers_query(self, client: httpx.AsyncClient) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 82 | async def test_a_body_is_signed_and_said_to_be(self, client: httpx.AsyncClient) -> None: | CODE |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 114 | async def test_builds_a_query_when_the_caller_sends_only_params( | CODE |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 135 | async def test_the_callers_cookies_reach_the_signing_page( | CODE |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 159 | async def test_a_caller_that_sends_no_cookies_still_gets_a_signature( | CODE |
| LOW⚡ | docker/browser_rpc/tests/test_rpc_api.py | 170 | async def test_rejects_a_url_off_the_allowlist(self, client: httpx.AsyncClient) -> None: | CODE |
| 2896 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/transcriber/app.py | 3 | CODE | |
| LOW | docker/browser_rpc/geo.py | 19 | CODE | |
| LOW | docker/browser_rpc/service.py | 22 | CODE | |
| LOW | docker/browser_rpc/models.py | 13 | CODE | |
| LOW | docker/browser_rpc/__init__.py | 21 | CODE | |
| LOW | docker/browser_rpc/settings.py | 8 | CODE | |
| LOW | docker/browser_rpc/errors.py | 11 | CODE | |
| LOW | docker/browser_rpc/main.py | 13 | CODE | |
| LOW | docker/browser_rpc/__main__.py | 8 | CODE | |
| LOW | docker/browser_rpc/validation.py | 14 | CODE | |
| LOW | docker/browser_rpc/backends/fake.py | 14 | CODE | |
| LOW | docker/browser_rpc/backends/cloak.py | 36 | CODE | |
| LOW | docker/browser_rpc/backends/__init__.py | 10 | CODE | |
| LOW | docker/browser_rpc/backends/__init__.py | 15 | CODE | |
| LOW | docker/browser_rpc/backends/__init__.py | 15 | CODE | |
| LOW | docker/browser_rpc/backends/__init__.py | 15 | CODE | |
| LOW | docker/browser_rpc/backends/__init__.py | 15 | CODE | |
| LOW | docker/browser_rpc/backends/__init__.py | 15 | CODE | |
| LOW | docker/browser_rpc/backends/base.py | 14 | CODE | |
| LOW | docker/browser_rpc/tests/conftest.py | 10 | CODE | |
| LOW | docker/browser_rpc/tests/test_validation.py | 3 | CODE | |
| LOW | docker/browser_rpc/tests/test_service.py | 7 | CODE | |
| LOW | docker/browser_rpc/tests/test_geo.py | 3 | CODE | |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 10 | CODE | |
| LOW | docker/browser_rpc/tests/test_backends.py | 10 | CODE | |
| LOW | docker/browser_rpc/tests/test_settings.py | 8 | CODE | |
| LOW | tests/conftest.py | 9 | CODE | |
| LOW | tests/unit/test_signature_decoding.py | 10 | CODE | |
| LOW | tests/unit/test_endpoint_form.py | 3 | CODE | |
| LOW | tests/unit/test_transcription_progress.py | 3 | CODE | |
| LOW | tests/unit/test_client_profile.py | 14 | CODE | |
| LOW | tests/unit/test_db_models.py | 11 | CODE | |
| LOW | tests/unit/test_ops_masking.py | 10 | CODE | |
| LOW | tests/unit/test_tools_sign_stages.py | 15 | CODE | |
| LOW | tests/unit/test_absence_matrix.py | 21 | CODE | |
| LOW | tests/unit/test_password_rule.py | 11 | CODE | |
| LOW | tests/unit/test_signing.py | 27 | CODE | |
| LOW | tests/unit/test_signing.py | 33 | CODE | |
| LOW | tests/unit/test_worker_ops_identity_test.py | 17 | CODE | |
| LOW | tests/unit/test_policy_coverage.py | 10 | CODE | |
| LOW | tests/unit/test_watchlist.py | 8 | CODE | |
| LOW | tests/unit/test_ops_backup.py | 9 | CODE | |
| LOW | tests/unit/test_ops_notify.py | 15 | CODE | |
| LOW | tests/unit/test_media_client.py | 9 | CODE | |
| LOW | tests/unit/test_identities_admin_helpers.py | 11 | CODE | |
| LOW | tests/unit/test_capacity.py | 8 | CODE | |
| LOW | tests/unit/test_openapi_completeness.py | 14 | CODE | |
| LOW | tests/unit/test_identity_marks.py | 3 | CODE | |
| LOW | tests/unit/test_tools_decode_route.py | 13 | CODE | |
| LOW | tests/unit/test_worker_ops_notify_test.py | 18 | CODE | |
| LOW | tests/unit/test_media_plan.py | 7 | CODE | |
| LOW | tests/unit/test_content_ids.py | 8 | CODE | |
| LOW | tests/unit/test_ops_health.py | 10 | CODE | |
| LOW | tests/unit/test_mint_backoff_record.py | 13 | CODE | |
| LOW | tests/unit/test_ops_retention.py | 8 | CODE | |
| LOW | tests/unit/test_endpoint_login.py | 8 | CODE | |
| LOW | tests/unit/test_paging.py | 10 | CODE | |
| LOW | tests/unit/test_signing_post_body.py | 19 | CODE | |
| LOW | tests/unit/test_api_middleware.py | 10 | CODE | |
| LOW | tests/unit/test_fetch_follow_up.py | 12 | CODE | |
| 589 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/browser_rpc/geo.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | docker/browser_rpc/geo.py | 188 | __all__ = [ | CODE |
| LOW | docker/browser_rpc/service.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | docker/browser_rpc/service.py | 546 | __all__ = ["ANONYMOUS", "BrowserRpcService", "MintOutcome", "WarmSlot", "binding_key"] | CODE |
| LOW | docker/browser_rpc/models.py | 141 | __all__ = ["HealthResponse", "MintRequest", "MintResponse", "SignRequest", "SignResponse"] | CODE |
| LOW | docker/browser_rpc/__init__.py | 23 | __all__ = ["__version__"] | CODE |
| LOW | docker/browser_rpc/settings.py | 183 | __all__ = ["DEFAULT_GEO_PROBE_URL", "ENV_PREFIX", "Settings"] | CODE |
| LOW | docker/browser_rpc/errors.py | 70 | __all__ = [ | CODE |
| LOW | docker/browser_rpc/main.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | docker/browser_rpc/main.py | 169 | __all__ = ["configure_logging", "create_app"] | CODE |
| LOW | docker/browser_rpc/validation.py | 199 | __all__ = [ | CODE |
| LOW | docker/browser_rpc/backends/fake.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | docker/browser_rpc/backends/fake.py | 194 | __all__ = ["BACKEND_NAME", "FAKE_CHROMIUM_MAJOR", "FakeBackend", "FakeSigningContext", "build"] | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 67 | logger = logging.getLogger(__name__) | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 820 | __all__ = [ | CODE |
| LOW | docker/browser_rpc/backends/__init__.py | 43 | __all__ = [ | CODE |
| LOW | docker/browser_rpc/backends/base.py | 163 | __all__ = [ | CODE |
| LOW | tests/integration/test_api_demo.py | 55 | def _set_demo(app: Any, enabled: bool) -> None: | CODE |
| LOW | tests/integration/test_api_support.py | 217 | __all__ = [ | CODE |
| LOW | tests/support/shell_code.py | 164 | __all__ = ["code_lines", "differences", "skeleton"] | CODE |
| LOW | tests/support/marks.py | 55 | __all__ = ["MARK_DRAWING", "MARK_GLYPHS", "MARK_SYNTAX", "is_project_mark"] | CODE |
| LOW | tests/replay/support.py | 226 | __all__ = [ | CODE |
| LOW | src/dtk/transcriber.py | 91 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/registry.py | 71 | __all__ = ["available_platforms", "get_adapter"] | CODE |
| LOW | src/dtk/platforms/__init__.py | 17 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/common.py | 323 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/base.py | 659 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/paging.py | 60 | __all__ = ["MAX_PAGE_SIZE", "max_page_size"] | CODE |
| LOW | src/dtk/platforms/bilibili/params.py | 445 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/bilibili/adapter.py | 276 | __all__ = ["ADAPTER", "BilibiliAdapter"] | CODE |
| LOW | src/dtk/platforms/bilibili/__init__.py | 5 | __all__ = ["ADAPTER", "BilibiliAdapter"] | CODE |
| LOW | src/dtk/platforms/bilibili/parser.py | 1060 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/bilibili/ids.py | 99 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/bilibili/endpoints.py | 403 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/douyin/params.py | 629 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/douyin/adapter.py | 250 | __all__ = ["ADAPTER", "DouyinAdapter"] | CODE |
| LOW | src/dtk/platforms/douyin/__init__.py | 5 | __all__ = ["ADAPTER", "DouyinAdapter"] | CODE |
| LOW | src/dtk/platforms/douyin/parser.py | 1003 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/douyin/endpoints.py | 535 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/tiktok/params.py | 824 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/tiktok/adapter.py | 202 | __all__ = ["ADAPTER", "TikTokAdapter"] | CODE |
| LOW | src/dtk/platforms/tiktok/__init__.py | 5 | __all__ = ["ADAPTER", "TikTokAdapter"] | CODE |
| LOW | src/dtk/platforms/tiktok/parser.py | 994 | __all__ = [ | CODE |
| LOW | src/dtk/platforms/tiktok/endpoints.py | 488 | __all__ = [ | CODE |
| LOW | src/dtk/signing/registry.py | 870 | __all__ = [ | CODE |
| LOW | src/dtk/signing/__init__.py | 38 | __all__ = [ | CODE |
| LOW | src/dtk/signing/rpc.py | 350 | __all__ = ["HEALTH_PATH", "SIGN_PATH", "RpcSigner"] | CODE |
| LOW | src/dtk/signing/base.py | 426 | __all__ = [ | CODE |
| LOW | src/dtk/signing/protection.py | 111 | __all__ = ["DOUYIN_SIGNED_PATHS", "requires_browser_signature"] | CODE |
| LOW | src/dtk/signing/native/xbogus.py | 263 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/wbi.py | 109 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/wbi_keys.py | 98 | __all__ = ["FRESH_SECONDS", "NAV_URL", "STALE_SECONDS", "KeySource", "NavKeySource"] | CODE |
| LOW | src/dtk/signing/native/tiktok_sign.py | 685 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/__init__.py | 22 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/tokens.py | 299 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/decoding.py | 1091 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/websign.py | 135 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/sm3.py | 119 | __all__ = ["IV", "sm3_hash", "sm3_hexdigest", "sm3_to_array"] | CODE |
| LOW | src/dtk/signing/native/signer.py | 417 | __all__ = [ | CODE |
| LOW | src/dtk/signing/native/abogus.py | 823 | __all__ = [ | CODE |
| 157 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/entrypoint.sh | 1 | #!/bin/sh | COMMENT |
| LOW | docker/compose.yml | 1 | # Production orchestration for a single host. | COMMENT |
| LOW | docker/compose.yml | 41 | #: Resource ceilings for the two Python app services. | COMMENT |
| LOW | docker/compose.yml | 141 | # here, and Redis dies rather than swaps when it hits a ceiling, so the | COMMENT |
| LOW | docker/compose.yml | 161 | # cache writes one entry per distinct request and keeps it for the TTL in | COMMENT |
| LOW | docker/compose.yml | 241 | volumes: | COMMENT |
| LOW | docker/compose.yml | 321 | restart: unless-stopped | COMMENT |
| LOW | docker/compose.yml | 341 | # cores' worth of Chromium. Left unbounded it is the service that starves | COMMENT |
| LOW | docker/compose.yml | 361 | context: .. | COMMENT |
| LOW | docker/compose.yml | 381 | env_file: | COMMENT |
| LOW | docker/compose.yml | 401 | # "whatever starts". | COMMENT |
| LOW | docker/compose.yml | 421 | # reads exactly like a platform block. | COMMENT |
| LOW | docker/compose.yml | 481 | # | COMMENT |
| LOW | docker/downloader/store.go | 1 | package main | COMMENT |
| LOW | docker/downloader/queue.go | 1 | package main | COMMENT |
| LOW | docker/downloader/download.go | 1 | package main | COMMENT |
| LOW | docker/downloader/api.go | 1 | package main | COMMENT |
| LOW | docker/downloader/main.go | 1 | // Command downloader stores media this instance has already parsed onto the | COMMENT |
| LOW | docker/downloader/safety.go | 1 | package main | COMMENT |
| LOW | docker/downloader/progress.go | 1 | package main | COMMENT |
| LOW | docker/browser_rpc/requirements.txt | 1 | # Runtime dependencies of the browser-rpc image. | COMMENT |
| LOW | docker/browser_rpc/requirements.txt | 21 | # them satisfied instead of resolving the newest release on the day of the | COMMENT |
| LOW | docker/browser_rpc/settings.py | 61 | #: navigable well before its security bundle has loaded, and signing in that | COMMENT |
| LOW | docker/browser_rpc/backends/cloak.py | 81 | LAUNCH_ENTRY_POINT: str = "launch_persistent_context_async" | COMMENT |
| LOW | docker/browser_rpc/backends/cloak.py | 121 | #: Both platforms sign by patching ``window.fetch`` and ``XMLHttpRequest`` | COMMENT |
| LOW | docker/browser_rpc/backends/cloak.py | 181 | #: after its context opened and produced nothing, twice, and then returned a | COMMENT |
| LOW | docker/browser_rpc/backends/cloak.py | 201 | COMMENT | |
| LOW | docker/browser_rpc/backends/cloak.py | 261 | #: its feed to nobody. | COMMENT |
| LOW | docker/browser_rpc/backends/cloak.py | 381 | # NOTHING is added here. What the SDK put in the URL is the whole answer. | COMMENT |
| LOW | docker/browser_rpc/tests/test_rpc_api.py | 261 | # ships as its own image, so nothing but a test keeps them aligned. | COMMENT |
| LOW | install/install.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | install/install.sh | 21 | # Each of those asks first and prints the exact command. | COMMENT |
| LOW | install/install.sh | 1741 | # both jobs on purpose: somebody who deployed with it six months ago should not | COMMENT |
| LOW | install/install.sh | 2421 | # Every `dtk ... list` below runs with COLUMNS=200. Without a terminal, rich | COMMENT |
| LOW | install/install.sh | 2561 | # | COMMENT |
| LOW | install/install.zh.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | install/install.zh.sh | 21 | # | COMMENT |
| LOW | install/install.zh.sh | 81 | "punc/config.yaml|a56ec10925b06fa976ad51af373396be2b13e1eb8dc62a5426b5adebaba7071d" | COMMENT |
| LOW | web/eslint.config.js | 1 | import js from '@eslint/js' | COMMENT |
| LOW | web/src/pages/identities/columns.tsx | 81 | // a phone scrolled sideways to reach any of them. The cell ellipsises | COMMENT |
| LOW | tests/unit/test_signature_decoding.py | 41 | #: recovered from the bundle, where `b` is a byte array and `if (b[i+1])` is | COMMENT |
| LOW | tests/unit/test_signing.py | 281 | # generation behind the bundle the site actually ships. | COMMENT |
| LOW | tests/unit/test_signing.py | 2801 | ) | COMMENT |
| LOW | tests/unit/test_tools_decode_route.py | 61 | COMMENT | |
| LOW | tests/unit/test_i18n.py | 701 | assert text != humanize(f"settings.description.{key}"), ( | COMMENT |
| LOW | tests/unit/test_repo_hygiene.py | 141 | # Collected whole, because the pattern above breaks on the '/' and | COMMENT |
| LOW | tests/unit/test_repo_hygiene.py | 501 | ) | COMMENT |
| LOW | tests/integration/conftest.py | 21 | "postgresql+asyncpg://dtk:dtk_test_password@127.0.0.1:55432/dtk_test", | COMMENT |
| LOW | tests/integration/test_worker.py | 981 | finally: | COMMENT |
| LOW | tests/support/marks.py | 21 | from __future__ import annotations | COMMENT |
| LOW | .github/FUNDING.yml | 1 | # Only GitHub Sponsors. The other channels this project once listed were removed | COMMENT |
| LOW | .github/dependabot.yml | 1 | # Dependency updates. | COMMENT |
| LOW | .github/workflows/docker-publish.yml | 1 | # Build the images and push them to Docker Hub. | COMMENT |
| LOW | .github/workflows/docker-publish.yml | 21 | # control, see docker/Dockerfile.browser - would become ours rather than the | COMMENT |
| LOW | .github/workflows/docker-publish.yml | 141 | password: ${{ secrets.DOCKERHUB_TOKEN }} | COMMENT |
| LOW | .github/workflows/docker-publish.yml | 181 | tags: ${{ steps.meta.outputs.tags }} | COMMENT |
| LOW | .github/workflows/codeql.yml | 1 | # Static analysis for the three languages this repository actually ships. | COMMENT |
| LOW | src/dtk/__init__.py | 1 | """dtk - self-hosted Douyin / TikTok data API.""" | COMMENT |
| LOW | src/dtk/platforms/base.py | 321 | required: tuple[str, ...] = () | COMMENT |
| LOW | src/dtk/platforms/base.py | 341 | #: in the same shape - and there an empty page is the right answer. | COMMENT |
| 70 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/transcriber/app.py | 236 | except Exception as exc: | CODE |
| LOW | docker/transcriber/app.py | 473 | except Exception as exc: | CODE |
| LOW | docker/transcriber/app.py | 514 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/geo.py | 166 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/service.py | 166 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/service.py | 214 | except Exception: | CODE |
| LOW | docker/browser_rpc/service.py | 410 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/service.py | 528 | except Exception: | CODE |
| LOW | docker/browser_rpc/main.py | 157 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 362 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 404 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 511 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 531 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 586 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 617 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 658 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 661 | except Exception: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 688 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 693 | except Exception as exc: | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 732 | except Exception as exc: # a navigation mid-poll, or a crashed target | CODE |
| LOW | docker/browser_rpc/backends/cloak.py | 781 | except Exception as exc: | CODE |
| LOW | tests/integration/conftest.py | 48 | except Exception as exc: | CODE |
| LOW | tests/integration/conftest.py | 67 | except Exception as exc: | CODE |
| LOW | tests/integration/test_end_to_end.py | 53 | except Exception as exc: | CODE |
| LOW | src/dtk/signing/registry.py | 864 | except Exception as exc: | CODE |
| LOW | src/dtk/transport/wreq_transport.py | 295 | except Exception as exc: | CODE |
| LOW | src/dtk/transport/wreq_transport.py | 396 | except Exception as exc: | CODE |
| LOW | src/dtk/transport/wreq_transport.py | 455 | except Exception as exc: | CODE |
| LOW | src/dtk/transport/wreq_transport.py | 478 | except Exception as exc: | CODE |
| LOW | src/dtk/core/db.py | 54 | except Exception: | CODE |
| LOW | src/dtk/identity/mint_log.py | 73 | except Exception as exc: # pragma: no cover - a breadcrumb, never a failure | CODE |
| LOW | src/dtk/identity/mint_log.py | 108 | except Exception as exc: # pragma: no cover - a breadcrumb, never a failure | CODE |
| LOW | src/dtk/identity/mint_log.py | 143 | except Exception as exc: # pragma: no cover - a breadcrumb, never a failure | CODE |
| LOW | src/dtk/identity/mint_log.py | 158 | except Exception as exc: # pragma: no cover - a breadcrumb, never a failure | CODE |
| LOW | src/dtk/identity/mint_log.py | 183 | except Exception as exc: | CODE |
| LOW | src/dtk/identity/pool.py | 114 | except Exception as exc: | CODE |
| LOW | src/dtk/identity/pool.py | 419 | except Exception as exc: | CODE |
| LOW | src/dtk/mcp/tools.py | 184 | except Exception as exc: # reporting must never mask the failure it explains | CODE |
| LOW | src/dtk/mcp/tools.py | 191 | except Exception as exc: # reporting must never mask the failure it explains | CODE |
| LOW | src/dtk/mcp/tools.py | 214 | except Exception as exc: | CODE |
| LOW | src/dtk/mcp/tools.py | 940 | except Exception as exc: # progress must never mask the real result | CODE |
| LOW | src/dtk/mcp/tools.py | 1026 | except Exception as exc: | CODE |
| MEDIUM | src/dtk/mcp/tools.py | 188 | def _snapshot(self) -> PoolSnapshot | None: | CODE |
| LOW | src/dtk/cli/fetch_cmd.py | 165 | except Exception as exc: | CODE |
| LOW | src/dtk/api/deps.py | 203 | except Exception: | CODE |
| LOW | src/dtk/api/deps.py | 268 | except Exception: | CODE |
| LOW | src/dtk/api/middleware.py | 254 | except Exception: | CODE |
| LOW | src/dtk/api/routes/auth.py | 164 | except Exception as exc: # Redis is down; a login must still be possible. | CODE |
| LOW | src/dtk/api/routes/auth.py | 181 | except Exception as exc: | CODE |
| LOW | src/dtk/api/routes/system.py | 81 | except Exception as exc: | CODE |
| LOW | src/dtk/api/routes/system.py | 287 | except Exception as exc: | CODE |
| LOW | src/dtk/api/routes/system.py | 379 | except Exception: | CODE |
| LOW | src/dtk/api/routes/system.py | 419 | except Exception as exc: | CODE |
| LOW | src/dtk/api/routes/operations.py | 230 | except Exception: | CODE |
| LOW | src/dtk/api/routes/operations.py | 273 | except Exception: | CODE |
| LOW | src/dtk/api/routes/operations.py | 329 | except Exception as exc: | CODE |
| LOW | src/dtk/api/routes/setup.py | 137 | except Exception as exc: # startup must not fail over an advisory | CODE |
| LOW | src/dtk/api/routes/setup.py | 248 | except Exception as exc: | CODE |
| LOW | src/dtk/api/routes/transcriptions.py | 88 | except Exception: | CODE |
| LOW | src/dtk/api/routes/admin/identities.py | 208 | except Exception: | CODE |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docker/browser_rpc/backends/cloak.py | 152 | const state = { capture: false, url: null }; | CODE |
| HIGH | docker/browser_rpc/backends/cloak.py | 156 | const url = typeof input === 'string' ? input : (input && input.url); | CODE |
| HIGH | docker/browser_rpc/backends/cloak.py | 234 | if (input.body != null) { | CODE |
| HIGH | docker/browser_rpc/backends/cloak.py | 240 | state.url = null; | CODE |
| HIGH⚡ | tests/unit/test_fetch_classification.py | 784 | b'{"status_code":0,"aweme_detail":null,' | CODE |
| HIGH⚡ | tests/unit/test_fetch_classification.py | 1219 | does not exist with ``{"code": 0, "message": "OK", "data": null}``, and that | STRING |
| HIGH | tests/unit/test_repo_hygiene.py | 327 | assert "open={pending !== null}" in source | CODE |
| HIGH | tests/unit/test_console_notify_triggers.py | 27 | r"scope: (?:'(?P<scope>\w+)'|null) \}" | CODE |
| HIGH⚡ | tests/unit/test_bilibili.py | 320 | """An author with no folders: code 0, data null, measured.""" | STRING |
| HIGH | tests/integration/test_api_downloads.py | 806 | """null, not missing: a card that has to branch on undefined reads the same | STRING |
| HIGH | src/dtk/platforms/base.py | 336 | #: A top-level key whose null, in an answer that otherwise succeeded, means | COMMENT |
| HIGH | src/dtk/platforms/base.py | 339 | #: does not exist with ``{"code": 0, "data": null}``, which read as an | COMMENT |
| HIGH | src/dtk/platforms/bilibili/endpoints.py | 254 | # A folder that does not exist is `{"code": 0, "data": null}`; an empty | COMMENT |
| HIGH | src/dtk/platforms/tiktok/parser.py | 455 | # the following side. Absent is therefore an empty page, and so is null, | COMMENT |
| HIGH | src/dtk/signing/protection.py | 9 | if ("webSign" === f.strategyKey && b === a.REWRITE) { | STRING |
| HIGH | src/dtk/signing/native/websign.py | 94 | """Serialize like the JavaScript ``URLSearchParams.toString()`` the SDK uses. | STRING |
| HIGH | src/dtk/transport/classify.py | 206 | #: "aweme_detail": null, | COMMENT |
| HIGH | src/dtk/transport/classify.py | 225 | #: 200, 211 bytes, {"status_code": 0, "aweme_detail": null, | COMMENT |
| HIGH | src/dtk/transport/classify.py | 240 | #: 200, 165 bytes, {"status_code": 0, "aweme_detail": null, | COMMENT |
| HIGH | src/dtk/mcp/tools.py | 526 | platform did not report are null, never zero - a null is missing data, | STRING |
| HIGH | src/dtk/worker/ops/identity_mint.py | 9 | "proxy_id": "..." | null} | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/browser_rpc/service.py | 329 | CODE | |
| LOW | tests/unit/test_transport.py | 123 | CODE | |
| LOW | src/dtk/signing/native/tiktok_sign.py | 608 | CODE | |
| LOW | src/dtk/db/timeseries.py | 32 | CODE | |
| LOW | src/dtk/db/timeseries.py | 184 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 179 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 244 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 304 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 367 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 455 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 534 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 602 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 709 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 767 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 825 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 920 | CODE | |
| LOW | src/dtk/api/routes/discovery.py | 991 | CODE | |
| LOW | src/dtk/api/routes/downloads.py | 410 | CODE | |
| LOW | src/dtk/api/routes/content.py | 461 | CODE | |
| LOW | src/dtk/api/routes/content.py | 529 | CODE | |
| LOW | src/dtk/api/routes/content.py | 606 | CODE | |
| LOW | src/dtk/api/routes/content.py | 682 | CODE | |
| LOW | src/dtk/api/routes/content.py | 746 | CODE | |
| LOW | src/dtk/api/routes/content.py | 810 | CODE | |
| LOW | src/dtk/api/routes/content.py | 870 | CODE | |
| LOW | src/dtk/api/routes/content.py | 943 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1020 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1095 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1184 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1272 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1334 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1407 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1476 | CODE | |
| LOW | src/dtk/api/routes/content.py | 1550 | CODE | |
| LOW | src/dtk/api/routes/archive.py | 179 | CODE | |
| LOW | src/dtk/api/routes/archive.py | 320 | CODE | |
| LOW | src/dtk/api/routes/admin/identities.py | 434 | CODE | |
| LOW | src/dtk/api/routes/admin/logs.py | 94 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/test_signing.py | 2811 | #: What the Node harness reported for the two codes the payload carries, which is | COMMENT |
| MEDIUM | tests/unit/test_signing.py | 2813 | #: below was generated by that harness, so reproducing them byte for byte requires | COMMENT |
| MEDIUM | tests/integration/test_api_logs.py | 493 | # pool and a transport to assert one column would test the harness | COMMENT |
| MEDIUM⚡ | tests/integration/test_api_auth.py | 48 | # Plain HTTP in the test harness, so Secure is dropped rather than making | COMMENT |
| MEDIUM | src/dtk/signing/native/tiktok_sign.py | 152 | #: The earlier values (129 and 14) came from a Node harness driving the genuine | COMMENT |
| MEDIUM | src/dtk/signing/native/tiktok_sign.py | 156 | #: left as they were. The harness, not the port, was what disagreed with the | COMMENT |
| MEDIUM⚡ | src/dtk/signing/native/tiktok_sign.py | 172 | #: 2d context reports. Giving the harness a working ``getContext('2d')`` made the | COMMENT |
| MEDIUM⚡ | src/dtk/signing/native/tiktok_sign.py | 178 | #: Three more environment fields the Node harness could not produce, so the port | COMMENT |
| MEDIUM⚡ | src/dtk/signing/native/tiktok_sign.py | 186 | #: running in. Confirmed by pointing the harness at a video URL, which made this | COMMENT |
| MEDIUM⚡ | src/dtk/ops/notify.py | 584 | """The one method a caller needs in order to raise an alert. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/transcriber/app.py | 317 | CODE | |
| LOW | docker/transcriber/app.py | 341 | CODE | |
| LOW | docker/browser_rpc/service.py | 428 | CODE | |
| LOW | tests/unit/test_identity_importing.py | 334 | CODE | |
| LOW | tests/unit/test_identity_importing.py | 360 | CODE | |
| LOW | tests/unit/test_repo_hygiene.py | 110 | CODE | |
| LOW | tests/unit/test_repo_hygiene.py | 113 | CODE | |
| LOW | tests/support/shell_code.py | 34 | CODE | |
| LOW | tests/support/shell_code.py | 62 | CODE | |
| LOW | src/dtk/platforms/bilibili/parser.py | 729 | CODE | |
| LOW | src/dtk/identity/pool.py | 430 | CODE | |
| LOW | src/dtk/api/routes/openapi.py | 369 | CODE | |
| LOW | src/dtk/api/routes/tools.py | 793 | CODE | |
| LOW | src/dtk/api/routes/downloads.py | 227 | CODE | |
| LOW | src/dtk/api/routes/admin/identities.py | 610 | CODE | |
| LOW | src/dtk/ops/webhooks.py | 172 | CODE | |
| LOW | src/dtk/worker/registry.py | 575 | CODE | |
| LOW | src/dtk/worker/main.py | 782 | CODE | |
| LOW | src/dtk/services/download_requests.py | 177 | CODE | |
| LOW | src/dtk/services/archive.py | 111 | CODE | |
| LOW | src/dtk/services/archive.py | 261 | CODE | |
| LOW | src/dtk/media/plan.py | 195 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/dtk/platforms/bilibili/ids.py | 80 | except ValueError: | CODE |
| HIGH | src/dtk/transport/base.py | 193 | except (ValueError, UnicodeDecodeError): | CODE |
| HIGH | src/dtk/api/request_proxy.py | 233 | except ValueError: | CODE |
| HIGH | src/dtk/services/settings_store.py | 167 | except TimeoutError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | web/eslint.config.js | 80 | 'placeholder', | CODE |
| LOW | web/src/locales/zh/setup.json | 39 | "placeholder": "每行一个代理", | CODE |
| LOW | web/src/locales/zh/console.json | 684 | "placeholder": "是谁的账号、Cookie 从哪里来", | CODE |
| LOW⚡ | web/src/locales/zh/console.json | 2239 | "placeholder": "https://www.douyin.com/video/7408915107113127220", | CODE |
| LOW⚡ | web/src/locales/zh/console.json | 2247 | "placeholder": "", | CODE |
| LOW⚡ | web/src/locales/zh/console.json | 2255 | "placeholder": "https://www.douyin.com/video/7408915107113127220", | CODE |
| LOW⚡ | web/src/locales/zh/console.json | 2263 | "placeholder": "https://www.douyin.com/user/MS4wLjABAAAA… 或 MS4wLjABAAAA…", | CODE |
| LOW | web/src/locales/en/setup.json | 39 | "placeholder": "One proxy per line", | CODE |
| LOW | web/src/locales/en/console.json | 684 | "placeholder": "Whose account, where the cookie came from", | CODE |
| LOW⚡ | web/src/locales/en/console.json | 2239 | "placeholder": "https://www.douyin.com/video/7408915107113127220", | CODE |
| LOW⚡ | web/src/locales/en/console.json | 2247 | "placeholder": "", | CODE |
| LOW⚡ | web/src/locales/en/console.json | 2255 | "placeholder": "https://www.douyin.com/video/7408915107113127220", | CODE |
| LOW⚡ | web/src/locales/en/console.json | 2263 | "placeholder": "https://www.douyin.com/user/MS4wLjABAAAA…", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | tests/unit/test_db_models.py | 238 | assert model.__table__.c.id.type.compile(PG) == "UUID" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/dtk/platforms/base.py | 0 | name the risk-control signature in ``payload``, or ``none``. | STRING |
| HIGH | src/dtk/platforms/bilibili/parser.py | 0 | name the risk-control signature in ``payload``, or ``none``. | STRING |
| HIGH | src/dtk/platforms/tiktok/parser.py | 0 | name the risk-control signature in ``payload``, or ``none``. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docker/README.md | 1 | # Container images and orchestration | COMMENT |
| MEDIUM | docker/compose.test.yml | 1 | # Test-only orchestration. Always run through: | COMMENT |
| MEDIUM | docker/compose.yml | 1 | # Production orchestration for a single host. | COMMENT |
| MEDIUM | tests/integration/test_scheduler_fairness.py | 85 | # The wait budget is scaffolding, not the thing under test: what is | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/dtk/urls/expand.py | 59 | Follow ``url`` to its final destination and return the canonical form. Every hop is re-validated against the host a | STRING |