XMoon/dsh-pi-tui

C3

A third-party TUI mode for DeepSeek Harness (dsh), built on a vendored fork of pi-tui. npm @xmoon76/dsh-pi-tui

★ 10+ · XMoon/dsh-pi-tui source on GitHub · this plugin in the registry

XMoon/dsh-pi-tui is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, executes system commands, decodes base64 payloads, reads credential-class env vars.

Installable plugin — declares a dsh.bundle manifest

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch['./cordis.patch.yml', './generated/dsh-presets/standard.patch.yml', './generated/dsh-presets/ptc.patch.yml', './generated/dsh-presets/minimal.patch.yml', './generated/dsh-presets/cordis.patch.yml']
executes system commandsexec×85 in authored code, e.g. scripts/advanced-plugin-smoke.mjs:28, scripts/advanced-plugin-smoke.mjs:28
decodes base64 payloadsbase64_decode×4 in authored code, e.g. packages/pi-tui/src/terminal-image.ts:471, packages/pi-tui/src/terminal-image.ts:492
reads credential-class env varstoken_envDSH_PI_TUI_SAFE_KEYBINDINGS

Services it injects

agentDefaultModel agents cmdlineArgs jobController jobs sessionQuery sessions

Hooks it attaches

agent/assistant-stream agent/created agent/disposed agent/status approval/request commands/change llm/adapters-updated plugin-manager/install-log plugin-manager/install-state session/event settings/document-updated subagent/end subagent/start user-questions/request

Outbound domains

codeload.github.com dsh-pi-tui-remote.in

Environment variables it reads

PNPM_EXECUTABLE GITHUB_ACTIONS DSH_MODE PI_UPSTREAM_TARBALL TERM_PROGRAM TMUX ADVANCED_SMOKE_KEEP DSH_DIR ComSpec GITHUB_OUTPUT

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.