A full-featured download manager — rebuilt from the ground up
This report presents the forensic synthetic code analysis of AnInsomniacy/motrix-next, a JavaScript project with 8,652 GitHub stars. SynthScan v2.0 examined 126,639 lines of code across 630 source files, recording 1057 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 20.3 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1057 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | scripts/bump-version.sh | 2 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | scripts/bump-version.sh | 10 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | scripts/release.sh | 2 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | scripts/release.sh | 12 | # ============================================================================== | COMMENT |
| MEDIUM | scripts/release.sh | 42 | # ── Pre-release verification gate ──────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/error.rs | 69 | // ── Display output ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/error.rs | 113 | // ── From conversions ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/error.rs | 135 | // ── Serialization ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/error.rs | 168 | // ── Aria2 + Database variants ─────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/lib.rs | 266 | // ── Window menu: custom handlers for frameless window ──────── | COMMENT |
| MEDIUM | src-tauri/src/lib.rs | 487 | // ── Wayland safety net ──────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/lib.rs | 509 | // ── Clear completed download records on exit ──────────── | COMMENT |
| MEDIUM | src-tauri/src/lib.rs | 597 | // ── Linux: GPU rendering guard ────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/lib.rs | 628 | // ── Pre-flight DB migration guard ──────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/lib.rs | 887 | // ── Window event interception ───────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/tray.rs | 269 | // ── Linux: deferred icon re-set ────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/upnp.rs | 32 | // ─── Public State ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/upnp.rs | 70 | // ─── Helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/upnp.rs | 139 | // ─── Lifecycle ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/upnp.rs | 344 | // ─── Renewal Loop ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/history.rs | 311 | // ── CRUD operations ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/history.rs | 468 | // ── InfoHash operations ───────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/history.rs | 499 | // ── Task birth tracking ───────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/history.rs | 545 | // ── Integrity check ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/history.rs | 554 | // ── Serialization contract ────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/db_guard.rs | 30 | // ─── Public API ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/db_guard.rs | 87 | // ─── Database inspection ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/db_guard.rs | 133 | // ─── File cleanup ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/db_guard.rs | 148 | // ─── Locale detection ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/db_guard.rs | 176 | // ─── i18n: 27 locale translations ─────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/db_guard.rs | 428 | // ─── Tests ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/menu.rs | 7 | // ── App menu (first submenu = macOS application menu) ──────────── | COMMENT |
| MEDIUM | src-tauri/src/menu.rs | 36 | // ── File menu ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/menu.rs | 55 | // ── Edit menu ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/menu.rs | 74 | // ── Window menu ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/menu.rs | 104 | // ── Help menu ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/types.rs | 186 | // ── Internal JSON-RPC protocol types ──────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/types.rs | 215 | // ── Aria2Task deserialization ──────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/types.rs | 381 | // ── Aria2GlobalStat deserialization ────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/types.rs | 399 | // ── Aria2File deserialization ──────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/types.rs | 420 | // ── JsonRpcRequest serialization ──────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/types.rs | 437 | // ── JsonRpcResponse deserialization ────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 117 | // ── Public API ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 366 | // ── Token parameter construction ──────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 418 | // ── Credential update ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 434 | // ── Request ID monotonicity ───────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 448 | // ── Aria2State wrapping ───────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 459 | // ── call() error handling (network failure) ───────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 480 | // ── Token format contract ─────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/aria2/client.rs | 496 | // ── Multiple extra params preserved in order ──────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/updater.rs | 460 | // ── Download only (Aria2 Next stays alive) ─────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/updater.rs | 584 | // ── Phase 1: Stop Aria2 Next engine BEFORE installation ───────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/updater.rs | 605 | // ── Phase 2: Install (NSIS / tar.gz replacement) ──────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/updater.rs | 691 | // ── UpdateCancelState ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/updater.rs | 734 | // ── endpoint_for_channel ──────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/proxy.rs | 49 | // ── Platform implementations ──────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/proxy.rs | 626 | // ── Windows helper tests ──────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/proxy.rs | 703 | // ── macOS helper tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/proxy.rs | 790 | // ── Linux helper tests ────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/net.rs | 26 | // ── Filename resolution ───────────────────────────────────────────────── | COMMENT |
| 678 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src-tauri/clippy.toml | 1 | # Allow .unwrap() in test code — idiomatic Rust testing style. | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1 | # PBH-BTN/BTN-Collected-Rules, Licensed under CC-BY 4.0. Generated at 2026-07-11 12:31:14 UTC. | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 21 | 14.152.83.150/31 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 41 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 6.6 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 61 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 81 | # [Sparkle3 不受信任投票] 封禁计数: 5, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 10.1 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 101 | # [Sparkle3 不受信任投票] 封禁计数: 11, 不信任票数: 11, 合并记录数量: 4, BTN网络发送到此Peer流量: 12.6 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 121 | # [Sparkle3 不受信任投票] 封禁计数: 7, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 9.0 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 141 | 42.48.254.0/24 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 161 | 46.166.191.26/31 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 181 | # [Sparkle3 不受信任投票] 封禁计数: 10, 不信任票数: 7, 合并记录数量: 1, BTN网络发送到此Peer流量: 6.9 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 201 | # [Sparkle3 不受信任投票] 封禁计数: 15, 不信任票数: 15, 合并记录数量: 8, BTN网络发送到此Peer流量: 11.7 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 221 | # [Sparkle3 不受信任投票] 封禁计数: 5, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 2.6 GiB, BTN网络从此Peer获取流量: 720.0 KiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 241 | # [Sparkle3 不受信任投票] 封禁计数: 8, 不信任票数: 7, 合并记录数量: 4, BTN网络发送到此Peer流量: 11.2 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 261 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 6, 合并记录数量: 2, BTN网络发送到此Peer流量: 3.7 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 281 | # [Sparkle3 不受信任投票] 封禁计数: 5, 不信任票数: 5, 合并记录数量: 2, BTN网络发送到此Peer流量: 3.9 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 301 | # [Sparkle3 不受信任投票] 封禁计数: 63, 不信任票数: 59, 合并记录数量: 16, BTN网络发送到此Peer流量: 128.2 GiB, BTN网络从此Peer获取流量: 9.7 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 321 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 21.1 GiB, BTN网络从此Peer获取流量: 20.8 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 341 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 361 | # [Sparkle3 不受信任投票] 封禁计数: 8, 不信任票数: 8, 合并记录数量: 2, BTN网络发送到此Peer流量: 7.0 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 381 | # [Sparkle3 不受信任投票] 封禁计数: 87, 不信任票数: 87, 合并记录数量: 32, BTN网络发送到此Peer流量: 79.4 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 401 | # [Sparkle3 不受信任投票] 封禁计数: 17, 不信任票数: 16, 合并记录数量: 8, BTN网络发送到此Peer流量: 14.7 GiB, BTN网络从此Peer获取流量: 2.5 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 421 | # [Sparkle3 不受信任投票] 封禁计数: 165, 不信任票数: 12, 合并记录数量: 4, BTN网络发送到此Peer流量: 60.2 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 441 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 6, 合并记录数量: 1, BTN网络发送到此Peer流量: 4.7 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 461 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 481 | 70.38.32.228 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 501 | # [Sparkle3 不受信任投票] 封禁计数: 8, 不信任票数: 6, 合并记录数量: 1, BTN网络发送到此Peer流量: 25.2 GiB, BTN网络从此Peer获取流量: 833.6 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 521 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 541 | 104.28.230.246/31 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 561 | # [Sparkle3 不受信任投票] 封禁计数: 8, 不信任票数: 8, 合并记录数量: 1, BTN网络发送到此Peer流量: 6.3 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 581 | # [Sparkle3 不受信任投票] 封禁计数: 8, 不信任票数: 7, 合并记录数量: 1, BTN网络发送到此Peer流量: 8.6 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 601 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 3.2 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 621 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 641 | 113.88.73.102 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 661 | # [Sparkle3 不受信任投票] 封禁计数: 5, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 3.7 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 681 | # [Sparkle3 不受信任投票] 封禁计数: 36, 不信任票数: 29, 合并记录数量: 8, BTN网络发送到此Peer流量: 57.9 GiB, BTN网络从此Peer获取流量: 4.5 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 701 | # [Sparkle3 不受信任投票] 封禁计数: 11, 不信任票数: 10, 合并记录数量: 2, BTN网络发送到此Peer流量: 24.1 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 721 | 115.238.201.0/24 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 741 | 116.162.24.196 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 761 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 6, 合并记录数量: 1, BTN网络发送到此Peer流量: 5.8 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 781 | # [Sparkle3 不受信任投票] 封禁计数: 6, 不信任票数: 5, 合并记录数量: 2, BTN网络发送到此Peer流量: 3.9 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 801 | 119.14.140.15 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 821 | 120.255.19.0/24 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 841 | # [Sparkle3 不受信任投票] 封禁计数: 7, 不信任票数: 6, 合并记录数量: 2, BTN网络发送到此Peer流量: 5.3 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 861 | 123.189.206.234 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 881 | # [Sparkle3 不受信任投票] 封禁计数: 9, 不信任票数: 6, 合并记录数量: 2, BTN网络发送到此Peer流量: 25.4 GiB, BTN网络从此Peer获取流量: 4.1 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 901 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 921 | 157.254.224.83 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 941 | # [Sparkle3 不受信任投票] 封禁计数: 8, 不信任票数: 6, 合并记录数量: 1, BTN网络发送到此Peer流量: 8.1 GiB, BTN网络从此Peer获取流量: 193.8 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 961 | # untrusted-ips.txt | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 981 | 185.21.217.34 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1001 | # [Sparkle3 不受信任投票] 封禁计数: 9, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 8.9 GiB, BTN网络从此Peer获取流量: 32.9 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1021 | # [Sparkle3 不受信任投票] 封禁计数: 5, 不信任票数: 5, 合并记录数量: 1, BTN网络发送到此Peer流量: 6.8 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1041 | # [Sparkle3 不受信任投票] 封禁计数: 5, 不信任票数: 5, 合并记录数量: 2, BTN网络发送到此Peer流量: 3.9 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1061 | 207.204.64.178 | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1081 | # [Sparkle3 不受信任投票] 封禁计数: 31, 不信任票数: 16, 合并记录数量: 8, BTN网络发送到此Peer流量: 29.0 GiB, BTN网络从此Peer获取流量: 57.0 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1101 | # [Sparkle3 不受信任投票] 封禁计数: 1338, 不信任票数: 18, 合并记录数量: 4, BTN网络发送到此Peer流量: 45.3 TiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1121 | # [Sparkle3 不受信任投票] 封禁计数: 120, 不信任票数: 118, 合并记录数量: 32, BTN网络发送到此Peer流量: 168.3 GiB, BTN网络从此Peer获取流量: 24.7 MiB | COMMENT |
| LOW | src-tauri/data/bt-peer-blocklist.txt | 1141 | # [Sparkle3 不受信任投票] 封禁计数: 13, 不信任票数: 13, 合并记录数量: 4, BTN网络发送到此Peer流量: 21.1 GiB, BTN网络从此Peer获取流量: 0 B | COMMENT |
| 144 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/composables/useUpdateFlow.ts | 54 | export function resolvePhaseAfterDownload(status: DownloadUpdateStatus): Extract<UpdatePhase, 'ready' | 'up-to-date'> { | CODE |
| LOW⚡ | src/composables/useUpdateFlow.ts | 59 | export function shouldAllowUpdateDialogClose(phase: UpdatePhase): boolean { | CODE |
| LOW | src/composables/useAppEvents.ts | 169 | function setupExternalInputHandlers() { | CODE |
| LOW | src/composables/useAppEvents.ts | 192 | async function runExternalInputWindowStage( | CODE |
| LOW | src/composables/useAppEvents.ts | 559 | async function scheduleSilentLightweightCleanup(traceId: string) { | CODE |
| LOW | src/composables/useAppEvents.ts | 648 | async function processIncomingExternalInputs(inputs: ExternalDownloadInput[], options: { silent?: boolean } = {}) { | CODE |
| LOW | src/composables/useAppEvents.ts | 715 | function normalizeExternalInputPayload( | CODE |
| LOW | src/composables/useAppEvents.ts | 721 | async function setupExternalInputListeners() { | CODE |
| LOW | src/composables/useMagnetMetadataEvents.ts | 26 | export async function resolvePendingMagnetMetadata(deps: MagnetMetadataDeps, gid: string): Promise<boolean> { | CODE |
| LOW | src/composables/useMagnetMetadataEvents.ts | 54 | export async function resolveNextPendingMagnetMetadata(deps: MagnetMetadataDeps): Promise<void> { | CODE |
| LOW | src/composables/useMagnetFlow.ts | 68 | export function getPendingMagnetSelectionGids(tasks: Aria2Task[]): string[] { | CODE |
| LOW | src/composables/useMagnetFlow.ts | 85 | export function getResolvedMagnetSelection(task: Aria2Task): MagnetSelectionResolution | null { | CODE |
| LOW | src/composables/useMagnetFlow.ts | 110 | export function buildStatusAwareConfirmAction(status: string | undefined): ConfirmAction { | CODE |
| LOW | src/composables/useStaleCleanup.ts | 54 | export function getCompletedRecordRetentionCutoff(retentionDays: number, now = new Date()): string | null { | CODE |
| LOW | src/composables/useStaleCleanup.ts | 59 | export async function runCompletedRecordRetentionCleanup( | CODE |
| LOW | src/composables/useNetworkPreference.ts | 54 | function buildPortConflictRecovery(config: AppConfig): PortConflictRecoveryConfig { | CODE |
| LOW | src/composables/useTaskSort.ts | 185 | export function createManualOrderSnapshot(items: readonly { gid: string }[]): string[] { | CODE |
| LOW | src/composables/useAddTaskSubmit.ts | 160 | function summarizeSubmitHeaderForwarding(form: AddTaskForm, context?: ExternalDownloadContext) { | CODE |
| LOW | src/composables/useAdvancedPreference.ts | 130 | export function buildAdvancedSystemConfig(f: AdvancedForm): Record<string, string> { | CODE |
| LOW | src/composables/useAdvancedPreference.ts | 147 | export function transformAdvancedForStore(f: AdvancedForm): Record<string, unknown> { | CODE |
| LOW | src/composables/useTaskLifecycle.ts | 122 | export function buildSharingCompletionRecord(task: Aria2Task): HistoryRecord { | CODE |
| LOW | src/composables/useDownloadsPreference.ts | 126 | export function buildDownloadsSystemConfig(f: DownloadsForm): Record<string, string> { | CODE |
| LOW | src/composables/useDownloadsPreference.ts | 146 | export function transformDownloadsForStore(f: DownloadsForm): Partial<AppConfig> { | CODE |
| LOW | src/composables/useDownloadsPreference.ts | 168 | export function getCompletedRecordRetentionSelectValue(days: number): number { | CODE |
| LOW | src/composables/useDownloadsPreference.ts | 174 | export function resolveCompletedRecordRetentionDays(selectedValue: number, currentDays: number): number { | CODE |
| LOW | src/stores/history.ts | 176 | async function countRecordsMatchingTaskIdentities(tasks: Aria2Task[]): Promise<number> { | CODE |
| LOW⚡ | src/stores/app.ts | 125 | function clearPendingExternalMetadata() { | CODE |
| LOW⚡ | src/stores/app.ts | 133 | function setPendingExternalMetadata(context: ExternalDownloadContext, filenameHint: string) { | CODE |
| LOW⚡ | src/stores/app.ts | 141 | function setExternalInputErrorHandler(handler: ((error: unknown) => void) | null) { | CODE |
| LOW⚡ | src/stores/app.ts | 145 | function setExternalInputStartHandler(handler: ((taskNames: string[]) => void) | null) { | CODE |
| LOW | src/stores/app.ts | 380 | function routeExternalDownloadInput( | CODE |
| LOW | src/stores/preference.ts | 214 | function recordRecentUserAgentProfile(profileId: string) { | CODE |
| LOW | src/stores/task/operations.ts | 47 | async function removeTaskRecordWithRetry(gid: string, scope: string): Promise<boolean> { | CODE |
| LOW | src/stores/task/operations.ts | 63 | async function removeHistoryRecordForDeletedTask(task: Aria2Task): Promise<void> { | CODE |
| LOW | src/stores/task/operations.ts | 79 | async function removeHistoryRecordsByGid(gids: string[], scope: string): Promise<void> { | CODE |
| LOW | src/stores/task/operations.ts | 118 | async function cleanupMagnetSelectionFiles(task: Aria2Task): Promise<void> { | CODE |
| LOW | src/stores/task/operations.ts | 140 | async function cancelMagnetSelectionDownload(target: MagnetSelectionCleanupTarget) { | CODE |
| LOW | src/stores/task/index.ts | 122 | function refreshCurrentTaskPageCount(tab = currentTaskTab()) { | CODE |
| LOW | src/stores/task/index.ts | 291 | async function saveVisiblePageManualOrder(visibleTasks: Aria2Task[]) { | CODE |
| LOW | src/shared/utils/fileCategory.ts | 93 | export function normalizeCategoryUrlPatterns(patterns: unknown): string[] { | CODE |
| LOW | src/shared/utils/fileCategory.ts | 109 | export function validateCategoryUrlPatterns( | CODE |
| LOW | src/shared/utils/clipboard.ts | 12 | export function shouldIgnoreClipboardTextForAutoDetect(text: string): boolean { | CODE |
| LOW⚡ | src/shared/utils/tracker.ts | 30 | export function computeTrackerProxyServer(proxyConfig: Partial<ProxyConfig>): string | null { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 70 | export function isValidUserAgentHostPattern(pattern: string): boolean { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 75 | export function normalizeUserAgentProfiles(value: unknown): UserAgentProfile[] { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 132 | export function normalizeRecentUserAgentProfileIds(value: unknown, profiles: readonly UserAgentProfile[]): string[] { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 173 | export function findMatchingUserAgentRule(input: UserAgentRuleMatchInput): UserAgentRuleMatch | null { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 221 | export function resolveUserAgentFromContext(input: { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 242 | export function buildUserAgentSelectionItems(input: UserAgentSelectionInput): UserAgentSelectionItem[] { | CODE |
| LOW | src/shared/utils/userAgentPolicy.ts | 276 | export function recordRecentUserAgentProfileId( | CODE |
| LOW | src/shared/utils/resource.ts | 77 | function lineMatchesAllowedResource(line: string, allowedTags: string[], allowHash: boolean): boolean { | CODE |
| LOW | src/shared/utils/resource.ts | 89 | function countMeaningfulInputLines(content: string): number { | CODE |
| LOW⚡ | src/shared/utils/headerSanitize.ts | 104 | function isForbiddenBrowserHeaderName(name: string): boolean { | CODE |
| LOW⚡ | src/shared/utils/headerSanitize.ts | 113 | export function sanitizeSingleHeaderValue(value: string | undefined): string { | CODE |
| LOW⚡ | src/shared/utils/headerSanitize.ts | 119 | export function sanitizeBrowserRequestHeaders(headers: readonly RequestHeaderInput[] = []): SanitizedRequestHeader[] { | CODE |
| LOW⚡ | src/shared/utils/headerSanitize.ts | 123 | export function sanitizeBrowserRequestHeadersWithDiagnostics( | CODE |
| LOW | src/shared/utils/headerSanitize.ts | 174 | export function sanitizeHttpHeaderOptions(options: HttpHeaderOptions): HttpHeaderOptions { | CODE |
| LOW | src/shared/utils/systemConfig.ts | 8 | export function buildSystemConfigFromAppConfig(config: AppConfig, defaultDir = ''): Record<string, string> { | CODE |
| LOW | src/shared/utils/proxy.ts | 36 | export function buildProxyUrlWithCredentials(proxy: ProxyEndpoint): string | null { | CODE |
| LOW | src/shared/utils/proxy.ts | 141 | export function buildDownloadProxyOptions(proxy: ProxyConfig): Aria2EngineOptions { | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src-tauri/src/commands/fs.rs | 520 | // Step 1: Decompose into components and reassemble with native separators. | COMMENT |
| LOW⚡ | src-tauri/src/commands/fs.rs | 525 | // Step 2: Strip `\\?\` prefix if present (safe for Win32 Shell APIs). | COMMENT |
| LOW⚡ | src-tauri/src/commands/fs.rs | 608 | // Step 3: Get the parent directory for SHOpenFolderAndSelectItems. | COMMENT |
| LOW⚡ | src-tauri/src/commands/fs.rs | 613 | // Step 4: Convert paths to wide strings (null-terminated UTF-16). | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 581 | // Step 1: Best-effort canonicalization. | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 593 | // Step 2: Strip `\\?\UNC\` prefix for mapped drives. | COMMENT |
| LOW | src-tauri/src/engine/lifecycle.rs | 403 | // Step 1: Kill existing child if present | COMMENT |
| LOW⚡ | src-tauri/src/engine/lifecycle.rs | 419 | // Step 2: Defense-in-depth — kill any orphans still holding the port | COMMENT |
| LOW⚡ | src-tauri/src/engine/lifecycle.rs | 426 | // Step 3: Spawn new Aria2 Next (inlined from start_engine to keep lock held) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src-tauri/src/commands/fs.rs | 520 | // Step 1: Decompose into components and reassemble with native separators. | COMMENT |
| LOW⚡ | src-tauri/src/commands/fs.rs | 525 | // Step 2: Strip `\\?\` prefix if present (safe for Win32 Shell APIs). | COMMENT |
| LOW⚡ | src-tauri/src/commands/fs.rs | 608 | // Step 3: Get the parent directory for SHOpenFolderAndSelectItems. | COMMENT |
| LOW⚡ | src-tauri/src/commands/fs.rs | 613 | // Step 4: Convert paths to wide strings (null-terminated UTF-16). | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 581 | // Step 1: Best-effort canonicalization. | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 593 | // Step 2: Strip `\\?\UNC\` prefix for mapped drives. | COMMENT |
| LOW | src-tauri/src/engine/lifecycle.rs | 403 | // Step 1: Kill existing child if present | COMMENT |
| LOW⚡ | src-tauri/src/engine/lifecycle.rs | 419 | // Step 2: Defense-in-depth — kill any orphans still holding the port | COMMENT |
| LOW⚡ | src-tauri/src/engine/lifecycle.rs | 426 | // Step 3: Spawn new Aria2 Next (inlined from start_engine to keep lock held) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | scripts/bump-version.sh | 5 | # Usage: | COMMENT |
| LOW⚡ | scripts/release.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/composables/__tests__/useUpdateFlow.test.ts | 196 | username: 'user@example.com', | CODE |
| LOW | src/shared/utils/__tests__/trackerFetch.test.ts | 40 | username: 'user@example.com', | CODE |
| LOW | src/components/task/addtask/TorrentUpload.vue | 24 | <slot name="placeholder">Drag torrent here or click to select</slot> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AGENTS.md | 88 | │ │ ├── mod.rs # Runtime services orchestration (on_engine_ready) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release.sh | 28 | # Check if tag already exists | COMMENT |