Zhenyu98/dsh-context-doctor

C3

DSH 上下文注入审计插件:统计 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

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
can rewrite the system promptprompt_surfacesystemPrompt
executes system commandsexec×3 src, e.g. scripts/setup-dsh-deps.mjs:21, scripts/setup-dsh-deps.mjs:21
uses eval / new Functioneval×1 src, e.g. lib/index.js:241
decodes base64 payloadsbase64_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.