dsh-opencode-go

版本 0.4.7发布 2026-11-22仓库 Duskriver/dsh-opencode-go
3/4装得上 · 启动通过

为 DeepSeek Harness (DSH) 量身打造的 OpenCode Go 专属接入、配额透视与多账号管理插件。

模型与供应商周下载 1,606依赖 3peer 22MIT依赖存在已知漏洞
pnpm add dsh-opencode-go

安装前须知

Node 要求
^22.19.0 || >=24.0.0
package.json engines
peer 依赖
22 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
./lib/index.js
bundle 已声明 · patch 随包

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整
无 high / critical 命中
未通过
配置组合装入一次性 DSH_HOME 后配置树能否合并
命中 high 或 critical 规则
未通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测通过
安装完成后由真实宿主启动一次,检查入口是否激活

检测结论明细

共 16 次命中
收录判定1 条规则 · 1 次命中
发布者与仓库所有者不同l0-author-repo-differs
静态结构3 条规则 · 3 次命中
读取凭据/密钥文件路径credential-path-read
lib/types/sdk-types.d.ts:560requires login
启动子进程child-process-spawn
lib/index.js:6738const child = spawn(executable, ["--no-env-file", worker], {
代码中存在外部 URLremote-url-reference
lib/chunk-HGTTAQMA.js:312https://github.com/node-fetch/node-fetch/issues/1000 https://github.com/node-fetch/node-fetch/issues/1167 https://opencode.ai/inference/go/v1 https://
配置组合2 条规则 · 8 次命中
依赖存在高危漏洞×4dep-vulnerability-high
受影响依赖undici@7.30.0
CVE-2026-87018undici@7.30.0修复版本 6.29.1 / 7.30.1 / 8.12.2公告原文undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
CVE-2026-109869undici@7.30.0修复版本 6.29.1 / 7.30.1 / 8.12.2公告原文undici vulnerable to Denial of Service via unhandled error on excessive content-encodings
另有 2 条同类漏洞未列出
依赖存在中危漏洞×4dep-vulnerability-medium
受影响依赖undici@7.30.0
CVE-2026-109924undici@7.30.0修复版本 6.29.1 / 7.30.1 / 8.12.2公告原文undici vulnerable to Denial of Service via unbounded memory in the EventSource parser
CVE-2026-87029undici@7.30.0修复版本 7.30.1 / 8.12.2公告原文undici vulnerable to Denial of Service via unhandled exception in the decompress interceptor
另有 2 条同类漏洞未列出
源码审查2 条规则 · 4 次命中
进程以非零码退出×2l3.nonzero-exit
源码审查结果
运行时抛出异常×2l3.runtime-error
源码审查运行日志启动时找不到依赖 @deepseek-ai/dsh-launch-environment,检测环境里没有提供它

依赖结构

19 项
@anthropic-ai/sdk直接依赖随包安装
openai直接依赖随包安装
undici直接依赖随包安装
@deepseek-ai/cordispeer由宿主提供
@deepseek-ai/dsh-api-gatewaypeer由宿主提供
@deepseek-ai/dsh-api-remotespeer由宿主提供
@deepseek-ai/dsh-api-settings-controllerpeer由宿主提供
@deepseek-ai/dsh-attachmentpeer由宿主提供
@deepseek-ai/dsh-brandpeer由宿主提供
@deepseek-ai/dsh-client-localepeer由宿主提供
@deepseek-ai/dsh-client-storepeer由宿主提供
@deepseek-ai/dsh-client-ui-conversationpeer由宿主提供
@deepseek-ai/dsh-client-ui-model-selectionpeer由宿主提供
@deepseek-ai/dsh-client-ui-rendererpeer由宿主提供
@deepseek-ai/dsh-client-ui-settingspeer由宿主提供
@deepseek-ai/dsh-client-ui-slotspeer由宿主提供
@deepseek-ai/dsh-credentialspeer由宿主提供
@deepseek-ai/dsh-fspeer由宿主提供
@deepseek-ai/dsh-launch-environmentpeer由宿主提供

peer 依赖共 22 个,此处列出前 16 个。