gygygfg/dsh-stage-sandbox
C3DSH plugin: Windows staging-candidate-selective-commit sandbox (files + registry) with a review panel
★ 0 · gygygfg/dsh-stage-sandbox source on GitHub · this plugin in the registry
gygygfg/dsh-stage-sandbox 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, can spawn subprocesses.
Installable plugin — declares a dsh.bundle manifest
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./dsh-plugin/cordis.patch.yml |
| runs code at install time | install_script | preinstall: node scripts/vendor/bootstrap.mjs |
| can rewrite the system prompt | prompt_surface | approval, sandbox, subprocess, systemPrompt, tools/pre-execute |
| can spawn subprocesses | subprocess_service | inject: subprocess |
| gates tool execution | tool_gate | hook: tools/pre-execute |
| executes system commands | exec | ×127 in authored code, e.g. packages/linux/scripts/runtime-conformance.ts:14, packages/linux/scripts/runtime-conformance.ts:62 |
| decodes base64 payloads | base64_decode | ×1 in authored code, e.g. packages/linux/src/runtime/resident.ts:88 |
| starts a network server | net_server | ×1 in authored code, e.g. packages/win/src/testservice.ts:323 |
| reads credential-class env vars | token_env | TEST_SERVICE_TOKEN |
Tool registrations
5 static tool registration point(s).
packages/win/patches/dsh/pristine/P2-escalation-advertisement-gate/index.js:457tool factorypackages/win/patches/dsh/pristine/P2-escalation-advertisement-gate/index.js:700tools.registerpackages/win/patches/dsh/pristine/P2-escalation-advertisement-gate/index.js:703tools.registerpackages/win/patches/dsh/pristine/P2-escalation-advertisement-gate/index.js:707tools.registerpackages/win/patches/dsh/pristine/P2-escalation-advertisement-gate/index.js:710tools.register
Services it injects
approval commandUi commands configForms connection locale remote sandbox sandboxBroker sandboxPolicy sandboxPolicyEngine sandboxWorkspace sessionProjections sessions settingsSchema shell shellEnv slots subprocess systemPrompt tools
Hooks it attaches
session/created tools/post-execute tools/pre-execute
Outbound domains
ziglang.org mirrors.huaweicloud.com mirrors.ustc.edu.cn
Environment variables it reads
USERPROFILE SystemRoot WINSTAGE_SHIM_OUT DSH_PROFILE_DIR LOCALAPPDATA DSH_HOME DSH_PROFILE APPDATA TEMP DSH_APP_ASAR
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.