插件沙箱测试结果
我们在隔离沙箱里真实安装了 122 个头部插件,验证它们能不能在当前的 DSH 0.2.2-rc.1 上装得上、装得上之后能不能被正确加载。这是目前唯一一份第三方集成测试数据。
测试插件
122
通过
105
失败
17
通过率
86%
最重要的发现:17 个插件(14%)在最新 DSH 上装不上。
这些插件的 CI 是绿的、单元测试可能也过了 —— 但它们装不进真实环境。
这正是「只测一半」的代价:作者测了函数,没测集成。
一、失败原因分布
| 原因 | 数量 | 涉及插件 |
|---|---|---|
| 版本不兼容 | 8 | dsh-thinking-levels, dsh-browser-cdp, dsh-perm-gate, dsh-find-plugin, dsh-prime-memory, @anionex/dsh-vision-toolkit |
| 包不存在 | 5 | dsh-chat-import, @anysearch/anysearch-dsh, @kenz1117/dsh-ui-usage-billing, dsh-meme, dsh-mcp-connector |
| 其他 | 2 | @deepseek-harness-tui/dsh-tui, github:MemTensor/MemOS#path:/apps/memos-local-plugin |
| 装了但未注册 | 1 | @roarpeng/graphflow |
| 安装超时 | 1 | @a9i5k4/dsh-auto-memory |
二、失败明细(前 30)
| 插件 | 判定 | 错误首行 |
|---|---|---|
dsh-thinking-levels | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-chat-import | 包不存在 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-browser-cdp | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-perm-gate | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-find-plugin | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
@anysearch/anysearch-dsh | 包不存在 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-prime-memory | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
@roarpeng/graphflow | 装了但未注册 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
@deepseek-harness-tui/dsh-tui | 其他 | || 0.1.5-rc.1 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc. |
@anionex/dsh-vision-toolkit | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
@kenz1117/dsh-ui-usage-billing | 包不存在 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-meme | 包不存在 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-context-compression-improved | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
github:MemTensor/MemOS#path:/apps/memos-local-plugin | 其他 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-mcp-connector | 包不存在 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
dsh-ops | 版本不兼容 | dsh: initialized profile web at /home/node/.dsh/profiles/web |
@a9i5k4/dsh-auto-memory | 安装超时 | TIMEOUT |
三、依赖体积排行(最重的 10 个)
体积直接影响用户的安装时间和磁盘占用。超过 400 MB 的插件值得注意。
| 插件 | node_modules |
|---|---|
@linxin666/dsh-pet | 487.9 MB |
@zaofan/dsh-qqbot | 479.6 MB |
@linxin666/dsh-client-ui-task-board | 472.6 MB |
@a9i5k4/dsh-auto-memory | 406.9 MB |
dsh-better-sidebar | 277.1 MB |
dsh-univer-office | 271.9 MB |
@michengai/dsh-skills-manager | 262.0 MB |
@roarpeng/graphflow | 175.3 MB |
dsh-pet | 136.2 MB |
dsh-mobile | 84.8 MB |
四、安装耗时排行
| 插件 | 安装耗时 |
|---|---|
@a9i5k4/dsh-auto-memory | 180.1s |
@zaofan/dsh-qqbot | 41.6s |
github:MemTensor/MemOS#path:/apps/memos-local-plugin | 22.3s |
@linxin666/dsh-pet | 19.3s |
@linxin666/dsh-client-ui-task-board | 18.3s |
@michengai/dsh-skills-manager | 12.7s |
dsh-pet | 12.6s |
dsh-better-sidebar | 12.6s |
github:Ebony-Vinyl/dsh-our-free-model | 12.2s |
dsh-chat-import | 11.1s |
五、测试方法
这是一个真实的沙箱测试,不是静态扫描。
我们建了一个 Docker 镜像(Node 24 + pnpm + DSH 0.2.2-rc.1),然后对每个插件做三步:
| 阶段 | 环境 | 做什么 |
|---|---|---|
| ① 安装 | 有网络,隔离容器 1 GB 内存 / 1.5 CPU / 256 进程 |
dsh plugin --profile web add <插件>,超时 180 秒 |
| ② 验证 | 无网络,非 root | dsh plugin list 确认装上 |
| ③ 加载 | 无网络,drop all capabilities | dsh --profile web --dump-config 确认插件注册进配置树 |
安全说明:第二阶段和第三阶段完全没有网络
(
--network none),所以插件代码即使有恶意行为也无法外传数据或攻击外部服务。
容器跑完即毁,无状态残留。六、判定标准
| 判定 | 含义 |
|---|---|
| pass | 装上了,加载成功,插件出现在配置树里 |
| install_failed | 安装阶段失败(版本不兼容、包不存在、超时等) |
| installs_but_not_registered | 装上了、配置也加载了,但插件没出现在配置树里 —— 可能不生效 |
七、局限
| 局限 | 说明 |
|---|---|
| 只测 npm 包 | 从 github: 或带 #path: 安装的插件暂不覆盖 |
| 只测装与加载 | 不测功能是否正确、不测性能、不测安全问题 |
| 单一 DSH 版本 | 只测 0.2.2-rc.1,不测多版本矩阵 |
| 样本有限 | 目前 122 个(下载量头部),不是全量 8,559 |
八、原始数据
/data/plugin-tests.json —— 每个插件的完整结果, 含安装日志、耗时、依赖体积、配置条目数。
如果你是插件作者:你的插件在列表里失败了?
把错误信息拿去修就行 —— 我们只是把「用户装不上的事实」测出来,没有评价你的代码质量。
All self-run results (live)
Loading…
相关
插件生态 · 开发者口径 · MCP Server