dsh-host-update avatar

dsh-host-update

DSH宿主本体自动更新插件 —— 侧边栏独立入口,检测 @deepseek-ai/dsh 更新、一键静默更新并重启,并对当前 profile 的插件做兼容性诊断

Plugin自动化桌面
验证
L2 · 结构化
安全
中风险
健康
活跃
信任

功能介绍AI

Dsh host auto-update plugin: checks core updates, one-click silent update & restart, plus plugin compatibility diagnostics.

  • Detects @deepseek-ai/dsh host updates across stable/beta/dev channels
  • One-click silent npm update and restart, with major-version confirmation
  • Profile plugin compatibility diagnostic with errors/warnings and fix hints

由 AI 基于 README 自动生成,仅供参考。

安装

dsh plugin --profile web add dsh-host-update

Install method: npm · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

安全报告

自动静态扫描,非人工审核。

DSH.SO AUDIT需注意1c797e
自动审查 · 每日更新
需注意

非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。

4 严重·1 警告·6 提示·5 扫描文件数
shell ×3code-exec ×1
插件版本0.1.7dsh 清单
扫描版本1c797e4bf2b02026-08-20
当前版本1c797e4bf2b0

扫描结果仅对「扫描版本」有效。扫描后 7 天内的新提交不会触发 outdated,评级仍然有效;超过 7 天未重新扫描才显示 outdated。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

第二意见扫描(vet · 并行评估期)
vet:干净

vet 判定:vet:干净 · score 87

vet 仅作参考,不改变 dsh 的四档等级。

风险:中风险4 critical · 1 warning · 6 info

• 静态启发式扫描:已完成(5 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

高危发现 · 5 / 5

  • critical使用 child_process 子进程模块(Node.js)lib/index.js:5
    import { exec as execCb, execSync } from "node:child_process";
  • critical执行 shell 命令(exec / execSync)lib/index.js:62
    const { stdout } = await exec(`npm view ${pkg} dist-tags --json`, { timeout: 10_000 });
  • critical执行 shell 命令(exec / execSync)lib/index.js:122
    const { stdout } = execSync ? execSync(`npm ${arg} -g`, { encoding: "utf8", timeout: 5000 }) : { stdout: "" };
  • critical执行 shell 命令(exec / execSync)lib/index.js:358
    const { stdout, stderr } = await exec(`npm i -g @deepseek-ai/dsh@${latest}`, { timeout: 120_000 });
  • warning文件系统写入操作lib/index.js:46
    fs.writeFileSync(path, JSON.stringify(next, null, 2));

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-20 · 活跃度:活跃

• 仓库创建: 2026-08-20

• 星标: ★ 0 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/Trewyn/dsh-host-update

这页有帮助吗?