liutingqiu/dsh-purge
C3Independent 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
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./cordis.patch.yml |
| runs code at install time | install_script | postinstall: node scripts/ensure-profile-bundle.mjs |
| can rewrite the system prompt | prompt_surface | systemPrompt, webServer, system-prompt/assemble, tools/pre-execute |
| gates tool execution | tool_gate | hook: tools/pre-execute |
| executes system commands | exec | ×3 in authored code, e.g. scripts/patch-client-dock.mjs:8, scripts/patch-client-dock.mjs:8 |
| base64 decoding in build output only | base64_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).
lib/index.js:1617tools.registerlib/index.js:1638tools.registerlib/index.js:1674tools.registerlib/redteam/tools.js:457tools.registerlib/redteam/tools.js:486tools.registerlib/redteam/tools.js:519tools.registerlib/redteam/tools.js:535tools.registerlib/redteam/tools.js:778tools.registerlib/redteam/tools.js:833tools.registerlib/redteam/tools.js:918tools.registerlib/redteam/tools.js:944tools.registerlib/redteam/tools.js:976tools.registerlib/redteam/tools.js:992tools.registerlib/redteam/tools.js:1003tools.registerlib/redteam/tools.js:1027tools.registerlib/redteam/tools.js:1049tools.registerlib/redteam/tools.js:1062tools.registerlib/redteam/tools.js:1086tools.registerlib/redteam/tools.js:1112tools.registerlib/redteam/tools.js:1133tools.registerlib/redteam/tools.js:1156tools.registerlib/redteam/tools.js:1182tools.registerlib/redteam/tools.js:1208tools.registerlib/redteam/tools.js:1226tools.registerlib/redteam/tools.js:1240tools.registerlib/redteam/tools.js:1255tools.registerlib/redteam/tools.js:1277tools.registerlib/redteam/tools.js:1291tools.registerlib/redteam/tools.js:1311tools.registerlib/redteam/tools.js:1336tools.registerlib/redteam/tools.js:1359tools.registerlib/redteam/tools.js:1374tools.registerlib/redteam/tools.js:1393tools.registerlib/redteam/tools.js:1419tools.registerlib/redteam/tools.js:1433tools.registerlib/redteam/tools.js:1455tools.registerlib/redteam/tools.js:1476tools.registerlib/redteam/tools.js:1506tools.registerlib/redteam/tools.js:1530tools.registerlib/redteam/tools.js:1543tools.registerlib/redteam/tools.js:1579tools.registerlib/redteam/tools.js:1623tools.registerlib/redteam/tools.js:1644tools.registerlib/redteam/tools.js:1666tools.registerlib/redteam/tools.js:1690tools.registerlib/redteam/tools.js:1726tools.registerlib/redteam/tools.js:1737tools.registerlib/redteam/tools.js:1761tools.registerlib/redteam/tools.js:1776tools.registerlib/redteam/tools.js:1795tools.registerlib/redteam/tools.js:1824tools.registerlib/redteam/tools.js:1845tools.registerlib/redteam/tools.js:1860tools.registerlib/redteam/tools.js:1920tools.registerlib/redteam/tools.js:1936tools.registerlib/redteam/tools.js:1988tools.registerlib/redteam/tools.js:2007tools.registerlib/redteam/tools.js:2031tools.registerlib/redteam/tools.js:2049tools.registerlib/redteam/tools.js:2083tools.registerlib/redteam/tools.js:2116tools.registerlib/redteam/tools.js:2145tools.registerlib/redteam/tools.js:2166tools.registerlib/redteam/tools.js:2190tools.registerlib/redteam/tools.js:2205tools.registerlib/redteam/tools.js:2232tools.registerlib/redteam/tools.js:2249tools.register
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.