muyuanjin/dsh-ptc-plus

C3

A session-bound agent-native REPL for DeepSeek Harness PTC mode.

★ 10+ · muyuanjin/dsh-ptc-plus source on GitHub · this plugin in the registry

muyuanjin/dsh-ptc-plus is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, can rewrite the system prompt, executes system commands, uses eval / new Function.

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, system-prompt/assemble
executes system commandsexec×6 in authored code, e.g. internal/isolated-worker.js:1, internal/worker-cwd-virtualization.js:89
uses eval / new Functioneval×5 in authored code, e.g. compiler-amaro.cjs:3, internal/dynamic-native-runtime.js:239
decodes base64 payloadsbase64_decode×1 in authored code, e.g. internal/compiler-text.js:14
powerful capability in test/example code onlydev_surfacein code that does not ship: tools/pre-execute

Tool registrations

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

3 source file(s) omitted by size/count/encoding limits; tool count is incomplete

Services it injects

agents connection loader locale remote slots systemPrompt tools

Hooks it attaches

agent-preset/selected agent/created agent/disposed agent/pre-step agent/status connection/reset llm/stream loader/partial-dispose loader/patch-context session/disposed session/event system-prompt/assemble tools/change tools/execute tools/post-execute tools/ptc-dispatch-log tools/result

Environment variables it reads

DEBUG_RECOVER DIGEST_SKIP_JOURNAL

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.