Scan your whole stack
Are you using dsh-plugin-update-checker?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.8
dsh-plugin-update-checker was last scanned on 24 Nov 2026 at version 0.1.8. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.8 LATEST | 24 Nov 2026 | No rules fired |
| 0.1.7 | 2 Nov 2026 | No rules fired |
| 0.1.6 | 19 Oct 2026 | No rules fired |
| 0.1.5 | 19 Oct 2026 | Not shown |
| 0.1.4 | 19 Oct 2026 | Not shown |
Findings for v0.1.8. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.8; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
中文 · English
一个 DeepSeek Harness 插件:在 内置插件(Built-in plugins) 设置分区中增加一个 检查更新(Check updates) 按钮。点击后,它会扫描每个已安装插件的 (1) npm 上的最新发布版本 与 (2) 与当前运行 DSH 运行时的兼容性,并以每个插件一行的形式展示结果。
它与只读的插件清单页并列,本身不提供任何配置。它负责汇报,并对有可用更新的插件提供一个 更新 按钮。启用、停用、卸载插件仍然在右侧栏的 插件(Plugins) 页面或通过 dsh plugin 完成。
「更新」按钮怎么工作:由主机侧驱动 app 自己的插件管理器,一次更新是两次调用——先 removeBundle,再 installBundle(<name>@<version>)。单次调用不够:dsh 0.2.1 的管理器对「已经是 profile 依赖」的包直接拒绝 add(already-installed,在 pnpm 启动前抛出),而更新恰好就是这个形状。装完后会从磁盘读回实际版本,所以「管理器报告成功但什么都没写」会如实报成失败,而不是假的版本变更。有一个包例外:本插件不能卸载自己——卸载会把正在响应这次请求的路由一起卸掉,请用 dsh install-plugin dsh-plugin-update-checker@<version> 更新。
| 检查项 | 数据来源 | 说明 |
|---|---|---|
| 更新可用性 | npm 注册表(latest tag 与已安装版本对比) |
仅针对发布到注册表的包。通过 tarball / git / 本地路径安装的包不会发布到注册表,因此显示为 不受支持(Unsupported),而绝不会错误地显示 已是最新。 |
| 兼容性 | 插件的 @deepseek-ai/dsh* peerDependencies 与当前 DSH 版本对比 |
复用 @deepseek-ai/dsh-app-boot 的 evaluatePluginCompatibility——也就是启动器在启动时用的同一个判断函数。若在 compatibility.json 中授予了精确版本豁免,则显示为 兼容(已豁免)。 |
兼容性与更新可用性是独立计算的——注册表慢或不可达,永远不会掩盖不兼容的 peer 依赖;反之,纯本地包仍然会得到兼容性结论。
扫描用哪个注册表:不再写死 registry.npmjs.org。主机自己读配置(环境变量 → profile 的 .npmrc → 用户 ~/.npmrc,取第一个命中的),再并发探测、取最先成功的那个。规则分三种:什么都没配 → 竞速「启动器同款镜像 + 公共注册表」;配的是公共默认值(npm 会自动往 ~/.npmrc 写 registry=https://registry.npmjs.org/)→ 保留它并把镜像挂在后面,两者皆公共、无泄露风险;配的是其它地址(公司内部源、私有源)→ 只用它一个,绝不与任何公共注册表竞速,否则会把内部包名泄露给第三方。国内网络下差别很大——实测同一台机器上公共注册表约 11s、镜像约 0.2s;竞速保证慢的那个即使排在第一也不会拖住快的。清单里显式声明了 publishConfig.registry 的包仍以该注册表为准。获胜注册表随行返回,点「更新」时沿用它——从哪读到版本,就从哪安装。
宿主半身只声明了
webServer,而remote是浏览器侧服务;当前 cordis 版本里访问未声明的服务会直接抛错(cannot get property ... without inject),所以宿主不能去问插件管理器要注册表——上面这套读配置的方式正是为此设计的。
打开 设置 → 内置插件。该分区现在有两个标签页:
检查是按需触发的:点击按钮,主机扫描,表格填充。某个清单损坏或注册表不可达,只会隔离到对应那一行——绝不会让整张报表空白。
dsh install-plugin dsh-plugin-update-checker
从注册表安装对这个插件尤其值得:用 github: 安装会被 profile 锁文件钉在某个
commit 上,重跑同样的 spec 不会拿到新版本,面板也只能把它报成 不受支持
(它只会比对注册表版本)。0.1.4 之后按普通版本号解析,面板自带的「更新」按钮就能用。
打开右侧栏 插件(Plugins) 页面 → 添加插件。
在来源框里填入下面任意一种安装描述符(启动器通过 installBundle 解析,和 GUI 用的是同一个原语):
github:windrover/dsh-plugin-update-checker
# 或完整 URL:
https://github.com/windrover/dsh-plugin-update-checker
重启以加载新 bundle:
dsh check # 铁律 #1:重启前先预检
dsh restart # 重新加载 web profile,新 bundle 随之加载
打开 设置 → 内置插件 → 检查更新 → 检查更新。
检查按钮发起的 fetch('/api/plugin-update-checker/scan') 在已认证的浏览器会话内执行,无需手动 token。
本仓库是 公开 的,所以从 GitHub 直接安装无需额外认证。在
registry.npmjs.org不可达的网络下,启动器会自动改用registry.npmmirror.com。
把包 clone 到 profile 能链接的位置:
# 例如放在你的 DSH 工作区里
git clone https://github.com/windrover/dsh-plugin-update-checker dsh-plugin-update-checker
链接进 profile:在 profile 清单中加入 link: 依赖与 bundles 条目:
// ~/.dsh/profiles/<你的 profile>/package.json
{
"dependencies": {
"dsh-plugin-update-checker": "link:/abs/path/to/dsh-plugin-update-checker"
},
"dsh": { "profile": { "bundles": [ "…", "dsh-plugin-update-checker" ] } }
}
然后安装。本 profile 下 npm install 会拒绝 link: 协议——改用 pnpm(profile 是 pnpm workspace,这也是 dsh 底层用的):
cd ~/.dsh/profiles/web
pnpm install --registry=https://registry.npmmirror.com # link: 依赖不联网
dsh 的 wire_link_plugin_deps 会自动把插件 import 的 @deepseek-ai/* 软链进它自己的 node_modules,但不会处理普通 npm 包——所以要把那唯一一条真依赖手动预链(link 插件的已知坑:link 插件解析不到没提升到它树里的包):
mkdir -p dsh-plugin-update-checker/node_modules
ln -sfn ~/.npm/_npx/<active-dsh-hash>/node_modules/semver \
dsh-plugin-update-checker/node_modules/semver
重启并打开(dsh check && dsh restart,再走方式 A 同样的设置路径)。
一个包,两端:
lib/index.js → lib/host/update-checker.js)注册两条路由。POST /api/plugin-update-checker/scan 从磁盘遍历 profile 的 bundles,读取每个清单、评估 peer 兼容性、探测注册表。POST /api/plugin-update-checker/update 接收 { name, version, registry? },通过宿主 pluginManager 服务执行更新(lib/host/update.js):先试 installBundle,管理器回答 already-installed 就 removeBundle 后再装一次,最后读回落盘版本。cordis.patch.yml 添加 Loader 行。lib/client.js)向内置插件分区的 settings.plugins.tab 槽注册一个标签页,并用 react(require("react"))和 DSH 已暴露的设计 token 渲染结果。它只与主机的两条路由通信,自己不再碰 remote.pluginManager。包的 id 等于包 name——这是 dsh-client-modules 强制的契约。npm test # 下面全部按顺序跑
test/client-contract.test.mjs 锁定浏览器半边的契约(id == 包名、唯一一个 settings.plugins.tab 注册、可渲染的 body 组件)。test/update.test.mjs 用假管理器锁定更新编排(先卸后装、拒绝自更新、哪种失败会中断流程)。test/update-route.test.mjs 在一次性 profile 上端到端跑路由,包括「管理器说 applied、磁盘却没动」这一种。test/layering.test.mjs 保证主机拆分保持单向依赖、ctx 只出现在入口模块。test/runtime-staging.test.mjs 用假 feed 和假 .updaterId 锁定灰度门槛,被挡下与放行(无门槛 / 读不到身份)两条分支都覆盖。
dsh install-plugin dsh-plugin-update-checker@<version> 后重启。npm install -g @deepseek-ai/dsh@<version> 命令。刻意写明「谁来更新」:一个本面板无法兑现的按钮,看起来就是个坏掉的控件。stagingPercentage 是真实闸门:electron-updater 用 <userData>/.updaterId 的字节 12–15 算出本机桶位,桶位落在窗口外就不给这版。面板同样计算,所以灰度没轮到的版本显示 已是最新,并在下方注明「{version} 正在灰度发布,本次安装还没轮到,菜单里也查不到」。缺门槛、门槛写坏、读不到 updaterId 时一律按「有更新」处理(保留修复前的行为),不会因读不到内部状态而漏报。Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.