dsh-update
github.com/zhu1090093659/dsh-web
v0.4.6
界面与主题
可执行外部程序以 shell 执行命令发起网络请求
dsh-web 是面向 DeepSeek Harness(DSH)Web GUI 与官方桌面客户端的模块化插件生态与 AI 智能体开发工作台。它为深度用户与开发者提供任务自动化看板(Cron 定时调度)、手机与跨设备远程控制、SSH 远程终端与集群运维、Git 提交历史图谱与多 Agent Worktree 隔离、全量会话归档管理、Token 用量与成本统计,以及一站式主题皮肤与桌面宠物工坊。用户既可以通过官方 profile 机制将插
作者原文(英文)
Self-update plugin for the dsh web GUI: probes npm for newer family releases and runs the owning profile's pnpm update in place, from a sidebar trigger beside the settings seat with a release-notes panel
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注1需留意3一般18未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注4 处命中lib/index.js:4import { spawn } from "node:child_process";lib/types/update.js:16import { spawn } from 'node:child_process';lib/types/update.d.ts:14import { spawn } from 'node:child_process';src/update.ts:17import { spawn } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 以 shell 执行命令
shell-exec高关注3 处命中lib/index.js:703* Windows cmd command-not-found stderr. With shell:true a missing shimlib/index.js:748...platform === "win32" ? { shell: true } : { detached: true }lib/types/update.js:530* Windows cmd command-not-found stderr. With shell:true a missing shimlib/types/update.js:581...(platform === 'win32' ? { shell: true } : { detached: true }),- 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
- 发起网络请求
network需留意9 处命中lib/client.js:33response = await fetch("api/update/status");lib/client.js:46const response = await fetch("api/update/run", { method: "POST" });lib/client.js:752fetch(ENDPOINT, {lib/types/client/telemetry.js:84void fetch(ENDPOINT, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 读取文件
reads-files一般3 处命中lib/index.js:340const parsed = JSON.parse(readFileSync(path, "utf8"));lib/types/update.js:105const parsed = JSON.parse(readFileSync(path, 'utf8'));src/update.ts:112const parsed: unknown = JSON.parse(readFileSync(path, 'utf8'))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般2 处命中lib/types/client/UpdateEntry.d.ts:13export declare function UpdateEntry({ wide, t }: UpdateEntryProps): import("react").JSX.Element;lib/types/client/UpdatePanel.d.ts:41export declare function UpdatePanel({ t, view, onClose, onRecheck, onStartUpdate }: UpdatePanelProps): import("react").J…- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般1 处命中README.md:109credentials are read from or written to the profile by this plugin.- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 4 |
| 以 shell 执行命令 | shell-exec | 高关注 | 3 |
| 发起网络请求 | network | 需留意 | 9 |
| 读取文件 | reads-files | 一般 | 3 |
| 动态加载模块 | dynamic-import | 一般 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 48 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)