zhaofeng104/dsh-purge-custom
C3dsh-purge 1.2.0 定制版:DeepSeek Harness 破甲 / 红队评测插件(基于 HunYiSage/dsh-purge 1.1.90,攻击范围回退 1.1.71 口径)
★ 0 · zhaofeng104/dsh-purge-custom source on GitHub · this plugin in the registry
zhaofeng104/dsh-purge-custom 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:2786, lib/skills.js:704 |
Tool registrations
67 static tool registration point(s).
lib/index.js:1875tools.registerlib/index.js:1896tools.registerlib/index.js:1932tools.registerlib/redteam/tools.js:452tools.registerlib/redteam/tools.js:481tools.registerlib/redteam/tools.js:514tools.registerlib/redteam/tools.js:530tools.registerlib/redteam/tools.js:773tools.registerlib/redteam/tools.js:828tools.registerlib/redteam/tools.js:913tools.registerlib/redteam/tools.js:939tools.registerlib/redteam/tools.js:971tools.registerlib/redteam/tools.js:987tools.registerlib/redteam/tools.js:998tools.registerlib/redteam/tools.js:1022tools.registerlib/redteam/tools.js:1044tools.registerlib/redteam/tools.js:1057tools.registerlib/redteam/tools.js:1081tools.registerlib/redteam/tools.js:1107tools.registerlib/redteam/tools.js:1128tools.registerlib/redteam/tools.js:1151tools.registerlib/redteam/tools.js:1177tools.registerlib/redteam/tools.js:1203tools.registerlib/redteam/tools.js:1221tools.registerlib/redteam/tools.js:1235tools.registerlib/redteam/tools.js:1250tools.registerlib/redteam/tools.js:1272tools.registerlib/redteam/tools.js:1286tools.registerlib/redteam/tools.js:1306tools.registerlib/redteam/tools.js:1331tools.registerlib/redteam/tools.js:1354tools.registerlib/redteam/tools.js:1369tools.registerlib/redteam/tools.js:1388tools.registerlib/redteam/tools.js:1414tools.registerlib/redteam/tools.js:1428tools.registerlib/redteam/tools.js:1450tools.registerlib/redteam/tools.js:1471tools.registerlib/redteam/tools.js:1501tools.registerlib/redteam/tools.js:1525tools.registerlib/redteam/tools.js:1538tools.registerlib/redteam/tools.js:1574tools.registerlib/redteam/tools.js:1618tools.registerlib/redteam/tools.js:1639tools.registerlib/redteam/tools.js:1661tools.registerlib/redteam/tools.js:1685tools.registerlib/redteam/tools.js:1721tools.registerlib/redteam/tools.js:1732tools.registerlib/redteam/tools.js:1756tools.registerlib/redteam/tools.js:1771tools.registerlib/redteam/tools.js:1790tools.registerlib/redteam/tools.js:1819tools.registerlib/redteam/tools.js:1840tools.registerlib/redteam/tools.js:1855tools.registerlib/redteam/tools.js:1915tools.registerlib/redteam/tools.js:1931tools.registerlib/redteam/tools.js:1983tools.registerlib/redteam/tools.js:2002tools.registerlib/redteam/tools.js:2026tools.registerlib/redteam/tools.js:2044tools.registerlib/redteam/tools.js:2078tools.registerlib/redteam/tools.js:2111tools.registerlib/redteam/tools.js:2140tools.registerlib/redteam/tools.js:2161tools.registerlib/redteam/tools.js:2185tools.registerlib/redteam/tools.js:2200tools.registerlib/redteam/tools.js:2227tools.registerlib/redteam/tools.js:2244tools.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 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 TEMP LOCALAPPDATA DSH_DESKTOP_INSTALL DSH_BASE DSH_SYSTEM_PROMPT DSH_PURGE_RESTART PORT REDTEAM_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.