dsh-client-ui-git-branch
github.com/dsh-mixxed/dsh-client-ui-git-branch
v0.5.1
界面与主题
可执行外部程序发起网络请求含混淆或编码代码
一个 dsh(DeepSeek Harness)out-of-tree 插件:在对话输入栏中、**模型选择的正左侧** (`conversation.input.right`)添加一个 **git 分支选择器**。
作者原文(英文)
Out-of-tree dsh plugin: a git branch selector in the chat composer, immediately left of the model seat (current branch, fuzzy search, 5-row scroll, switch with conflict toast).
中文简介由 DeepSeek 模型翻译,仅供参考。
dshplugindeepseekgitbranch
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意21未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中lib/index.js:2import { execFile } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 发起网络请求
network需留意4 处命中lib/client.js:594const response = await fetch(`/plugin/ui-git-branch/status?cwd=${encodeURIComponent(cwd)}`, {lib/client.js:606const response = await fetch("/plugin/ui-git-branch/switch", {lib/client.js:619const response = await fetch("/plugin/ui-git-branch/create", {lib/client.js:632const response = await fetch("/plugin/ui-git-branch/track", {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 含混淆或编码代码
obfuscated-code需留意3 处命中lib/client.js:561"status.noMatches": "\u6CA1\u6709\u5339\u914D\u641C\u7D22\u7684\u5206\u652F\u3002",lib/client.js:569"create.description": "\u4ECE\u5F53\u524D\u5206\u652F {branch} \u521B\u5EFA\u65B0\u5206\u652F\u5E76\u5207\u6362\u5230\u6…lib/client.js:581"track.failed": "\u65E0\u6CD5\u4ECE\u8FDC\u7A0B\u5206\u652F\u521B\u5EFA\u672C\u5730\u5206\u652F\u201C{branch}\u201D\uFF1…- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 发起网络请求 | network | 需留意 | 4 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 3 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 7 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)