fan56/dsh-mcp-adapter

C3

dsh plugin: fold mcp__* tool schemas into two meta-tools via prompt-side shim to save tokens

★ 1+ · fan56/dsh-mcp-adapter source on GitHub · this plugin in the registry

fan56/dsh-mcp-adapter is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, runs code at install time, can rewrite the system prompt, executes system commands.

Installable plugin — declares a dsh.bundle manifest

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
runs code at install timeinstall_scriptpostinstall: node scripts/link-dsh-closure.mjs
can rewrite the system promptprompt_surfacesystem-prompt/assemble
executes system commandsexec×13 in authored code, e.g. scripts/link-dsh-closure.mjs:26, scripts/link-dsh-closure.mjs:26
reads credential-class env varstoken_envJEV_KEYCHAIN

Services it injects

tools

Hooks it attaches

system-prompt/assemble

Outbound domains

opencode.ai api.typesafe.ai openrouter.ai

Environment variables it reads

DSH_HOME DSH_CLOSURE_DIR JEV_KEYCHAIN

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.