模型与账号 · v1.2.10
dsh-token-factory
在 DeepSeek Harness WebUI 中直接使用 HelixToken 托管模型和积分。
作者原文(英文)
Use HelixToken managed models and points directly in the DeepSeek Harness WebUI.
简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。
deepseek-harnessdsh-pluginwebuihelixtokenmanaged-modelsaccount-center
认证 L1已扫描 ✓健康 B/85周下载 43
4 项能力安装命令
dsh plugin --profile web add @thewaifu/dsh-token-factory@1.2.10
强装可用 · 需绕过门禁
当前 DSH 版本上 CLI 拒绝安装这个包。用 --accept-risk 绕过门禁之后,它能装上并挂载——限制来自版本策略,不是包坏了。要用它,得自己决定这个风险值不值得承担。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
2需留意2一般20未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意2 处命中lib/types/gateway-client.js:359return await this.fetch(`${this.baseUrl}${path}`, { ...init, signal, redirect: 'error' });lib/index.js:410return await this.fetch(`${this.baseUrl}${path}`, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 含混淆或编码代码
obfuscated-code需留意1 处命中lib/contracts/index.d.ts:391export declare const REDEMPTION_CODE_FORMAT_MESSAGE = "\u5151\u6362\u7801\u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u8BF7\u8F9…- 混淆本身不是恶意,但公开源码里出现大段混淆值得问一句为什么。
- 接触凭据或密钥
credentials一般39 处命中lib/types/gateway-client.js:40if (url.username || url.password || url.pathname !== '/' || url.search || url.hash) {lib/types/gateway-client.js:45this.credentials = options.credentials;lib/types/gateway-client.js:255this.accessToken = undefined;lib/types/gateway-client.js:260if (this.accessToken !== undefined && this.accessToken.expiresAt > Date.now() + ACCESS_TOKEN_SKEW_MS)- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般12 处命中lib/types/gateway-client.d.ts:4clientInstanceId: import("@deepseek-ai/dsh-credentials").CredentialRef;lib/types/gateway-client.d.ts:5deviceId: import("@deepseek-ai/dsh-credentials").CredentialRef;lib/types/gateway-client.d.ts:6privateKey: import("@deepseek-ai/dsh-credentials").CredentialRef;lib/types/gateway-client.d.ts:7publicKey: import("@deepseek-ai/dsh-credentials").CredentialRef;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 2 |
| 含混淆或编码代码 | obfuscated-code | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 39 |
| 动态加载模块 | dynamic-import | 一般 | 12 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 29 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
85
健康分 B
扣分项下方逐条附证据
- -10声明与实物不符:peer-static-import-unsatisfiedmajor:{'@deepseek-ai/dsh-llm': '>=0.1.2-rc.1 <0.2.0-0', '@deepseek-ai/dsh-credentials': '>=0.1.2-rc.1 <0.2.0-0', '@deepseek-ai/dsh-llm-deepseek':
- -5没有仓库或主页地址warn
认证等级 L1
- L0静态结构与契约✓sha512-WoQGLukDb7c/k8Zi… 与本地 tarball 复算一致,补丁与入口齐备,另有 1 项声明不一致(计入健康扣分)
- L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
- L2隔离沙箱冒烟—试装未通过(forced-ok)
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- dores-agent
- 仓库
- —
- 许可
- Apache-2.0
- 最后发布
- 2026-09-29
- 周下载
- 43
- star
- —
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 7 个cordisdsh-anonymous-user-iddsh-credentialsdsh-llmdsh-llm-deepseekdsh-settingsdsh-typert-protocol均为 @deepseek-ai/ 下的包 |
|---|---|
| Node 要求 | ^22.19.0 || >=24.0.0 |
| 第三方依赖 | 1 个 |
| bundle patch | ./cordis.patch.yml |
| 依赖安全公告 | 1 条,见下方 |
DSH