其他 · v0.3.22
dsh-test-drive
Isolated install-and-smoke test drives for DeepSeek Harness plugins: installs a repo or npm package into a throwaway DSH_HOME profile, verifies the bundle patch layer and boot logs, records a structured pass/fail result matrix (JSON/Markdown) for scoring
该插件尚未翻译,显示作者原文。
安装命令
dsh plugin --profile web add dsh-test-drive@0.3.22
未检测
这个包的 tarball 里确实有 dsh.bundle.patch,补丁文件存在且可解析。但「有补丁」是静态检查的结果,不是装过——它能不能在这台机器上装成,还没有验证。
检测报告
能力清单
- 写入文件
writes-files需留意9 处命中lib/index.js:590await mkdir(profileDir, { recursive: true });lib/index.js:592await writeFile(join(profileDir, "pnpm-workspace.yaml"), `allowBuilds:\n '${key}': true\n`, "utf8");lib/index.js:2332await mkdir(dir, { recursive: true });lib/index.js:2336await writeFile(markdown, renderDriveResult(result), "utf8");- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 清单可疑
manifest-obfuscation需留意1 处命中- 安装脚本:prepare
- 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
- 读取文件
reads-files一般8 处命中lib/index.js:293entries = await readdir(sessionDir, { withFileTypes: true });lib/index.js:330projects = await readdir(root, { withFileTypes: true });lib/index.js:340sessions = await readdir(projectDir, { withFileTypes: true });lib/index.js:366const text = newest.zstd ? decodeZstdFrames(await readFile(newest.path)) : await readFile(newest.path, "utf8");- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般3 处命中lib/types/domain.d.ts:34runs: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, {lib/types/domain.d.ts:121matrices: import("@deepseek-ai/dsh-storage-domain").DomainTableSpec<string, {lib/types/tools.d.ts:33export declare function allTools(services: ToolServices): import("@deepseek-ai/dsh-tools").ToolDefinition[];- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般2 处命中lib/index.js:507const value = process.env[name];lib/index.js:1366else if (process.env.DEEPSEEK_API_KEY === void 0 && !config.forwardEnv.includes("DEEPSEEK_API_KEY")) capability = {- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般1 处命中lib/index.js:1366else if (process.env.DEEPSEEK_API_KEY === void 0 && !config.forwardEnv.includes("DEEPSEEK_API_KEY")) capability = {- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 9 |
| 清单可疑 | manifest-obfuscation | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 8 |
| 动态加载模块 | dynamic-import | 一般 | 3 |
| 读取环境变量 | reads-env | 一般 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 26 个文件,扫描于 2026-10-21。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
- 0没有可扣分的项
认证等级 L1
- L0静态结构与契约✓sha512-zEJ26MH9kM+Yhbda… 与本地 tarball 复算一致,补丁与入口齐备
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—尚未试装
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- perrylink
- 仓库
- https://github.com/PerryLink/dsh-test-drive
- 许可
- Apache-2.0
- 最后发布
- 2026-10-18
- 周下载
- 966
- star
- 13
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 7 个cordisdsh-agentdsh-commandsdsh-jobsdsh-storage-domaindsh-subprocessdsh-tools均为 @deepseek-ai/ 下的包 |
|---|---|
| 声明 DSH 版本 | >=0.2.1-0 <0.3.0 |
| Node 要求 | ^22.19.0 || >=24.0.0 |
| 第三方依赖 | 1 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 1 条,见下方 |
元数据
| 主页 | https://github.com/PerryLink/dsh-test-drive#readme |
|---|---|
| 仓库最近提交 | 2026-10-20 |
| 仓库创建 | 2026-08-17 |
DSH