dsh-llm-gateway-compat
github.com/snowshadow/dsh-llm-gateway-compat
v0.5.0
模型与账号
发起网络请求
OpenAI-compatible gateway adapter and dialect fixes for DeepSeek Harness
该插件尚未翻译,显示作者原文。
dsh-plugindeepseek-harnessllmopenai-compatible
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意3一般20未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意1 处命中lib/completions/adapter.js:103response = await fetch(endpoint(profile.baseURL), {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 接触凭据或密钥
credentials一般72 处命中lib/completions/adapter.js:4import { assertUsableApiKey, attributionHeaders, contentHasImage, CONTEXT_WINDOW_EXCEEDED_CODE, isContextWindowExceededE…lib/completions/adapter.js:29function authHeaders(profile, apiKey) {lib/completions/adapter.js:30return profile.authHeader === 'api-key'lib/completions/adapter.js:31? { 'api-key': apiKey }- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般22 处命中lib/index.d.ts:54providers: Schema<NoInfer<import("@deepseek-ai/cosmokit").Dict<{lib/index.d.ts:64} & import("@deepseek-ai/cosmokit").Dict)[] | null | undefined;lib/index.d.ts:65extraBody?: import("@deepseek-ai/cosmokit").Dict<any, string> | null | undefined;lib/index.d.ts:66headers?: import("@deepseek-ai/cosmokit").Dict<string, string> | null | undefined;- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取环境变量
reads-env一般2 处命中lib/completions/adapter.js:35const raw = process.env[profile.apiKeyEnv];lib/completions/register.js:13const raw = process.env[apiKeyEnv];- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 72 |
| 动态加载模块 | dynamic-import | 一般 | 22 |
| 读取环境变量 | reads-env | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 32 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)