muyuanjin/dsh-ptc-plus
C3A 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
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./cordis.patch.yml |
| can rewrite the system prompt | prompt_surface | systemPrompt, system-prompt/assemble |
| executes system commands | exec | ×6 in authored code, e.g. internal/isolated-worker.js:1, internal/worker-cwd-virtualization.js:89 |
| uses eval / new Function | eval | ×5 in authored code, e.g. compiler-amaro.cjs:3, internal/dynamic-native-runtime.js:239 |
| decodes base64 payloads | base64_decode | ×1 in authored code, e.g. internal/compiler-text.js:14 |
| powerful capability in test/example code only | dev_surface | in code that does not ship: tools/pre-execute |
Tool registrations
0 confirmed registration point(s); analysis is incomplete.
index.js:305Cannot establish the tools service bindinginternal/dynamic-native-runtime.js:259Cannot establish the tools service bindinginternal/execution-seam-compat.js:261Context or tools service passed to an unresolved helperinternal/execution-seam-compat.js:294Context or tools service passed to an unresolved helperinternal/host-rpc.js:16Cannot establish the tools service binding
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.