浏览全部

其他 · v0.3.22

dsh-test-drive

github.com/PerryLink/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

该插件尚未翻译,显示作者原文。

dshdsh-plugindeepseek-harnessdeepseekcordisplugin-testinginstall-smokecompatibility-matrix
认证 L1已扫描 ✓健康 S/100周下载 966
6 项能力
许可
Apache-2.0
发布
2026-10-18
维护者
perrylink

安装命令

dsh plugin --profile web add dsh-test-drive@0.3.22

未检测

这个包的 tarball 里确实有 dsh.bundle.patch,补丁文件存在且可解析。但「有补丁」是静态检查的结果,不是装过——它能不能在这台机器上装成,还没有验证。

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意4一般18未命中
高关注需留意一般

能力清单

  • 写入文件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 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

可信度

100 健康分 S 扣分项下方逐条附证据
  • 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 条,见下方

这个插件声明的依赖中,有 1 条已公开的安全公告 (最高等级:低):

等级依赖包编号摘要
低zodCVE-2023-4316Zod denial of service vulnerability
修复版本:3.22.3 详情

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

元数据

主页https://github.com/PerryLink/dsh-test-drive#readme
仓库最近提交2026-10-20
仓库创建2026-08-17

返回首页