🚀 QQ聊天记录、表情包导出工具 | 自动化提取图片/文字/图片消息,支持TXT/JSON导出,高效备份,支持NT QQ
This report summarizes scanner evidence for shuakami/qq-chat-exporter, a Rust project with 5,963 GitHub stars. SynthScan examined 147,625 lines of code across 429 source files, recording 108 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 1.0 (Low 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? 84 finding(s).
Are imports declared and package/API names verified? 12 finding(s).
Are wrappers, guards, and repeated structures necessary? 37 finding(s).
Which changes need focused human review? 108 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 108 distinct pattern matches across 12 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 | qce-v4-tool/components/auth-provider.tsx | 41 | }, 300) | COMMENT |
| LOW | qq-chat-export-server/src/clean_message_spool.rs | 1 | //! 解析后消息的磁盘暂存与归并读取(issue #666)。 | COMMENT |
| LOW | qq-chat-export-server/src/progress/tracker.rs | 41 | #[derive(Debug, Clone, Serialize, Deserialize)] | COMMENT |
| LOW | qq-chat-export-server/src/progress/tracker.rs | 61 | pub error: Option<String>, | COMMENT |
| LOW | qq-chat-export-server/src/progress/tracker.rs | 101 | /// 事件数据。 | COMMENT |
| LOW | qq-chat-export-server/src/progress/tracker.rs | 121 | /// 已完成。 | COMMENT |
| LOW | qq-chat-export-server/src/security/manager.rs | 41 | #[serde(default)] | COMMENT |
| LOW | qq-chat-export-server/src/fetcher/batch_fetcher.rs | 81 | #[derive(Debug, Clone, Serialize, Deserialize)] | COMMENT |
| LOW | qq-chat-export-server/src/fetcher/batch_fetcher.rs | 101 | pub sub_types: Option<Vec<i64>>, | COMMENT |
| LOW | qq-chat-export-server/src/fetcher/batch_fetcher.rs | 181 | /// 平均响应时间(毫秒)。 | COMMENT |
| LOW | qq-chat-export-server/src/storage/database.rs | 41 | /// 任务配置(JSON 字符串)。 | COMMENT |
| LOW | qq-chat-export-server/src/storage/database.rs | 61 | pub md5: String, | COMMENT |
| LOW | qq-chat-export-server/src/storage/database.rs | 81 | #[serde(default, deserialize_with = "deserialize_loose_bool")] | COMMENT |
| LOW | qq-chat-export-server/src/storage/config.rs | 21 | /// JSON 解析失败。 | COMMENT |
| LOW | qq-chat-export-server/src/storage/config.rs | 81 | #[serde(rename_all = "camelCase", default)] | COMMENT |
| LOW | scripts/quick-pack.py | 241 | COMMENT | |
| LOW | scripts/quick-pack.py | 721 | COMMENT | |
| LOW | scripts/quick-pack.py | 761 | else: | COMMENT |
| LOW | scripts/napcat-launcher/build.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 21 | # missing the NEEDED entry for it. | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 41 | # overrides process.execPath to the QQ binary and forks a "worker" with | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 61 | # small loader we drop next to it, then re-sign only the outer bundle | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 81 | # this, the runtime copy hangs during its own container init instead. | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 301 | # | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 341 | echo " login slot, so QQ has to be fully quit first:" | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 401 | <true/> | COMMENT |
| LOW | scripts/napcat-launcher/launcher-user.sh | 501 | COMMENT | |
| LOW | scripts/napcat-launcher/launcher-user.sh | 521 | # writes are symlinks under ~/Library/Application Support/QQ. | COMMENT |
| LOW | scripts/napcat-launcher/launcher.cpp | 1 | // QCE Linux launcher shim — LD_PRELOAD hook that lets QCE boot inside the | COMMENT |
| LOW | scripts/napcat-launcher/launcher.cpp | 21 | // The fix: | COMMENT |
| LOW | scripts/napcat-launcher/launcher.cpp | 41 | // Build: | COMMENT |
| LOW | scripts/napcat-launcher/launcher.cpp | 61 | #include <stdlib.h> | COMMENT |
| LOW | scripts/napcat-launcher/launcher.cpp | 81 | // The drop-in `main` field we look for in QQ's package.json. We try the | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 41 | /// 发送者 UID。 | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 61 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 81 | /// 资源类型:image / video / audio / file。 | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 101 | pub height: Option<u32>, | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 121 | COMMENT | |
| LOW | qq-chat-export-core/src/types.rs | 141 | pub resources: Vec<MessageResource>, | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 161 | pub time: String, | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 181 | /// 聊天信息。 | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 201 | #[serde(skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | qq-chat-export-core/src/types.rs | 241 | /// 导出选项。 | COMMENT |
| LOW | qq-chat-export-core/src/message_source.rs | 1 | //! 解析后消息的分批数据源(issue #666)。 | COMMENT |
| LOW | qq-chat-export-core/src/stats.rs | 21 | /// 时间范围统计。 | COMMENT |
| LOW | qq-chat-export-core/src/html_bounded_state.rs | 1 | //! HTML 导出期的有界状态(issue #666)。 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/quick-pack.py | 847 | const dir = override || path.join(os.homedir(), '.qq-chat-exporter'); | CODE |
| HIGH | scripts/quick-pack.py | 891 | if (child.exitCode !== null) return false; | CODE |
| HIGH | scripts/quick-pack.py | 938 | const logDir = process.env.QCE_LOG_DIR || path.join(packageRoot, 'logs'); | CODE |
| HIGH | scripts/quick-pack.py | 940 | const logFile = process.env.QCE_LOG_FILE || path.join(logDir, 'qce-runtime.log'); | CODE |
| HIGH | scripts/quick-pack.py | 1047 | if ! command -v node &> /dev/null; then | CODE |
| HIGH | scripts/quick-pack.py | 1104 | console.warn('[bootstrap] Failed to override process.execPath: ' + (e && e.message || e)); | STRING |
| HIGH | scripts/quick-pack.py | 1104 | console.warn('[bootstrap] Failed to override process.execPath: ' + (e && e.message || e)); | STRING |
| HIGH | scripts/pack-windows-on-linux.py | 43 | print("[!] Run: cd qq-chat-export-server && cargo build --release --target x86_64-pc-windows-gnu") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …4-tool/components/ui/scheduled-backup-merge-dialog.tsx | 58 | export function ScheduledBackupMergeDialog({ | CODE |
| LOW | qce-v4-tool/components/ui/chart.tsx | 308 | function getPayloadConfigFromPayload( | CODE |
| LOW | qce-v4-tool/components/ui/window-controls.tsx | 45 | export function useExternalLinksInBrowser() { | CODE |
| LOW | …v4-tool/components/export-plans/run-history-dialog.tsx | 26 | export function ExportTaskRunHistoryDialog({ | CODE |
| LOW | qce-v4-tool/hooks/use-export-tasks.ts | 52 | function buildRunningToastDescription(task: ExportTask, data?: ProgressPayload) { | CODE |
| LOW | qce-v4-tool/hooks/use-export-tasks.ts | 62 | function buildCompletedToastDescription(task: ExportTask, data: ProgressPayload): ReactNode { | CODE |
| LOW | qce-v4-tool/hooks/use-export-tasks.ts | 104 | function buildFailedToastDescription(task: ExportTask, data?: ProgressPayload) { | CODE |
| LOW | qce-v4-tool/hooks/use-scheduled-exports.ts | 43 | export function scheduledExportFormToConfig(formData: CreateScheduledExportForm): ScheduledExportConfig { | CODE |
| LOW | qce-v4-tool/hooks/use-scheduled-exports.ts | 76 | export function scheduledExportConfigToForm(task: ScheduledExportConfig): CreateScheduledExportForm { | CODE |
| LOW⚡ | qce-v4-tool/lib/export-task-state.ts | 24 | function isTerminalExportTaskStatus(status: ExportTask["status"]): boolean { | CODE |
| LOW⚡ | qce-v4-tool/lib/export-task-state.ts | 28 | function activeExportTaskStatusRank(status: ExportTask["status"]): number | undefined { | CODE |
| LOW⚡ | qce-v4-tool/lib/export-task-state.ts | 36 | function shouldRejectLifecycleRegression( | CODE |
| LOW | qce-v4-tool/lib/export-task-state.ts | 84 | export function mergePendingExportTaskUpdate( | CODE |
| LOW | scripts/quick-pack.py | 86 | def write_napcat_builtin_plugin_config(config_dir): | CODE |
| LOW | scripts/quick-pack.py | 106 | def rewrite_runtime_plugin_package(plugin_dir): | CODE |
| LOW | scripts/quick-pack.py | 855 | function readAutoOpenBrowserSetting(configPath) { | CODE |
| LOW | scripts/plugin_runtime.py | 33 | def get_napcat_latest_version(progress: str = "[*]") -> str: | CODE |
| LOW | scripts/plugin_runtime.py | 163 | def copy_native_server_binary(destination: Path) -> Path: | CODE |
| LOW | scripts/plugin_runtime.py | 182 | def copy_windows_server_binary(destination: Path) -> Path: | CODE |
| LOW | scripts/plugin_runtime.py | 194 | def copy_store_server_binaries(destination: Path) -> None: | CODE |
| LOW | scripts/build-napcat-plugin.py | 69 | def write_plugin_package_json(staging_plugin_dir: Path, qce_version: str) -> None: | CODE |
| LOW | scripts/build-framework-plugin.py | 37 | def write_napcat_builtin_plugin_config(config_dir): | CODE |
| LOW | scripts/build-framework-plugin.py | 51 | def rewrite_runtime_plugin_package(plugin_dir): | CODE |
| LOW | scripts/build-framework-plugin.py | 207 | def write_enhanced_napiloaders(output_dir): | STRING |
| LOW | scripts/qce_json_to_excel.py | 300 | def process_and_write_streaming( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/quick-pack.py | 74 | except Exception as e: | CODE |
| LOW | scripts/quick-pack.py | 176 | except Exception as e: | CODE |
| LOW | scripts/quick-pack.py | 1268 | except Exception as e: | STRING |
| LOW | scripts/build-framework-plugin.py | 266 | except Exception as e: | STRING |
| LOW | scripts/build-framework-plugin.py | 471 | except Exception as e: | STRING |
| LOW | scripts/qce_json_to_excel.py | 243 | except Exception as e: | CODE |
| LOW | scripts/qce_json_to_excel.py | 296 | except Exception as e: | CODE |
| LOW | scripts/qce_json_to_excel.py | 493 | except Exception as e: | CODE |
| LOW | scripts/qce_json_to_excel.py | 535 | except Exception as e: | CODE |
| LOW | scripts/qce_json_to_excel.py | 611 | except Exception as e: | CODE |
| LOW | scripts/qce_json_to_excel.py | 634 | except Exception as e: | CODE |
| LOW | scripts/qce_json_to_excel.py | 724 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/quick-pack.py | 116 | CODE | |
| LOW | scripts/quick-pack.py | 134 | CODE | |
| LOW | scripts/pack-zip.py | 8 | CODE | |
| LOW | scripts/plugin_runtime.py | 33 | CODE | |
| LOW | scripts/qce_json_to_excel.py | 92 | CODE | |
| LOW | scripts/qce_json_to_excel.py | 248 | CODE | |
| LOW | scripts/qce_json_to_excel.py | 380 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | qce-v4-tool/components/ui/export-help-dialog.tsx | 156 | print(len(data[<span className="text-[#0f766e] dark:text-teal-400">"messages"</span>]), <span className="text-[# | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | qce-chunked-viewer/assets/modern_chunked_app.js | 51 | `).replace(nE,"")}function Ab(e,t){return t=Rb(t),Rb(e)===t}function ut(e,t,n,r,a,o){switch(n){case"children":typeof r== | CODE |
| MEDIUM | qq-chat-export-core/assets/modern_chunked_app.js | 51 | `).replace(nE,"")}function Ab(e,t){return t=Rb(t),Rb(e)===t}function ut(e,t,n,r,a,o){switch(n){case"children":typeof r== | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | qce-chunked-viewer/assets/modern_chunked_app.js | 237 | */const nh=ft("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function rh(e,t){if( | COMMENT |
| LOW | qq-chat-export-core/assets/modern_chunked_app.js | 237 | */const nh=ft("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function rh(e,t){if( | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/quick-pack.py | 189 | # Check if there's a NapCat.Shell subdirectory or if files are directly in temp dir | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/napcat-launcher/build.sh | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/quick-pack.py | 1232 | # Create main archive (with version in filename) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/plugin_runtime.py | 3 | CODE |