dsh-client-ui-git-graph
github.com/zhu1090093659/dsh-web
v0.4.6
界面与主题
发起网络请求写入文件R011 客户端可疑脚本
dsh-web 是面向 DeepSeek Harness(DSH)Web GUI 与官方桌面客户端的模块化插件生态与 AI 智能体开发工作台。它为深度用户与开发者提供任务自动化看板(Cron 定时调度)、手机与跨设备远程控制、SSH 远程终端与集群运维、Git 提交历史图谱与多 Agent Worktree 隔离、全量会话归档管理、Token 用量与成本统计,以及一站式主题皮肤与桌面宠物工坊。用户既可以通过官方 profile 机制将插
作者原文(英文)
External dsh web GUI plugin: a blank-session git branch selector + Git graph, with real host-side git operations and guards, as a dsh profile bundle
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意3一般18未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意6 处命中lib/types/client/api.js:3* the SSE change subscription. Same-origin relative fetch (the page and thelib/types/client/api.js:22response = await fetch(path, {lib/client.js:92* the SSE change subscription. Same-origin relative fetch (the page and thelib/client.js:113response = await fetch(path, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意3 处命中lib/types/host/git-service.js:318await mkdir(repoWorktreesDir(root), { recursive: true });lib/index.js:1147await mkdir(repoWorktreesDir(root), { recursive: true });src/host/git-service.ts:351await mkdir(repoWorktreesDir(root), { recursive: true })- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- R011 客户端可疑脚本
client-side-risk需留意3 处命中- client.js: postMessage 无 origin 校验; sse-leader.js: postMessage 无 origin 校验
- 浏览器侧代码能改你看到的界面。确认改动范围符合插件用途。
- 读取文件
reads-files一般9 处命中lib/types/host/git-service.js:300if (existsSync(target)) {lib/types/host/git-service.js:429return markerPaths.some((markerPath) => existsSync(resolve(root, markerPath)));lib/types/host/git-service.js:439if (markerPath !== '' && existsSync(resolve(root, markerPath)))lib/index.js:1124if (existsSync(target)) return {- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般8 处命中…pes/client/chips/BranchChip.d.ts:20export declare function BranchChip(props: BranchChipProps): import("react").JSX.Element | null;…/client/chips/BranchPopover.d.ts:35export declare function BranchPopover({ view, onSwitch, onSwitched, onCreate, onGraph, onCreateWorktree, onManageWorktre…lib/types/client/chips/Chip.d.ts:19export declare function Chip({ icon, label, ariaLabel, open, onClick, hero }: ChipProps): import("react").JSX.Element;lib/types/client/chips/Chip.d.ts:23}): import("react").JSX.Element;- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般3 处命中lib/types/host/dsh-home.js:26export function resolveDshHome(env = process.env, home = homedir()) {lib/index.js:724function resolveDshHome(env = process.env, home = homedir()) {src/host/dsh-home.ts:27export function resolveDshHome(env: NodeJS.ProcessEnv = process.env, home: string = homedir()): string {- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 6 |
| 写入文件 | writes-files | 需留意 | 3 |
| R011 客户端可疑脚本 | client-side-risk | 需留意 | 3 |
| 读取文件 | reads-files | 一般 | 9 |
| 动态加载模块 | dynamic-import | 一般 | 8 |
| 读取环境变量 | reads-env | 一般 | 3 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 101 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)