gygygfg/dsh-stage-sandbox

C3

DSH 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

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./dsh-plugin/cordis.patch.yml
runs code at install timeinstall_scriptpreinstall: node scripts/vendor/bootstrap.mjs
can rewrite the system promptprompt_surfaceapproval, sandbox, subprocess, systemPrompt, tools/pre-execute
can spawn subprocessessubprocess_serviceinject: subprocess
gates tool executiontool_gatehook: tools/pre-execute
executes system commandsexec×127 in authored code, e.g. packages/linux/scripts/runtime-conformance.ts:14, packages/linux/scripts/runtime-conformance.ts:62
decodes base64 payloadsbase64_decode×1 in authored code, e.g. packages/linux/src/runtime/resident.ts:88
starts a network servernet_server×1 in authored code, e.g. packages/win/src/testservice.ts:323
reads credential-class env varstoken_envTEST_SERVICE_TOKEN

Tool registrations

5 static tool registration point(s).

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.