验证
L2 · 结构化
安全
低风险
健康
活跃
信任
银
功能介绍
统计各模型 tokens 消耗并估算费用,显示账户余额 | Model token usage stats and cost estimation with account balance for DSH
安装
dsh plugin --profile web add model-usage-pluginInstall method: npm · 尚未在容器中测试 (L3+)
兼容性
| DSH Version | Status |
|---|---|
| not stated | Declared — not tested |
要求
- • Node.js: not stated
- • DSH: declared "not stated"
- • External credentials: none detected
安全报告
自动静态扫描,非人工审核。
DSH.SO已通过
0c9b39
安全审查自动审查 · 每日更新
已通过
自动化扫描未发现严重或警告级问题。结果仅对所示 commit hash 对应版本有效。
0 严重·0 警告·8 提示·4 扫描文件数
扫描版本
0c9b392b0a3d2026-08-16当前版本
0c9b392b0a3d扫描结果仅对「扫描版本」有效。若当前版本不同,徽章将显示 outdated,直到每日流水线重新扫描。
README 效果预览dsh.so securityPASSED0c9b39
免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。
风险:低风险0 critical · 0 warning · 8 info
• 静态启发式扫描:已完成(4 个文件)
• 依赖漏洞:需深度审计(L3+)
• 权限沙箱:需运行时测试(L4+)
扫描发现 · 8
- info发起网络请求(fetch / axios)src/client.js:15const getStats = () => fetch(API, { cache: 'no-store' }).then((res) => res.json())
- info发起网络请求(fetch / axios)src/client.js:16const postAction = (body) => fetch(API, {
- info读取 process.envsrc/index.js:110const dshHome = process.env.DSH_HOME || (process.env.HOME || '') + '/.dsh'
- info读取 process.envsrc/index.js:446if (!apiKey && process.env.DEEPSEEK_API_KEY) apiKey = process.env.DEEPSEEK_API_KEY
- info读取 process.envsrc/index.js:451const base = (balanceBaseUrl || '').trim() || process.env.DEEPSEEK_BASE_URL || 'https://api.deepseek.com'
- info发起网络请求(fetch / axios)src/index.js:386const response = await fetch(url, { signal: AbortSignal.timeout(10000) })
- info发起网络请求(fetch / axios)src/index.js:452const response = await fetch(base.replace(/\/+$/, '') + '/user/balance', {
- info发起网络请求(fetch / axios)src/index.js:611const response = await fetch('https://open.er-api.com/v6/latest/USD', { signal: AbortSignal.timeout(8000) })
静态启发式扫描,可能误报——使用前请自行审查源码。
活跃度
最近提交 2026-08-15 · 活跃度:活跃
• 仓库创建: 2026-08-16
• 星标: ★ 4 · 复刻: 0
• 健康度: 活跃 — 近 30 天有提交
