D

dsh-remote-web

github.com/mrRisega/dsh-remote

v0.7.1 工具与效率 可执行外部程序以 shell 执行命令写入文件
认证 L3已扫描 ✓健康 S/100周下载 1.9k

公网远程控制 DeepSeek Harness(dsh web):安装即得专属加密地址,人在外面也能用手机访问电脑上的 dsh——无需同一局域网/WiFi、无需公网 IP 与内网穿透,全程加密;手机端 100% 还原电脑体验(对话/工具/审批/设置)。技术用户可选自建服务,流量走自己的服务器。Remote control DeepSeek Harness (dsh web) from anywhere over the public internet — install, get an encrypted

该插件尚未翻译,显示作者原文。

发布
2026-10-13

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注5需留意4一般13未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注9 处命中
    • lib/index.js:25import { execSync, spawn, spawnSync } from "node:child_process";
    • lib/index.js:2612import { spawn, spawnSync } from "node:child_process";
    • lib/index.js:4271import { spawnSync } from "node:child_process";
    • …lients/dsh-remote/dsh-bridge.mjs:72import { execSync, spawnSync } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 以 shell 执行命令shell-exec高关注9 处命中
    • lib/index.js:320const stdout = execSync(cmd, { encoding: "utf8", stdio: ["ignore", "pipe", "pipe"], timeout: 15000 });
    • lib/index.js:456* 中文路径陷阱,也不需要 shell:true;
    • lib/index.js:457* · 找不到 npx-cli.js 才退回 npx.cmd + shell:true(参数是常量,无注入面)。
    • lib/index.js:476// 退回 .cmd:Windows 上**必须** shell:true,否则 EINVAL(这是 0.6.6 及更早的死因)
    • 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
  • 写入文件writes-files需留意138 处命中
    • lib/index.js:198mkdirSync(relayDir, { recursive: true });
    • lib/index.js:199writeFileSync(file, url + "\n", { mode: 0o600 });
    • lib/index.js:234mkdirSync(relayDir, { recursive: true });
    • lib/index.js:235writeFileSync(file, url + "\n", { mode: 0o600 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意48 处命中
    • lib/client.js:1468return fetch(path, opts).catch(function (e) {
    • lib/client.js:2869fetch("/dsh-remote/captcha").then(function (r) {
    • lib/client.js:3563fetch("/dsh-remote/captcha").then(function (r) {
    • lib/client.js:3714fetch("/dsh-remote/status", { cache: "no-store" })
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 可终止进程kills-processes需留意18 处命中
    • lib/index.js:600process.kill(pid, 0);
    • lib/index.js:1386// 都会把 pid 落到配置目录(见 dsh-setup.mjs 的 writePidFile)。读文件 + process.kill(pid,0)
    • lib/index.js:1974process.kill(pid, signal);
    • lib/index.js:2431try { process.kill(pid, "SIGTERM"); out.killedPids.push(pid); } catch { /* EPERM/ESRCH 忽略 */ }
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 启动伪终端spawns-pty需留意7 处命中
    • lib/index.js:41// · spawn("/bin/sh") 在 Windows 报 ENOENT,且当时没有 'error' 监听 → 未捕获异常打挂 dsh web。
    • lib/index.js:526* 面板的「重启 DeepSeek harness」按钮就是这么把 dsh web 打死的(spawn("/bin/sh") 在 Windows ENOENT)。
    • lib/index.js:1423const r = spawnSync("powershell.exe", ["-NoProfile", "-NonInteractive", "-EncodedCommand", encoded], {
    • lib/index.js:2598* 现场(0.6.6 及更早,用户实测):restartHarness 生成 `#!/bin/sh` 脚本再 `spawn("/bin/sh")`,
    • 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
  • 客户端可疑脚本client-side-risk需留意2 处命中
    • e2ee-shim-script.js: postMessage 无 origin 校验; dsh-bridge.mjs: postMessage 无 origin 校验
    • 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
  • 读取文件reads-files一般171 处命中
    • lib/index.js:196try { cur = readFileSync(file, "utf8").trim(); } catch { /* 首次 */ }
    • lib/index.js:232try { cur = readFileSync(file, "utf8").trim(); } catch { /* 首次 */ }
    • lib/index.js:474if (existsSync(p)) return { command: process.execPath, args: [p], shell: false, kind: "node-npx-cli" };
    • lib/index.js:583raw = readFileSync(filePath, "utf8").trim();
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般122 处命中
    • lib/index.js:50return String(process.env.DSH_RELAY_PLATFORM || "").trim() || process.platform;
    • lib/index.js:89const DEFAULT_RELAY_DIR = process.env.DSH_RELAY_DIR || join(homedir(), ".dsh-remote");
    • lib/index.js:94const DEFAULT_API = String(process.env.DSH_RELAY_DEFAULT_API || "").trim()
    • lib/index.js:117const raw = String(process.env.DSH_WEB_URL || "").trim();
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 接触凭据或密钥credentials一般33 处命中
    • …s/dsh-remote/e2ee-shim-script.js:548if (cookieH && req.credentials !== "omit") outerHeaders.cookie = cookieH; // node 测试显式 cookie;浏览器同源自动带
    • …s/dsh-remote/e2ee-shim-script.js:555credentials: req.credentials,
    • lib/index.js:2189const hasAcct = Boolean((cfg.phone || cfg.email) && cfg.password) || Boolean(cfg.local_key);
    • lib/index.js:2906body: JSON.stringify({ phone: cfg.phone, email: cfg.phone, password: cfg.password }),
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般2 处命中
    • lib/index.js:183const mod = await import(new URL("../runtime/clients/dsh-remote/upstream-discovery.mjs", import.meta.url).href);
    • lib/index.js:528* @returns {{child: import("node:child_process").ChildProcess|null, error: Error|null}}
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注9
以 shell 执行命令shell-exec高关注9
写入文件writes-files需留意138
发起网络请求network需留意48
可终止进程kills-processes需留意18
启动伪终端spawns-pty需留意7
客户端可疑脚本client-side-risk需留意2
读取文件reads-files一般171
读取环境变量reads-env一般122
接触凭据或密钥credentials一般33
动态加载模块dynamic-import一般2

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 21 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

可信度

100 健康分 S 扣分项下方逐条附证据
  • 0没有可扣分的项

认证等级 L3

  • L0内容完整性✓sha512-J6K8sDtQJZxD/VwL… 与本地 tarball 复算一致
  • L1来源✓维护者 mrrisega,仓库 mrRisega/dsh-remote(未做仓库审计)
  • L2发行✓隔离 profile 安装成功,4.4s,层已挂载
  • L3生态✓契约一致,宿主带它启动成功
  • L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
mrrisega
仓库
https://github.com/mrRisega/dsh-remote
许可
PolyForm-Noncommercial-1.0.0
最后发布
2026-10-13
周下载
1.9k
star
53

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。

← 返回全部插件