AI Slop Code Risk Monitor

shuakami/qq-chat-exporter

SlopCodeMonitor badge for shuakami/qq-chat-exporter Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🚀 QQ聊天记录、表情包导出工具 | 自动化提取图片/文字/图片消息,支持TXT/JSON导出,高效备份,支持NT QQ

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-23
Last Push
6.0K
Stars
Rust
Language
147.6K
Lines of Code
429
Files
108
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 2.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 84 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.5/100 · LOW

Are imports declared and package/API names verified? 12 finding(s).

Agent Over-Engineering Ratio 1.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 37 finding(s).

PR Review Velocity Impact 5.2/100 · LOW

Which changes need focused human review? 108 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 9MEDIUM 3LOW 96

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block47 hits · 47 pts
SeverityFileLineSnippetContext
LOWqce-v4-tool/components/auth-provider.tsx41 }, 300)COMMENT
LOWqq-chat-export-server/src/clean_message_spool.rs1//! 解析后消息的磁盘暂存与归并读取(issue #666)。COMMENT
LOWqq-chat-export-server/src/progress/tracker.rs41#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWqq-chat-export-server/src/progress/tracker.rs61 pub error: Option<String>,COMMENT
LOWqq-chat-export-server/src/progress/tracker.rs101/// 事件数据。COMMENT
LOWqq-chat-export-server/src/progress/tracker.rs121 /// 已完成。COMMENT
LOWqq-chat-export-server/src/security/manager.rs41 #[serde(default)]COMMENT
LOWqq-chat-export-server/src/fetcher/batch_fetcher.rs81#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWqq-chat-export-server/src/fetcher/batch_fetcher.rs101 pub sub_types: Option<Vec<i64>>,COMMENT
LOWqq-chat-export-server/src/fetcher/batch_fetcher.rs181 /// 平均响应时间(毫秒)。COMMENT
LOWqq-chat-export-server/src/storage/database.rs41 /// 任务配置(JSON 字符串)。COMMENT
LOWqq-chat-export-server/src/storage/database.rs61 pub md5: String,COMMENT
LOWqq-chat-export-server/src/storage/database.rs81 #[serde(default, deserialize_with = "deserialize_loose_bool")]COMMENT
LOWqq-chat-export-server/src/storage/config.rs21 /// JSON 解析失败。COMMENT
LOWqq-chat-export-server/src/storage/config.rs81#[serde(rename_all = "camelCase", default)]COMMENT
LOWscripts/quick-pack.py241 COMMENT
LOWscripts/quick-pack.py721 COMMENT
LOWscripts/quick-pack.py761 else:COMMENT
LOWscripts/napcat-launcher/build.sh1#!/bin/bashCOMMENT
LOWscripts/napcat-launcher/launcher-user.sh1#!/bin/bashCOMMENT
LOWscripts/napcat-launcher/launcher-user.sh21# missing the NEEDED entry for it.COMMENT
LOWscripts/napcat-launcher/launcher-user.sh41# overrides process.execPath to the QQ binary and forks a "worker" withCOMMENT
LOWscripts/napcat-launcher/launcher-user.sh61# small loader we drop next to it, then re-sign only the outer bundleCOMMENT
LOWscripts/napcat-launcher/launcher-user.sh81# this, the runtime copy hangs during its own container init instead.COMMENT
LOWscripts/napcat-launcher/launcher-user.sh301#COMMENT
LOWscripts/napcat-launcher/launcher-user.sh341 echo " login slot, so QQ has to be fully quit first:"COMMENT
LOWscripts/napcat-launcher/launcher-user.sh401 <true/>COMMENT
LOWscripts/napcat-launcher/launcher-user.sh501COMMENT
LOWscripts/napcat-launcher/launcher-user.sh521 # writes are symlinks under ~/Library/Application Support/QQ.COMMENT
LOWscripts/napcat-launcher/launcher.cpp1// QCE Linux launcher shim — LD_PRELOAD hook that lets QCE boot inside theCOMMENT
LOWscripts/napcat-launcher/launcher.cpp21// The fix:COMMENT
LOWscripts/napcat-launcher/launcher.cpp41// Build:COMMENT
LOWscripts/napcat-launcher/launcher.cpp61#include <stdlib.h>COMMENT
LOWscripts/napcat-launcher/launcher.cpp81// The drop-in `main` field we look for in QQ's package.json. We try theCOMMENT
LOWqq-chat-export-core/src/types.rs41 /// 发送者 UID。COMMENT
LOWqq-chat-export-core/src/types.rs61 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWqq-chat-export-core/src/types.rs81 /// 资源类型:image / video / audio / file。COMMENT
LOWqq-chat-export-core/src/types.rs101 pub height: Option<u32>,COMMENT
LOWqq-chat-export-core/src/types.rs121COMMENT
LOWqq-chat-export-core/src/types.rs141 pub resources: Vec<MessageResource>,COMMENT
LOWqq-chat-export-core/src/types.rs161 pub time: String,COMMENT
LOWqq-chat-export-core/src/types.rs181/// 聊天信息。COMMENT
LOWqq-chat-export-core/src/types.rs201 #[serde(skip_serializing_if = "Option::is_none")]COMMENT
LOWqq-chat-export-core/src/types.rs241/// 导出选项。COMMENT
LOWqq-chat-export-core/src/message_source.rs1//! 解析后消息的分批数据源(issue #666)。COMMENT
LOWqq-chat-export-core/src/stats.rs21/// 时间范围统计。COMMENT
LOWqq-chat-export-core/src/html_bounded_state.rs1//! HTML 导出期的有界状态(issue #666)。COMMENT
Cross-Language Confusion8 hits · 35 pts
SeverityFileLineSnippetContext
HIGHscripts/quick-pack.py847 const dir = override || path.join(os.homedir(), '.qq-chat-exporter');CODE
HIGHscripts/quick-pack.py891 if (child.exitCode !== null) return false;CODE
HIGHscripts/quick-pack.py938 const logDir = process.env.QCE_LOG_DIR || path.join(packageRoot, 'logs');CODE
HIGHscripts/quick-pack.py940 const logFile = process.env.QCE_LOG_FILE || path.join(logDir, 'qce-runtime.log');CODE
HIGHscripts/quick-pack.py1047if ! command -v node &> /dev/null; thenCODE
HIGHscripts/quick-pack.py1104 console.warn('[bootstrap] Failed to override process.execPath: ' + (e && e.message || e));STRING
HIGHscripts/quick-pack.py1104 console.warn('[bootstrap] Failed to override process.execPath: ' + (e && e.message || e));STRING
HIGHscripts/pack-windows-on-linux.py43 print("[!] Run: cd qq-chat-export-server && cargo build --release --target x86_64-pc-windows-gnu")CODE
Hyper-Verbose Identifiers25 hits · 26 pts
SeverityFileLineSnippetContext
LOW…4-tool/components/ui/scheduled-backup-merge-dialog.tsx58export function ScheduledBackupMergeDialog({CODE
LOWqce-v4-tool/components/ui/chart.tsx308function getPayloadConfigFromPayload(CODE
LOWqce-v4-tool/components/ui/window-controls.tsx45export function useExternalLinksInBrowser() {CODE
LOW…v4-tool/components/export-plans/run-history-dialog.tsx26export function ExportTaskRunHistoryDialog({CODE
LOWqce-v4-tool/hooks/use-export-tasks.ts52function buildRunningToastDescription(task: ExportTask, data?: ProgressPayload) {CODE
LOWqce-v4-tool/hooks/use-export-tasks.ts62function buildCompletedToastDescription(task: ExportTask, data: ProgressPayload): ReactNode {CODE
LOWqce-v4-tool/hooks/use-export-tasks.ts104function buildFailedToastDescription(task: ExportTask, data?: ProgressPayload) {CODE
LOWqce-v4-tool/hooks/use-scheduled-exports.ts43export function scheduledExportFormToConfig(formData: CreateScheduledExportForm): ScheduledExportConfig {CODE
LOWqce-v4-tool/hooks/use-scheduled-exports.ts76export function scheduledExportConfigToForm(task: ScheduledExportConfig): CreateScheduledExportForm {CODE
LOW⚡qce-v4-tool/lib/export-task-state.ts24function isTerminalExportTaskStatus(status: ExportTask["status"]): boolean {CODE
LOW⚡qce-v4-tool/lib/export-task-state.ts28function activeExportTaskStatusRank(status: ExportTask["status"]): number | undefined {CODE
LOW⚡qce-v4-tool/lib/export-task-state.ts36function shouldRejectLifecycleRegression(CODE
LOWqce-v4-tool/lib/export-task-state.ts84export function mergePendingExportTaskUpdate(CODE
LOWscripts/quick-pack.py86def write_napcat_builtin_plugin_config(config_dir):CODE
LOWscripts/quick-pack.py106def rewrite_runtime_plugin_package(plugin_dir):CODE
LOWscripts/quick-pack.py855function readAutoOpenBrowserSetting(configPath) {CODE
LOWscripts/plugin_runtime.py33def get_napcat_latest_version(progress: str = "[*]") -> str:CODE
LOWscripts/plugin_runtime.py163def copy_native_server_binary(destination: Path) -> Path:CODE
LOWscripts/plugin_runtime.py182def copy_windows_server_binary(destination: Path) -> Path:CODE
LOWscripts/plugin_runtime.py194def copy_store_server_binaries(destination: Path) -> None:CODE
LOWscripts/build-napcat-plugin.py69def write_plugin_package_json(staging_plugin_dir: Path, qce_version: str) -> None:CODE
LOWscripts/build-framework-plugin.py37def write_napcat_builtin_plugin_config(config_dir):CODE
LOWscripts/build-framework-plugin.py51def rewrite_runtime_plugin_package(plugin_dir):CODE
LOWscripts/build-framework-plugin.py207def write_enhanced_napiloaders(output_dir):STRING
LOWscripts/qce_json_to_excel.py300 def process_and_write_streaming(CODE
Excessive Try-Catch Wrapping12 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/quick-pack.py74 except Exception as e:CODE
LOWscripts/quick-pack.py176 except Exception as e:CODE
LOWscripts/quick-pack.py1268 except Exception as e:STRING
LOWscripts/build-framework-plugin.py266 except Exception as e:STRING
LOWscripts/build-framework-plugin.py471 except Exception as e:STRING
LOWscripts/qce_json_to_excel.py243 except Exception as e:CODE
LOWscripts/qce_json_to_excel.py296 except Exception as e:CODE
LOWscripts/qce_json_to_excel.py493 except Exception as e:CODE
LOWscripts/qce_json_to_excel.py535 except Exception as e:CODE
LOWscripts/qce_json_to_excel.py611 except Exception as e:CODE
LOWscripts/qce_json_to_excel.py634 except Exception as e:CODE
LOWscripts/qce_json_to_excel.py724 except Exception as e:CODE
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/quick-pack.py116CODE
LOWscripts/quick-pack.py134CODE
LOWscripts/pack-zip.py8CODE
LOWscripts/plugin_runtime.py33CODE
LOWscripts/qce_json_to_excel.py92CODE
LOWscripts/qce_json_to_excel.py248CODE
LOWscripts/qce_json_to_excel.py380CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHqce-v4-tool/components/ui/export-help-dialog.tsx156 print(len(data[<span className="text-[#0f766e] dark:text-teal-400">"messages"</span>]), <span className="text-[#CODE
AI Slop Vocabulary2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMqce-chunked-viewer/assets/modern_chunked_app.js51`).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
MEDIUMqq-chat-export-core/assets/modern_chunked_app.js51`).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
Fake / Example Data2 hits · 3 pts
SeverityFileLineSnippetContext
LOWqce-chunked-viewer/assets/modern_chunked_app.js237 */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
LOWqq-chat-export-core/assets/modern_chunked_app.js237 */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
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/quick-pack.py189 # Check if there's a NapCat.Shell subdirectory or if files are directly in temp dirCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/napcat-launcher/build.sh8# Usage:COMMENT
Self-Referential Comments1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMscripts/quick-pack.py1232 # Create main archive (with version in filename)STRING
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/plugin_runtime.py3CODE