dsh-remote-web-ui
github.com/zhu1090093659/dsh-web
dsh-web 是面向 DeepSeek Harness(DSH)Web GUI 与官方桌面客户端的模块化插件生态与 AI 智能体开发工作台。它为深度用户与开发者提供任务自动化看板(Cron 定时调度)、手机与跨设备远程控制、SSH 远程终端与集群运维、Git 提交历史图谱与多 Agent Worktree 隔离、全量会话归档管理、Token 用量与成本统计,以及一站式主题皮肤与桌面宠物工坊。用户既可以通过官方 profile 机制将插
作者原文(英文)
Scan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and r
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注5 处命中lib/types/firewall.js:13import { spawnSync } from 'node:child_process';lib/index.js:12import { spawn, spawnSync } from "node:child_process";lib/types/tunnel.js:27import { spawn } from 'node:child_process';src/firewall.ts:14import { spawnSync } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 发起网络请求
network需留意52 处命中lib/client.js:1234const response = await fetch("api/pair/status");lib/client.js:1251const response = await fetch("api/pair/issue", {lib/client.js:1280const response = await fetch("api/pair/accept", {lib/client.js:1297const response = await fetch("api/pair/stop", { method: "POST" });- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意41 处命中lib/index.js:167mkdirSync(dirname(file), { recursive: true });lib/index.js:171writeFileSync(temp, JSON.stringify(payload), { mode: 384 });lib/index.js:172renameSync(temp, file);lib/index.js:195else rmSync(file, { force: true });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- R011 客户端可疑脚本
client-side-risk需留意2 处命中- client.js: innerHTML + postMessage; RemoteEntry.js: postMessage 无 origin 校验
- 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
- 读取文件
reads-files一般39 处命中lib/index.js:125const saved = JSON.parse(readFileSync(file, "utf8"));lib/index.js:2747if (!existsSync(file)) return "";lib/index.js:2748return readFileSync(file, "utf8");lib/index.js:2952const mode = existsSync(file) ? statSync(file).mode & 511 : 384;- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般27 处命中lib/types/dsh-home.js:26export function resolveDshHome(env = process.env, home = homedir()) {lib/index.js:580function resolveDshHome(env = process.env, home = homedir()) {lib/index.js:3503const previous = process.env.TUNNEL_TOKEN;lib/index.js:3504process.env.TUNNEL_TOKEN = token;- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般15 处命中lib/client.js:2589engine = require(platform);lib/client.js:2591engine = require(legacy);lib/types/client/FenceNotice.d.ts:24export declare function FenceNotice({ t, onRetry, onAccept }: FenceNoticeProps): import("react").JSX.Element;…es/client/FooterRemoteEntry.d.ts:20export declare function FooterRemoteEntry(props: FooterRemoteEntryProps): import("react").JSX.Element;- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般12 处命中lib/index.js:3503const previous = process.env.TUNNEL_TOKEN;lib/index.js:3504process.env.TUNNEL_TOKEN = token;lib/index.js:3508if (previous === void 0) delete process.env.TUNNEL_TOKEN;lib/index.js:3509else process.env.TUNNEL_TOKEN = previous;- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 5 |
| 发起网络请求 | network | 需留意 | 52 |
| 写入文件 | writes-files | 需留意 | 41 |
| R011 客户端可疑脚本 | client-side-risk | 需留意 | 2 |
| 读取文件 | reads-files | 一般 | 39 |
| 读取环境变量 | reads-env | 一般 | 27 |
| 动态加载模块 | dynamic-import | 一般 | 15 |
| 接触凭据或密钥 | credentials | 一般 | 12 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 148 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 3 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | yaml | CVE-2023-2251 | Uncaught Exception in yaml 修复版本:2.2.2 详情 → |
| 低 | yaml | CVE-2026-33532 | yaml is vulnerable to Stack Overflow via deeply nested YAML collections 修复版本:1.10.3, 2.8.3 详情 → |
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。