realMisakaMikoto/dsh-purge
C3dsh-purge 1.1.71 适配 DSH 0.2.0-rc.2 的可用副本:修复 #40 complete-prompt keep-inject、hostFs closeSync/readSync、redteam preset toolFilter
★ 100+ · realMisakaMikoto/dsh-purge source on GitHub · this plugin in the registry
realMisakaMikoto/dsh-purge is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, can rewrite the system prompt, gates tool execution, executes system commands.
Installable plugin — declares a dsh.bundle manifest
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./cordis.patch.yml |
| 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 | ×34 in authored code, e.g. scripts/check-community-update.mjs:2, scripts/check-community-update.mjs:2 |
| base64 decoding in build output only | base64_decode_bundled | ×5 in build output only, e.g. lib/index.js:2468, lib/skills.js:704 |
| starts a network server | net_server | ×2 in authored code, e.g. scripts/check-update-transactions.mjs:290, scripts/check-update-transactions.mjs:291 |
Tool registrations
67 static tool registration point(s).
lib/index.js:1648tools.registerlib/index.js:1669tools.registerlib/index.js:1705tools.registerlib/redteam/tools.js:426tools.registerlib/redteam/tools.js:455tools.registerlib/redteam/tools.js:488tools.registerlib/redteam/tools.js:504tools.registerlib/redteam/tools.js:747tools.registerlib/redteam/tools.js:815tools.registerlib/redteam/tools.js:900tools.registerlib/redteam/tools.js:926tools.registerlib/redteam/tools.js:958tools.registerlib/redteam/tools.js:974tools.registerlib/redteam/tools.js:985tools.registerlib/redteam/tools.js:1009tools.registerlib/redteam/tools.js:1031tools.registerlib/redteam/tools.js:1044tools.registerlib/redteam/tools.js:1068tools.registerlib/redteam/tools.js:1094tools.registerlib/redteam/tools.js:1115tools.registerlib/redteam/tools.js:1138tools.registerlib/redteam/tools.js:1164tools.registerlib/redteam/tools.js:1190tools.registerlib/redteam/tools.js:1208tools.registerlib/redteam/tools.js:1222tools.registerlib/redteam/tools.js:1237tools.registerlib/redteam/tools.js:1259tools.registerlib/redteam/tools.js:1273tools.registerlib/redteam/tools.js:1293tools.registerlib/redteam/tools.js:1318tools.registerlib/redteam/tools.js:1341tools.registerlib/redteam/tools.js:1356tools.registerlib/redteam/tools.js:1375tools.registerlib/redteam/tools.js:1401tools.registerlib/redteam/tools.js:1415tools.registerlib/redteam/tools.js:1437tools.registerlib/redteam/tools.js:1458tools.registerlib/redteam/tools.js:1488tools.registerlib/redteam/tools.js:1512tools.registerlib/redteam/tools.js:1525tools.registerlib/redteam/tools.js:1561tools.registerlib/redteam/tools.js:1605tools.registerlib/redteam/tools.js:1626tools.registerlib/redteam/tools.js:1648tools.registerlib/redteam/tools.js:1672tools.registerlib/redteam/tools.js:1708tools.registerlib/redteam/tools.js:1719tools.registerlib/redteam/tools.js:1743tools.registerlib/redteam/tools.js:1758tools.registerlib/redteam/tools.js:1777tools.registerlib/redteam/tools.js:1806tools.registerlib/redteam/tools.js:1827tools.registerlib/redteam/tools.js:1844tools.registerlib/redteam/tools.js:1903tools.registerlib/redteam/tools.js:1918tools.registerlib/redteam/tools.js:1969tools.registerlib/redteam/tools.js:1987tools.registerlib/redteam/tools.js:2010tools.registerlib/redteam/tools.js:2027tools.registerlib/redteam/tools.js:2060tools.registerlib/redteam/tools.js:2093tools.registerlib/redteam/tools.js:2122tools.registerlib/redteam/tools.js:2143tools.registerlib/redteam/tools.js:2167tools.registerlib/redteam/tools.js:2182tools.registerlib/redteam/tools.js:2209tools.registerlib/redteam/tools.js:2226tools.register
Services it injects
locale redteam slots systemPrompt tools webServer
Hooks it attaches
agent-preset/selected agent/inbox/claimed agent/pre-step agent/request approval/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 DSH_BASE DSH_PROFILE DSH_DESKTOP_INSTALL TEMP LOCALAPPDATA DSH_PURGE_OPERATION DSH_PURGE_JOURNAL DSH_SURFACE
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.