浏览全部

界面与主题 · v0.9.2-rc.1-local.12

dsh-balance-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
认证 未评级已扫描 ✓健康 S/100周下载 336
6 项能力
许可
MIT
发布
2026-10-12
维护者
sunshaobei

安装命令

dsh plugin --profile web add dsh-balance-panel@0.9.2-rc.1-local.12

声明可安装

这个包的 tarball 里确实有 dsh.bundle.patch,补丁文件存在且可解析。但「有补丁」是静态检查的结果,不是装过——它能不能在这台机器上装成,还没有验证。

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

检测报告

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

能力清单

  • 发起网络请求network需留意12 处命中
    • lib/index.js:371const res = await fetch(url, { method: 'POST', headers, body: '', signal: AbortSignal.timeout(timeoutMs) });
    • lib/index.js:1357: net.connect({ host: proxy.hostname, port: proxyPort });
    • lib/index.js:1383const connect = http.request({
    • lib/index.js:1400readResponse(https.request({
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 写入文件writes-files需留意6 处命中
    • lib/index.js:339await fsp.mkdir(path.dirname(file), { recursive: true });
    • lib/index.js:351await fsp.writeFile(file, payload, { encoding: 'utf8', mode: 0o600 });
    • lib/index.js:355await fsp.unlink(chatgptDshStorePath());
    • src/index.ts:360await 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一般91 处命中
    • 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:284if (!tokens || typeof tokens !== 'object' || typeof tokens.access_token !== 'string' || tokens.access_token.length === 0…
    • lib/index.js:285throw new Error(`ChatGPT: ${authJson} has no tokens.access_token (run "codex login")`);
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般8 处命中
    • lib/index.js:223const override = process.env.CODEX_HOME;
    • lib/index.js:236const home = process.env.DSH_HOME;
    • lib/index.js:1758const home = process.env.DSH_HOME || process.env.HOME + "/.dsh";
    • src/index.ts:236const override = process.env.CODEX_HOME;
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 读取文件reads-files一般6 处命中
    • lib/index.js:271raw = await fsp.readFile(authJson, 'utf8');
    • lib/index.js:311raw = await fsp.readFile(file, 'utf8');
    • lib/index.js:1759const credText = fsMod.readFileSync(home + "/.credentials.yaml", "utf8");
    • src/index.ts:295raw = await fsp.readFile(authJson, 'utf8');
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
发起网络请求network需留意12
写入文件writes-files需留意6
动态执行代码dynamic-code需留意2
接触凭据或密钥credentials一般91
读取环境变量reads-env一般8
读取文件reads-files一般6

这份报告的口径

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

可信度

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

认证等级 未评级

  • L0静态结构与契约—有 npm 哈希,但本站没有本地包可比对
  • L1配置组合与依赖图—还没有组合检查记录
  • L2隔离沙箱冒烟—尚未试装
  • L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息

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

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

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

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

DSH peer 依赖1 个cordis均为 @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

返回首页