中文EN

插件沙箱测试结果

我们在隔离沙箱里真实安装了 122 个头部插件,验证它们能不能在当前的 DSH 0.2.2-rc.1 上装得上、装得上之后能不能被正确加载。这是目前唯一一份第三方集成测试数据。

测试插件
122
通过
105
失败
17
通过率
86%
最重要的发现:17 个插件(14%)在最新 DSH 上装不上。 这些插件的 CI 是绿的、单元测试可能也过了 —— 但它们装不进真实环境。 这正是「只测一半」的代价:作者测了函数,没测集成。

一、失败原因分布

原因数量涉及插件
版本不兼容8dsh-thinking-levels, dsh-browser-cdp, dsh-perm-gate, dsh-find-plugin, dsh-prime-memory, @anionex/dsh-vision-toolkit
包不存在5dsh-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-pet487.9 MB
@zaofan/dsh-qqbot479.6 MB
@linxin666/dsh-client-ui-task-board472.6 MB
@a9i5k4/dsh-auto-memory406.9 MB
dsh-better-sidebar277.1 MB
dsh-univer-office271.9 MB
@michengai/dsh-skills-manager262.0 MB
@roarpeng/graphflow175.3 MB
dsh-pet136.2 MB
dsh-mobile84.8 MB

四、安装耗时排行

插件安装耗时
@a9i5k4/dsh-auto-memory180.1s
@zaofan/dsh-qqbot41.6s
github:MemTensor/MemOS#path:/apps/memos-local-plugin22.3s
@linxin666/dsh-pet19.3s
@linxin666/dsh-client-ui-task-board18.3s
@michengai/dsh-skills-manager12.7s
dsh-pet12.6s
dsh-better-sidebar12.6s
github:Ebony-Vinyl/dsh-our-free-model12.2s
dsh-chat-import11.1s

五、测试方法

这是一个真实的沙箱测试,不是静态扫描。 我们建了一个 Docker 镜像(Node 24 + pnpm + DSH 0.2.2-rc.1),然后对每个插件做三步:
阶段环境做什么
① 安装有网络,隔离容器
1 GB 内存 / 1.5 CPU / 256 进程
dsh plugin --profile web add <插件>,超时 180 秒
② 验证无网络,非 rootdsh 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