浏览全部

界面与主题 · v0.1.7-rc.1-v0.1

dsh-quota-panel

github.com/wenzetan/dsh-quota-panel

能力发起网络请求写入文件动态执行代码

dsh-quota-panel 是 DeepSeek Harness(DSH)Web 界面(dsh web)的提供商配额/余额状态组件。

作者原文(英文)

dsh-quota-panel is a provider quota / balance status widget for the DeepSeek Harness (DSH) web surface (dsh web).

简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。

dshdsh-plugindeepseek-harnessquotabalanceusageopencode
认证 L1已扫描 ✓健康 S/100周下载 776
6 项能力
许可
MIT
发布
2026-09-24
维护者
wenzetan
插件 ID
2451

安装命令

dsh plugin --profile web add dsh-quota-panel@0.1.7-rc.1-v0.1

强装可用 · 需绕过门禁

当前 DSH 版本上 CLI 拒绝安装这个包。用 --accept-risk 绕过门禁之后,它能装上并挂载——限制来自版本策略,不是包坏了。要用它,得自己决定这个风险值不值得承担。

源仓库已归档 作者把仓库设为只读,不会再接受更新或修复。包本身仍可安装。

检测报告

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

能力清单

  • 发起网络请求network需留意16 处命中
    • lib/index.js:398const res = await fetch(url, { method: 'POST', headers, body: '', signal: AbortSignal.timeout(timeoutMs) });
    • lib/index.js:1393: net.connect({ host: proxy.hostname, port: proxyPort });
    • lib/index.js:1423const connect = http.request({
    • lib/index.js:1440readResponse(https.request({
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意6 处命中
    • lib/index.js:366await fsp.mkdir(path.dirname(file), { recursive: true });
    • lib/index.js:378await fsp.writeFile(file, payload, { encoding: 'utf8', mode: 0o600 });
    • lib/index.js:382await fsp.unlink(chatgptDshStorePath());
    • src/index.ts:391await fsp.mkdir(path.dirname(file), { recursive: true });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 动态执行代码dynamic-code需留意2 处命中
    • lib/vendor/schemastery.mjs:42schema.callback = new Function("return " + schema.callback)();
    • src/vendor/schemastery.mjs:42schema.callback = new Function("return " + schema.callback)();
    • 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
  • 接触凭据或密钥credentials一般96 处命中
    • lib/index.js:9* with two endpoints. API keys are resolved through `ctx.credentials`
    • lib/index.js:27* key resolves through `ctx.credentials` appear automatically. Explicit
    • lib/index.js:311if (!tokens || typeof tokens !== 'object' || typeof tokens.access_token !== 'string' || tokens.access_token.length === 0…
    • lib/index.js:312throw new Error(`ChatGPT: ${authJson} has no tokens.access_token (run "codex login")`);
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取文件reads-files一般4 处命中
    • lib/index.js:298raw = await fsp.readFile(authJson, 'utf8');
    • lib/index.js:338raw = await fsp.readFile(file, 'utf8');
    • src/index.ts:326raw = await fsp.readFile(authJson, 'utf8');
    • src/index.ts:365raw = await fsp.readFile(file, 'utf8');
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般4 处命中
    • lib/index.js:250const override = process.env.CODEX_HOME;
    • lib/index.js:263const home = process.env.DSH_HOME;
    • src/index.ts:267const override = process.env.CODEX_HOME;
    • src/index.ts:281const home = process.env.DSH_HOME;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意16
写入文件writes-files需留意6
动态执行代码dynamic-code需留意2
接触凭据或密钥credentials一般96
读取文件reads-files一般4
读取环境变量reads-env一般4

这份报告的口径

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

可信度

100 健康分 S 扣分项下方逐条附证据
  • 0没有可扣分的项

认证等级 L1

  • L0静态结构与契约✓sha512-6VWyn+JJaPLx+87T… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
  • L2隔离沙箱冒烟—试装未通过(forced-ok)
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
wenzetan
仓库
https://github.com/wenzetan/dsh-quota-panel
许可
MIT
最后发布
2026-09-24
周下载
776
star
12

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

DSH peer 依赖6 个cordisdsh-client-connectiondsh-client-localedsh-client-ui-rendererdsh-cordis-client-runnerdsh-credentials均为 @deepseek-ai/ 下的包
第三方依赖0 个(纯自包含)
bundle patch./cordis.patch.yml
依赖安全公告已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

元数据

主页https://github.com/wenzetan/dsh-quota-panel#readme
仓库最近提交2026-09-24
仓库创建2026-08-14

返回首页