feiyang-dev/dsh-usage-plugin

C3

DeepSeek Harness 用量与消耗插件(dsh-usage-plugin)—— 每次调用的 token 用量/缓存命中统计、峰谷计费、余额查询、CSV/JSON/PNG 导出,可经桌面端一键安装或命令行 dsh plugin add 安装。

★ 10+ · feiyang-dev/dsh-usage-plugin source on GitHub · this plugin in the registry

feiyang-dev/dsh-usage-plugin is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, can spawn subprocesses, executes system commands, base64 decoding in build output only.

Installable plugin — declares a dsh.bundle manifest

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
can spawn subprocessessubprocess_serviceinject: subprocess
executes system commandsexec×8 in authored code, e.g. scripts/release.mjs:1, scripts/release.mjs:1
base64 decoding in build output onlybase64_decode_bundled×1 in build output only, e.g. lib/index.js:1380
reads credential-class env varstoken_envBAILIAN_TOKEN, BALANCE_API_KEY

Services it injects

agents credentials fs sandboxPolicy settings slots subprocess webServer

Hooks it attaches

llm/stream locale/change session/event

Outbound domains

cloud.siliconflow.cn cloud.digitalocean.com www.amd.com bailian.console.aliyun.com api-docs.deepseek.com api.deepseek.com api.siliconflow.cn api.digitalocean.com mp.weixin.qq.com platform.deepseek.com

Environment variables it reads

DSH_HOME DSH_PROFILE DSH_USAGE_DATA_DIR LOCALAPPDATA APPDATA BAILIAN_CONFIG_DIR BAILIAN_TOKEN BAILIAN_API_URL BAILIAN_BODY UNDICI_PATH

How to read this

Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.

Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.