liutingqiu/dsh-purge

C3

Independent community build of dsh-purge 1.1.77 for DSH 0.2.1 — restored 23 redteam skills + exact-host own-server allowlist. Upstream: YuJunZhiXue/dsh-purge.

★ 1+ · liutingqiu/dsh-purge source on GitHub · this plugin in the registry

liutingqiu/dsh-purge 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, gates tool execution.

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/ensure-profile-bundle.mjs
can rewrite the system promptprompt_surfacesystemPrompt, webServer, system-prompt/assemble, tools/pre-execute
gates tool executiontool_gatehook: tools/pre-execute
executes system commandsexec×3 in authored code, e.g. scripts/patch-client-dock.mjs:8, scripts/patch-client-dock.mjs:8
base64 decoding in build output onlybase64_decode_bundled×5 in build output only, e.g. lib/index.js:2469, lib/skills.js:704

Tool registrations

67 static tool registration point(s).

Services it injects

locale redteam slots systemPrompt tools uiConversation webServer

Hooks it attaches

agent-preset/selected agent/inbox/claimed agent/pre-step agent/request session/created session/event subagent/end system-prompt/assemble tools/post-execute tools/pre-execute

Outbound domains

codeload.github.com fofa.info oa.example.com oa.demo.com api.github.com

Environment variables it reads

DSH_HOME DSH_PERMISSION_MODE TEMP LOCALAPPDATA DSH_DESKTOP_INSTALL DSH_BASE DSH_SYSTEM_PROMPT DSH_PURGE_RESTART REDTEAM_HOME APPDATA

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.