小红书(XiaoHongShu、RedNote)链接提取/作品采集工具
This report summarizes scanner evidence for JoeanAmier/XHS-Downloader, a JavaScript project with 12,966 GitHub stars. SynthScan examined 19,588 lines of code across 72 source files, recording 127 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 6.4 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 21 finding(s).
Are imports declared and package/API names verified? 70 finding(s).
Are wrappers, guards, and repeated structures necessary? 43 finding(s).
Which changes need focused human review? 127 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 127 distinct pattern matches across 9 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 |
|---|---|---|---|---|
| LOW | source/__init__.py | 1 | CODE | |
| LOW | source/__init__.py | 2 | CODE | |
| LOW | source/__init__.py | 3 | CODE | |
| LOW | source/__init__.py | 4 | CODE | |
| LOW | source/translation/__init__.py | 1 | CODE | |
| LOW | source/translation/__init__.py | 1 | CODE | |
| LOW | source/TUI/__init__.py | 1 | CODE | |
| LOW | source/module/recorder.py | 9 | CODE | |
| LOW | source/module/__init__.py | 1 | CODE | |
| LOW | source/module/__init__.py | 2 | CODE | |
| LOW | source/module/__init__.py | 3 | CODE | |
| LOW | source/module/__init__.py | 3 | CODE | |
| LOW | source/module/__init__.py | 7 | CODE | |
| LOW | source/module/__init__.py | 8 | CODE | |
| LOW | source/module/__init__.py | 9 | CODE | |
| LOW | source/module/__init__.py | 10 | CODE | |
| LOW | source/module/__init__.py | 11 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 12 | CODE | |
| LOW | source/module/__init__.py | 37 | CODE | |
| LOW | source/module/__init__.py | 37 | CODE | |
| LOW | source/module/__init__.py | 37 | CODE | |
| LOW | source/module/__init__.py | 37 | CODE | |
| LOW | source/module/__init__.py | 37 | CODE | |
| LOW | source/module/__init__.py | 37 | CODE | |
| LOW | source/module/__init__.py | 45 | CODE | |
| LOW | source/module/__init__.py | 46 | CODE | |
| LOW | source/module/note_info.py | 6 | CODE | |
| LOW | source/module/script.py | 10 | CODE | |
| LOW | source/module/mapping.py | 9 | CODE | |
| LOW | source/module/mapping.py | 10 | CODE | |
| LOW | source/module/manager.py | 18 | CODE | |
| LOW | source/CLI/__init__.py | 1 | CODE | |
| LOW | source/expansion/__init__.py | 2 | CODE | |
| LOW | source/expansion/__init__.py | 3 | CODE | |
| LOW | source/expansion/__init__.py | 4 | CODE | |
| LOW | source/expansion/__init__.py | 5 | CODE | |
| LOW | source/expansion/__init__.py | 6 | CODE | |
| LOW | source/expansion/__init__.py | 7 | CODE | |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/__init__.py | 6 | __all__ = [ | CODE |
| LOW | source/TUI/update.py | 14 | __all__ = ["Update"] | CODE |
| LOW | source/TUI/loading.py | 8 | __all__ = ["Loading"] | CODE |
| LOW | source/TUI/monitor.py | 15 | __all__ = ["Monitor"] | CODE |
| LOW | source/TUI/index.py | 24 | __all__ = ["Index"] | CODE |
| LOW | source/TUI/__init__.py | 3 | __all__ = ["XHSDownloader"] | CODE |
| LOW | source/TUI/about.py | 15 | __all__ = ["About"] | CODE |
| LOW | source/TUI/setting.py | 11 | __all__ = ["Setting"] | CODE |
| LOW | source/TUI/record.py | 10 | __all__ = ["Record"] | CODE |
| LOW | source/TUI/app.py | 16 | __all__ = ["XHSDownloader"] | CODE |
| LOW | source/TUI/app.py | 108 | def update_result(self, args: tuple[str, str]) -> None: | CODE |
| LOW | source/TUI/progress.py | 4 | __all__ = ["Progress"] | CODE |
| LOW | source/module/extend.py | 1 | __all__ = ["Account"] | CODE |
| LOW | source/module/recorder.py | 11 | __all__ = ["IDRecorder", "DataRecorder", "MapRecorder"] | CODE |
| LOW | source/module/settings.py | 8 | __all__ = ["Settings"] | CODE |
| LOW | source/module/mapping.py | 13 | __all__ = ["Mapping"] | CODE |
| LOW | source/module/manager.py | 20 | __all__ = ["Manager"] | CODE |
| LOW | source/CLI/__init__.py | 3 | __all__ = ["cli"] | CODE |
| LOW | source/CLI/main.py | 32 | __all__ = ["cli"] | CODE |
| LOW | source/expansion/converter.py | 7 | __all__ = ["Converter"] | CODE |
| LOW | source/expansion/browser.py | 23 | __all__ = ["BrowserCookie"] | CODE |
| LOW | source/expansion/namespace.py | 5 | __all__ = ["Namespace"] | CODE |
| LOW | source/GUI/__init__.py | 5 | __all__ = ["get_index_path", "launch"] | CODE |
| LOW | source/application/download.py | 27 | __all__ = ["Download"] | CODE |
| LOW | source/application/request.py | 12 | __all__ = ["Html"] | CODE |
| LOW | source/application/__init__.py | 3 | __all__ = ["XHS"] | CODE |
| LOW | source/application/app.py | 65 | __all__ = ["XHS"] | CODE |
| LOW | source/application/explore.py | 6 | __all__ = ["Explore"] | CODE |
| LOW | source/application/video.py | 4 | __all__ = ["Video"] | CODE |
| LOW | source/application/image.py | 5 | __all__ = ["Image"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # This file was autogenerated by uv via the following command: | COMMENT |
| LOW | pyproject.toml | 101 | # | COMMENT |
| LOW | source/CLI/main.py | 201 | ( | COMMENT |
| LOW | source/application/app.py | 761 | await self.data_recorder.__aexit__(exc_type, exc_value, traceback) | COMMENT |
| LOW | static/XHS-Downloader.js | 1 | // ==UserScript== | COMMENT |
| LOW | static/XHS-Downloader.js | 21 | // @match http*://www.rednote.com/board/* | COMMENT |
| LOW | static/other/自动滚动页面.js | 1 | // ==UserScript== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | source/CLI/main.py | 392 | # Step 1: 切换语言 | COMMENT |
| LOW⚡ | source/CLI/main.py | 396 | # Step 2: 如果请求了帮助信息,则显示帮助并退出 | COMMENT |
| LOW⚡ | source/CLI/main.py | 402 | # Step 3: 主逻辑 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | source/CLI/main.py | 392 | # Step 1: 切换语言 | COMMENT |
| LOW⚡ | source/CLI/main.py | 396 | # Step 2: 如果请求了帮助信息,则显示帮助并退出 | COMMENT |
| LOW⚡ | source/CLI/main.py | 402 | # Step 3: 主逻辑 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 7 | def include_distribution_metadata(distribution_name): | CODE |
| LOW | source/expansion/cleaner.py | 100 | def remove_control_characters( | CODE |
| LOW | source/GUI/ui_strings.py | 206 | def _build_name_format_labels(language: str) -> dict[str, str]: | CODE |
| LOW | source/GUI/ui_strings.py | 215 | def normalize_name_format_field(field: str) -> str: | CODE |
| LOW | source/application/download.py | 360 | def __get_resume_byte_position(file: Path) -> int: | CODE |
| LOW | source/application/request.py | 71 | def __request_url_with_cookie( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/GUI/backend.py | 301 | except Exception: | CODE |
| LOW | source/GUI/backend.py | 430 | except Exception as error: | CODE |
| LOW | source/GUI/backend.py | 523 | except Exception as error: | CODE |
| LOW | source/GUI/backend.py | 706 | except Exception as error: | CODE |
| LOW | source/GUI/backend.py | 738 | except Exception as error: | CODE |
| LOW | source/application/download.py | 384 | except Exception as error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/application/app.py | 137 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/application/app.py | 405 | CODE |