市场与管理 · v0.2.1
dsh-plugin-hub
DeepSeek Harness(DSH)Web 界面里的图形化插件商店:发现、搜索、一键安装 GitHub 上的 dsh-plugin,并自带 21 个随包发布的内部插件(基础内核 / 安全与质量 / 发布流水线 / 洞察与内容 / 运维)。
作者原文(英文)
Plugin Hub for DeepSeek Harness (DSH): a graphical app-store inside the Harness Web UI — browse, search, and one-click install GitHub dsh-plugins, with local ratings, dependency impact graphs, audit logging, and a development scaffold
简介取自插件自己的 README 原文。
安装命令
dsh plugin --profile web add dsh-plugin-hub@0.2.1
已试装 · 层已挂载
已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。
检测报告
能力清单
- 以 shell 执行命令
shell-exec高关注4 处命中lib/host/installer.js:76* NOTE: Windows .cmd shims require `shell: true`, but passing `args` togetherlib/host/installer.js:77* with `shell: true` triggers Node DEP0190 and (worse) concatenates argumentslib/host/installer.js:89? spawn(`${cmd} ${cmdArgs.map(escapeWinArg).join(' ')}`, { cwd, shell: true, windowsHide: true, env: { ...process.env, N…lib/host/publish.js:34? spawn(`${cmd} ${args.map(escapeWinArg).join(' ')}`, { cwd, shell: true, windowsHide: true, env: { ...process.env, NO_C…- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 可执行外部程序
spawns-processes高关注3 处命中lib/host/index.js:43import { spawn } from 'node:child_process';lib/host/installer.js:13import { spawn } from 'node:child_process';lib/host/publish.js:14import { spawn } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意28 处命中lib/host/backup.js:73mkdirSync(dir, { recursive: true });lib/host/backup.js:79rmSync(target, { force: true });lib/host/backup.js:87copyFileSync(db.path, target);lib/host/backup.js:99copyFileSync(src, join(dir, name));- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意13 处命中lib/host/catalog-sync.js:5const res = await fetch(CATALOG_URL, { signal: AbortSignal.timeout(15_000) });lib/host/github.js:51const res = await fetch(url, { headers: { ...this.headers(), ...extraHeaders }, signal: AbortSignal.timeout(20000) });lib/host/github.js:71const res = await fetch(url, { headers: { 'User-Agent': 'dsh-plugin-hub' }, signal: AbortSignal.timeout(20000) });lib/host/github.js:131const res = await fetch(`${NPM_API}/downloads/point/last-month/${encodeURIComponent(packageName)}`, { signal: AbortSigna…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 启动伪终端
spawns-pty需留意2 处命中lib/host/installer.js:89? spawn(`${cmd} ${cmdArgs.map(escapeWinArg).join(' ')}`, { cwd, shell: true, windowsHide: true, env: { ...process.env, N…lib/host/publish.js:34? spawn(`${cmd} ${args.map(escapeWinArg).join(' ')}`, { cwd, shell: true, windowsHide: true, env: { ...process.env, NO_C…- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 读取文件
reads-files一般78 处命中lib/host/backup.js:30for (const name of readdirSync(dir)) {lib/host/backup.js:32const st = statSync(target);lib/host/backup.js:42if (!existsSync(root))lib/host/backup.js:45for (const name of readdirSync(root)) {- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般12 处命中lib/host/index.js:1104const path = process.env.DSH_BENCH_JSON || join(resolveDshHome(), 'storages', 'dsh-bench', 'benchmark.json');lib/host/index.js:1127if (mode === 'e2e' && !process.env.DEEPSEEK_API_KEY) {lib/host/index.js:1135const child = spawn(process.execPath, [bin, ...args], { cwd: benchPkg, env: { ...process.env, DSH_HOME: resolveDshHome()…lib/host/installer.js:34const home = process.env.DSH_HOME || join(process.env.USERPROFILE ?? process.env.HOME ?? '.', '.dsh');- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般2 处命中README.en.md:253`import('…')` / `require('…')`), each requiring a real separator between keyword andREADME.md:346- 现在按三种真实形态提取(`from '…'` / `import '…'` / `import('…')` / `require('…')`),- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般1 处命中lib/host/index.js:1127if (mode === 'e2e' && !process.env.DEEPSEEK_API_KEY) {- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 以 shell 执行命令 | shell-exec | 高关注 | 4 |
| 可执行外部程序 | spawns-processes | 高关注 | 3 |
| 写入文件 | writes-files | 需留意 | 28 |
| 发起网络请求 | network | 需留意 | 13 |
| 启动伪终端 | spawns-pty | 需留意 | 2 |
| 读取文件 | reads-files | 一般 | 78 |
| 读取环境变量 | reads-env | 一般 | 12 |
| 动态加载模块 | dynamic-import | 一般 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 104 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -5cordis entry id「dsh-plugin-hub」被 4 个包共用,同时安装会互相替换warn:@czj-git/dsh-plugin-hub、@zaimokuza/dsh-plugin-hub、dsh-plugin-store-optimized
认证等级 L0
- L0静态结构与契约✓sha512-sx54nh+pHqchp642… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图—entry id dsh-plugin-hub 被 4 个包共用
- L2隔离沙箱冒烟✓隔离 profile 安装成功,3.3s,层已挂载;宿主带它启动(booted)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
- L3运行时健康监控—运行时观测到异常:hosts+dns
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- yunhuantian
- 仓库
- https://github.com/yunhuantian/dsh-plugin-hub
- 许可
- MIT
- 最后发布
- 2026-10-14
- 周下载
- 394
- star
- 5
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 9 个cordiscordis-plugin-loaderdsh-api-gatewaydsh-client-localedsh-client-ui-settingsdsh-client-ui-settings-generaldsh-client-ui-sidebardsh-client-ui-slotsdsh-typert-protocol均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | ^22.19.0 || >=24.0.0 |
| 第三方依赖 | 2 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 3 条,见下方 |
这个插件声明的依赖中,有 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。
元数据
| 主页 | https://github.com/yunhuantian/dsh-plugin-hub#readme |
|---|---|
| 仓库最近提交 | 2026-10-14 |
| 仓库创建 | 2026-08-14 |
DSH