dsh-update-checker

版本 1.7.3发布 2026-10-21仓库 Airmetro/dsh-update-checker
3/4装得上 · 启动通过

一个用于 DeepSeek Harness Web GUI 的常驻 Cordis 插件,会自动检查 DeepSeek Harness 的新版本以及已安装第三方插件的更新(原独立插件 dsh-plugin-checker

自动化与工作流周下载 1,821peer 1MIT
pnpm add dsh-update-checker

安装前须知

Node 要求
未声明
跟随宿主运行时
peer 依赖
1 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
lib/index.js
bundle 已声明 · patch 随包

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整
无 high / critical 命中
未通过
配置组合装入一次性 DSH_HOME 后配置树能否合并通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测通过
安装完成后由真实宿主启动一次,检查入口是否激活

检测结论明细

共 8 次命中
收录判定1 条规则 · 1 次命中
发布者与仓库所有者不同l0-author-repo-differs
静态结构7 条规则 · 7 次命中
改写宿主配置文件host-config-write
scripts/unit-isolated-linker.test.mjs:10const posixStore = '/home/me/.dsh/profiles/web/node_modules/.pnpm/dsh-update-checker@1.7.2_react@18.3.1/node_modules';
从网络取回代码并执行remote-fetch-execute
scripts/unit-tarball-timeout.test.mjs:24return new Function("http", "https", `${snippet}\nreturn httpGetBuffer;`)(http, https);
启动子进程child-process-spawn
scripts/main-update-worker.mjs:145const child = spawn(resolveNodeExe(), [NPM_CLI, ...args], {
执行非字面量代码dynamic-exec-nonliteral
scripts/integration-sync-profiles.test.mjs:29const factory = new Function(
拼接模块名再加载dynamic-require-constructed
scripts/integration-plugin-mount.test.mjs:65const mod = await import(`../lib/index.js?mount=${importSeq++}`);
遍历目录后批量改写mass-file-overwrite
scripts/integration-backups.test.mjs:74assert.equal((await readdir(dirs.plugins)).length, 0);
代码中存在外部 URLremote-url-reference
lib/index.js:55https://registry.npmjs.org http://127.0.0.1:${port} https://api.github.com/repos/${repo}/releases/latest https://api.github.com/repos/${repo}/releases

依赖结构

1 项
reactpeer由宿主提供