Zhenyu98/dsh-context-doctor
C3DSH 上下文注入审计插件:统计 AGENTS.md 指令链/技能目录/工具 schema 的 token 成本,检测重复与冲突;Web UI 圆环面板 + context_audit 工具。Context Doctor for DeepSeek Harness: audit instruction-chain / skill catalog / tool schemas token cost.
★ 10+ · Zhenyu98/dsh-context-doctor source on GitHub · this plugin in the registry
Zhenyu98/dsh-context-doctor is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, can rewrite the system prompt, executes system commands, uses eval / new Function.
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./cordis.patch.yml |
| can rewrite the system prompt | prompt_surface | systemPrompt |
| executes system commands | exec | ×3 src, e.g. scripts/setup-dsh-deps.mjs:21, scripts/setup-dsh-deps.mjs:21 |
| uses eval / new Function | eval | ×1 src, e.g. lib/index.js:241 |
| decodes base64 payloads | base64_decode | ×2 src, e.g. lib/index.js:60, lib/index.js:61 |
Services it injects
fs locale sessions skills slots systemPrompt tools
Environment variables it reads
DSH_HOME
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.