市场与管理 · v0.4.6
dsh-client-ui-plugin-manager
DeepSeek Harness(DSH)Web GUI 与官方桌面客户端的更新与生命周期管理器:将实时注册表版本比较及 DSH 运行时兼容性检查直接加入官方 Plugins 页面,提供列表级…
作者原文(英文)
An update and lifecycle manager for DeepSeek Harness (DSH) Web GUI and official desktop client: adds real-time registry version comparisons with DSH runtime compatibility checks directly into the official Plugins page, providing list-level…
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
安装命令
dsh plugin --profile web add @linxin666/dsh-client-ui-plugin-manager@0.4.6
强装可用 · 需绕过门禁
当前 DSH 版本上 CLI 拒绝安装这个包。用 --accept-risk 绕过门禁之后,它能装上并挂载——限制来自版本策略,不是包坏了。要用它,得自己决定这个风险值不值得承担。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注2 处命中lib/index.js:1import { spawn } from "node:child_process";lib/index.js:2671const cp = require('node:child_process');- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意14 处命中lib/index.js:196await copyFile(patchPath, `${patchPath}.bak-plugin-manager`).catch(() => {});lib/index.js:197await writeFile(`${patchPath}.tmp`, text, { mode: 384 });lib/index.js:198await rename(`${patchPath}.tmp`, patchPath);lib/index.js:787await copyFile(packageJsonPath, `${packageJsonPath}.bak-plugin-manager`).catch(() => {});- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意5 处命中lib/client.js:1038fetch(ENDPOINT, {lib/client.js:1102const response = await fetch(path, {lib/index.js:2360* the npm `undici` copy replaces the legacy `undici.globalDispatcher.1` slotlib/index.js:2361* Node's built-in `fetch()` reads. That cross-major wrapper drops the- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 可终止进程
kills-processes需留意1 处命中lib/index.js:2676const alive = (pid) => { try { process.kill(pid, 0); return true; } catch { return false; } };- 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
- 启动伪终端
spawns-pty需留意1 处命中lib/index.js:1341if (process.platform === "win32" && command.toLowerCase().endsWith(".cmd")) return spawn("cmd.exe", windowsCmdShimArgs(c…- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 读取文件
reads-files一般17 处命中lib/index.js:495text = await readFile(patchPath, "utf8");lib/index.js:581const parsed = JSON.parse(stripBom(readFileSync(join(root, "profile-selection", "state.json"), "utf8")));lib/index.js:611const parsed = JSON.parse(stripBom(readFileSync(manifestPath, "utf8")));lib/index.js:759const text = await readFile(packageJsonPath, "utf8");- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般12 处命中lib/index.js:538function resolveDshHome(env = process.env, home = homedir()) {lib/index.js:571function desktopSelectedProfile(env = process.env) {lib/index.js:675function resolveProfile(argv = process.argv, env = process.env, launched, desktopLauncher = isPackagedDesktopArgv(argv))…lib/index.js:1162function findDshBinary(env = process.env, platform = process.platform, exists = existsSync, hostEntryPath = process.argv…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般5 处命中lib/types/host/gateway.d.ts:126export declare function spawnDsh(binary: string, args: string[], env: NodeJS.ProcessEnv): import("child_process").ChildP……es/client/PluginListToolbar.d.ts:44export declare function PluginListToolbar(props: PluginListToolbarProps): import("react").JSX.Element;…es/client/PluginUpdatePatch.d.ts:70export declare function PluginUpdatePatch(props: PluginUpdatePatchProps): import("react").JSX.Element | null;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 2 |
| 写入文件 | writes-files | 需留意 | 14 |
| 发起网络请求 | network | 需留意 | 5 |
| 可终止进程 | kills-processes | 需留意 | 1 |
| 启动伪终端 | spawns-pty | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 17 |
| 读取环境变量 | reads-env | 一般 | 12 |
| 动态加载模块 | dynamic-import | 一般 | 5 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 35 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -5没有仓库或主页地址warn
认证等级 L1
- L0静态结构与契约✓sha512-++69KNOvJa4KC9LE… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—试装未通过(forced-ok)
- L3运行时健康监控✓抽样会话内未观测到外部进程 / 越界写 / 外连(2 个事件)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- linxin666
- 仓库
- —
- 许可
- BSD-3-Clause
- 最后发布
- 2026-10-10
- 周下载
- 23.5k
- star
- —
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 1 个dsh均为 @deepseek-ai/ 下的包 |
|---|---|
| 第三方依赖 | 1 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 2 条,见下方 |
这个插件声明的依赖中,有 2 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | 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 详情 |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。
DSH