技能包 · v0.4.5
dsh-skill-mcp
DSH 技能与MCP插件(v0.4),两大功能。
作者原文(英文)
Management center: link skill directories into the user skills root (enable/disable/unlink/delete) and manage MCP servers — add/edit/delete, import from other agents (Claude Code/Codex/Cursor/Gemini CLI), auto-load each project's own MCP servers via the l
简介取自插件自己的 README 原文。
安装命令
dsh plugin --profile web add dsh-skill-mcp@0.4.5
强装后仍失败
即使绕过版本门禁,这个包装上之后仍然失败。说明问题不只是版本对齐,包本身在当前环境里也跑不起来。
检测报告
能力清单
- 可执行外部程序
spawns-processes高关注2 处命中lib/index.js:40import { execFile } from 'node:child_process'scripts/link-skills.mjs:11import { spawnSync } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意7 处命中lib/index.js:228await mkdir(path.dirname(target), { recursive: true })lib/index.js:236await writeFile(tmp, content, 'utf8')lib/index.js:237await rename(tmp, target)lib/index.js:297// Skills: link / unlink (the plugin's own feature)- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 启动伪终端
spawns-pty需留意3 处命中README.md:41| 安装时 pnpm 拦截 `node-pty` 构建脚本(仅旧版 dshmarket ≤1.37 的依赖) | 在 `~/.dsh/profiles/web` 执行 `pnpm approve-builds --all` 放行后重跑安装 …scripts/link-skills.mjs:36? spawnSync('powershell.exe', ['-NoProfile', '-NonInteractive', '-File', script, '-SourceDirectory', source, '-TargetDir…scripts/link-skills.mjs:37: spawnSync('bash', [script, source, target], { stdio: 'inherit' })- 伪终端等于给了一个完整 shell。确认这是插件的核心功能。
- 发起网络请求
network需留意2 处命中lib/index.js:1232// connection.fetch.register 注册精确 POST 路由(优先于网关 interceptor)。lib/index.js:1243c.connection.fetch.register({README.md:156- 宿主半边与客户端半边走 **dsh v0.1.5 的 `/api` 传输模型**:宿主用 `connection.fetch.register` 注册 15 个精确 POST 路由 `/api/skill-mcp/<endpoint>`…- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 读取文件
reads-files一般12 处命中lib/index.js:208await readFile(skillMd, 'utf8')lib/index.js:213await readFile(fileMd, 'utf8')lib/index.js:255entries = await readdir(root, { withFileTypes: true })lib/index.js:265try { content = await readFile(contentPath, 'utf8') } catch { content = '' }- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般2 处命中lib/index.js:121return process.env.DSH_HOME || path.join(homedir(), '.dsh')scripts/link-skills.mjs:30const home = process.env.DSH_HOME || path.join(homedir(), '.dsh')- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 2 |
| 写入文件 | writes-files | 需留意 | 7 |
| 启动伪终端 | spawns-pty | 需留意 | 3 |
| 发起网络请求 | network | 需留意 | 2 |
| 读取文件 | reads-files | 一般 | 12 |
| 读取环境变量 | reads-env | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 8 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- -5cordis entry id「dsh-skill-mcp」被 2 个包共用,同时安装会互相替换warn:@civilization/deepseek-harness-skill-mcp
认证等级 L0
- L0静态结构与契约✓sha512-flZ04ZCAgGsRLuq0… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图—entry id dsh-skill-mcp 被 2 个包共用
- L2隔离沙箱冒烟—试装未通过(force-failed)
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- lvanla
- 仓库
- https://github.com/LvanLa/deepseek-harness-ex
- 许可
- BSD-3-Clause
- 最后发布
- 2026-09-11
- 周下载
- 27
- star
- 0
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 6 个cordisdsh-client-connectiondsh-client-localedsh-client-runtimedsh-client-ui-slotsdsh-client-ui-workspace均为 @deepseek-ai/ 下的包 |
|---|---|
| 第三方依赖 | 0 个(纯自包含) |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。) |
元数据
| 主页 | https://github.com/LvanLa/deepseek-harness-ex/tree/master/plugins/dsh-skill-mcp |
|---|---|
| 仓库最近提交 | 2026-09-11 |
| 仓库创建 | 2026-09-02 |
DSH