其他 · v1.1.1
dsh-plan-orchestrator
@gilbertgt/dsh-plan-orchestrator 扩展了 DeepSeek Harness 原生的 Plan Mode。
作者原文(英文)
@gilbertgt/dsh-plan-orchestrator augments DeepSeek Harness native Plan Mode.
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
认证 L1已扫描 ✓健康 A/90周下载 23
7 项能力安装命令
dsh plugin --profile web add @gilbertgt/dsh-plan-orchestrator@1.1.1
强装后仍失败
即使绕过版本门禁,这个包装上之后仍然失败。说明问题不只是版本对齐,包本身在当前环境里也跑不起来。
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注3需留意3一般17未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中lib/github-C4qFiwHb.js:4import { execFile, spawn } from "node:child_process";- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意15 处命中lib/github-C4qFiwHb.js:474await mkdir(dirname(path), { recursive: true });lib/github-C4qFiwHb.js:477await writeFile(tmp, body, {lib/index.js:1589await mkdir(join(path, ".."), { recursive: true });lib/index.js:2736await mkdir(dirname(target), { recursive: true });- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意3 处命中lib/client.js:342function createRpc(fetcher = globalThis.fetch.bind(globalThis)) {lib/rpc-server-CPTp9f7C.js:114for (const method of RPC_METHODS) disposers.push(connection.fetch.register({lib/rpc-server-CPTp9f7C.js:118async fetch(request) {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 动态执行代码
dynamic-code需留意1 处命中lib/index.js:248schema.callback = new Function("return " + schema.callback)();- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- 读取文件
reads-files一般14 处命中lib/github-C4qFiwHb.js:326const [stdout, stderr] = await Promise.all([readFile(stdoutPath), readFile(stderrPath)]);lib/github-C4qFiwHb.js:496return JSON.parse(await readFile(path, "utf8"));lib/github-C4qFiwHb.js:523names = await readdir(dir);lib/github-C4qFiwHb.js:596const [stdout, stderr] = await Promise.all([readFile(receipt.stdout.path), readFile(receipt.stderr.path)]);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般5 处命中lib/github-C4qFiwHb.js:251function needsFileBackedWindowsStdio(platform = process.platform, env = process.env) {lib/github-C4qFiwHb.js:455const stateRoot = () => resolve(process.env.DSH_HOME ? join(process.env.DSH_HOME, "state", "plan-orchestrator") : join(h…lib/index.js:3540function minimalSdkEnv(source = process.env) {lib/index.js:3935const probe = options.probe ?? onPathProbe(options.env ?? process.env);- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般4 处命中lib/index.js:3604const { DeepSeekHarness } = await import("@deepseek-ai/dsh-sdk-client");lib/index.js:4805const { publishExternalRun } = await import("./publication-2zqXimHH.js");lib/index.js:5127return require(`${id}/package.json`).version;lib/index.js:5286import("./rpc-server-CPTp9f7C.js").then(({ registerRpc }) => {- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 写入文件 | writes-files | 需留意 | 15 |
| 发起网络请求 | network | 需留意 | 3 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 14 |
| 读取环境变量 | reads-env | 一般 | 5 |
| 动态加载模块 | dynamic-import | 一般 | 4 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 12 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
90
健康分 A
扣分项下方逐条附证据
- -10声明与实物不符:peer-static-import-unsatisfiedmajor:{'@deepseek-ai/dsh-llm': '^0.1.5-rc.1', '@deepseek-ai/dsh-sandbox-policy': '^0.1.5-rc.1'}
认证等级 L1
- L0静态结构与契约✓sha512-TSRB0AMlUUmruqtW… 与本地 tarball 复算一致,补丁与入口齐备,另有 1 项声明不一致(计入健康扣分)
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—试装未通过(force-failed)
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- gilbertslhs
- 仓库
- https://github.com/gilbertgt/DSH-plan-mode
- 许可
- MIT
- 最后发布
- 2026-09-14
- 周下载
- 23
- star
- 0
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 13 个cordisdsh-agentdsh-commandsdsh-llmdsh-plan-modedsh-sandboxdsh-sandbox-policydsh-sessiondsh-session-projectiondsh-settingsdsh-subagentdsh-system-prompt等 13 个均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | ^22.19.0 || >=24.0.0 |
| 第三方依赖 | 1 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 1 条,见下方 |
元数据
| 主页 | https://github.com/gilbertgt/DSH-plan-mode#readme |
|---|---|
| 仓库最近提交 | 2026-09-14 |
| 仓库创建 | 2026-09-12 |
DSH