D

dsh-opencode-patch

github.com/viztor/dsh-opencode-patch

v1.1.1 模型与账号 写入文件发起网络请求R013 清单可疑

OpenCode on DeepSeek Harness — session affinity, Zen/Go gateway origin headers, free-tier tool fallback, and live Go quota display.

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

cordisdeepseek-harnessdshdsh-pluginllmmissing-session-idopencodeopencode-go
分类
model
发布
2026-10-09
版本
v1.1.1

检测报告

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

能力清单

  • 写入文件writes-files需留意2 处命中
    • lib/index.mjs:3907await appendFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
    • lib/index.mjs:4859appendFileSync("/tmp/dsh-opencode-patch.log", `[dsh-opencode-patch] apply() ran; providers=[${[...resolveConfig(rawConfi…
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意1 处命中
    • lib/index.mjs:4626response = await fetch(url, {
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 接触凭据或密钥credentials一般126 处命中
    • lib/client.js:1227* goes through the one service that owns credential resolution and the endpoint.
    • lib/client.js:1527keySource: "Credential Source",
    • CHANGELOG.md:86* a rejected Go credential says so, instead of 'unavailable' ([b7cbc86](https://github.com/viztor/dsh-opencode-patch/com…
    • CHANGELOG.md:129* the Go meter threw away the one credential that worked ([9ecef63](https://github.com/viztor/dsh-opencode-patch/commit/…
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般7 处命中
    • CONTRIBUTING.md:61- **Restore globals.** Tests that touch `globalThis.fetch` or `process.env` must restore them in `afterEach` (`vi.unstub…
    • lib/index.mjs:2528const envId = process.env[name];
    • lib/index.mjs:2784const fallbackKey = (config.keySource === "configured" ? void 0 : getCapturedApiKey(state?.provider, tier === "unknown" …
    • lib/index.mjs:3029const fromEnv = process.env[ref];
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意2
发起网络请求network需留意1
R013 清单可疑manifest-obfuscation需留意1
接触凭据或密钥credentials一般126
读取环境变量reads-env一般7

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 10 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件