Install verification: sandbox install ok, web smoke failed (L5) · tested on dsh 0.2.1-rc.2 · last checked Install verification details →
What it does
用 QQ 私聊远程驱动 DeepSeek Harness
Installation
dsh plugin --profile web add github:xhuyangx1/dsh-qq-bridgeInstall method: GitHub · sandbox install ok, web smoke failed (L5)
Verification & Compatibility
Grouped by plugin version: each card lists the dsh versions actually tested against that artifact version and their install verdicts (L5 wins). Untested combinations are omitted — absence means untested, never assumed compatible. L1–L3 are a plugin-level static archive (independent of the dsh version — the same verdict on every dsh row): they sit in each row's level grid next to L4/L5, marked "static", while their evidence is stored once per plugin inside that row's "checks & evidence" instead of being duplicated per version.
External credentials (plugin-level): none detected
○ The author declares no dsh version requirement — install is not blocked by version.
| plugin \ dsh | dsh 0.2.1-rc.2 |
|---|---|
| v0.2.0 | · |
v0.2.0github2026-10-21
https://github.com/xhuyangx1/dsh-qq-bridge
No runtime install test for this version (static scan only) — compatibility unknown, never assumed.
Only the latest 3 published versions are shown; source-snapshot (commit hash) groups, unstated groups and older versions are omitted — the full archive stays in the data layer (snapshot/unstated groups appear only when a plugin has no published version).
Author badges
Embed the official badges in your README to showcase security & install-test status:
`[](https://www.dsh.so/artifact/dsh-qq-bridge-5/)`Security Report
Two automated layers, neither a manual review: a static scan (per-plugin rule checks) and a model-driven dynamic security audit that covers only the subset static-flagged at warn or above and never executes plugin code.
Static low, dynamic medium — stricter wins → overall medium.
v0.2.0dsh manifestv0.2.0git2026-10-21v0.2.0same versionclean · gitVet is an AST static scan (npm artifact or git source).
show static findings (5)
- warningchildProcess · code-exec
lib/acp.js:49const child = spawn(this.#bin, this.#args, { - warningchildProcess · code-exec
lib/index.js:595child = spawn(bin, args, { - warningshellExec · shell
lib/napcat.js:28const out = execFileSync('netstat', ['-ano', '-p', 'TCP'], { - warningshellExec · shell
lib/napcat.js:41const out = execFileSync('tasklist', ['/FI', 'IMAGENAME eq NapCatWinBootMain.exe', '/NH'], { - warningshellExec · shell
lib/napcat.js:118execFileSync('schtasks', [
show 3 audit findings
- mediumFail-open access control: empty allowlists plus privateOnly:false let any QQ user drive the agent
lib/index.js:37classify() only filters when the set is non-empty (`if (allowedUsers.size > 0 && !allowedUsers.has(userId)) return { ok: false }`), so an empty allowedUsers means 'everyone', and privateOnly defaults to false at line 57. If an operator enables the plugin with a minimal config, any QQ user who can DM the bot or shares a group with it can send `/dsh <anything>` and the task runs through an agent preset that has bash/read/write, i.e. arbitrary command execution on the host, plus file send-back to that user.
- mediumUnvalidated OneBot-supplied media URL and get_file path allow SSRF and arbitrary local file read
lib/index.js:481media.url comes straight from the OneBot message segment and furl comes from the get_file response; neither is restricted by scheme, host or path (redirects are followed). The bytes are written into <cwd>/inbox and the path is pushed into the model prompt for the agent to read. A malicious or compromised OneBot endpoint (endpoint is configurable, accessToken defaults to empty) can therefore make the plugin fetch internal HTTP services or read any file the DSH process can read (e.g. SSH keys, .env) and have its content summarised back into the QQ chat.
- lowWindows shell mode passes raw QQ task text as an argv to cmd.exe in plain headless mode
lib/index.js:580When detectHeadlessMode() falls back to 'plain' (dsh <= 0.1.5 or a failing `--help`) and the binary resolves to a .cmd/.bat on Windows, spawn runs with shell:true and the user-supplied prompt is concatenated into the command line, so cmd metacharacters (&, |, >) in a QQ message can break out of the argument. The comment at line 132 claiming '参数里只有固定的开关和 UUID,没有引号风险' does not hold on this path.
QQ→DSH bridge is RCE-by-design; real risks are fail-open access defaults, unvalidated OneBot media URLs/paths (SSRF/local file read), and Windows shell arg injection in plain mode.
Rule: the dynamic audit can only raise risk, never lower it (raise-only, never an exemption); a wrong raise is withdrawn by human review and the tier falls back to the static verdict. Overall verdict = the stricter of the two layers.
Disclaimer: the static scan and the dynamic security audit are both automated analysis, not a security guarantee. Always review what you install.
Activity
Last commit 2026-10-18 · activity: Active
• Repo created: 2026-10-18
• Stars: ★ 0 · Forks: 0
• Health: Active — committed within last 30 days
Source
Author README
View on GitHub ↗The author's original README from the repository — fetched live, unedited (the English page loads the default README).
