kingcharleslzy-ai/dsh-purge

C3

dsh-purge Community · DeepSeek Harness 社区维护版:宿主兼容、状态诊断、提示词管理、更新与本机备份回滚。基于小杨 / YuJunZhiXue 的 dsh-purge。

★ 5.8k · kingcharleslzy-ai/dsh-purge source on GitHub · this plugin in the registry

kingcharleslzy-ai/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

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
can rewrite the system promptprompt_surfacesystemPrompt, webServer, system-prompt/assemble, tools/pre-execute
gates tool executiontool_gatehook: tools/pre-execute
executes system commandsexec×107 in authored code, e.g. bin/community.js:4, bin/community.js:4
uses eval / new Functioneval×1 in authored code, e.g. scripts/check-preset-runtime.mjs:26
base64 decoding in build output onlybase64_decode_bundled×5 in build output only, e.g. lib/index.js:2767, lib/skills.js:705
starts a network servernet_server×2 in authored code, e.g. scripts/check-status-runtime.mjs:36, scripts/check-status-runtime.mjs:37
reads credential-class env varstoken_envGH_TOKEN

Tool registrations

67 confirmed registration point(s); analysis is incomplete.

Services it injects

customService locale redteam slots systemPrompt tools webServer

Hooks it attaches

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

Outbound domains

api.github.com codeload.github.com fofa.info cdn.jsdelivr.net kingcharleslzy-ai.github.io registry.npmmirror.com gh-proxy.org avatars.githubusercontent.com oa.example.com oa.demo.com

Environment variables it reads

DSH_HOME DSH_PERMISSION_MODE SystemRoot DSH_BASE PURGE_ELECTRON_EXEC PURGE_TEST_HOST PURGE_DSH_CLI TEMP LOCALAPPDATA DSH_DESKTOP_INSTALL

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.