cocode-agency/cocode
C2Best ready-to-run DeepSeek Harness distribution: DSH desktop GUI, DSH terminal TUI, and harness integration.
★ 100+ · cocode-agency/cocode source on GitHub · this plugin in the registry
cocode-agency/cocode is a DeepSeek Harness plugin rated C2 — one powerful capability or sensitive behavior. It runs code at install time, executes system commands, decodes base64 payloads, starts a network server.
Not installable — declares only dsh.client, which dsh plugin add cannot install
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| runs code at install time | install_script | postinstall: node scripts/harden-electron-default-app.mjs |
| executes system commands | exec | ×144 in authored code, e.g. cocode-gui/scripts/build-runtime.mjs:1, cocode-gui/scripts/build-runtime.mjs:1 |
| decodes base64 payloads | base64_decode | ×3 in authored code, e.g. cocode-gui/scripts/release/windows-sign-service.cjs:276, cocode-host-supervisor/packages/host-supervisor/src/host-jsonrpc-plugin/gateway.ts:2174 |
| starts a network server | net_server | ×4 in authored code, e.g. cocode-host-supervisor/packages/host-supervisor/src/service.ts:97, cocode-host-supervisor/packages/host-supervisor/src/host-jsonrpc-plugin/index.ts:57 |
| reads credential-class env vars | token_env | COCODE_DSH_RUNTIME_AUTHORITY, COCODE_DSH_RUNTIME_COOKIE, CSC_KEYCHAIN, LINUX_SIGNING_KEY, LINUX_SIGNING_PASSPHRASE, WINDOWS_SIGN_CREDENTIAL_TARGET |
Tool registrations
6 confirmed registration point(s); analysis is incomplete.
cocode-gui/packages/cocode/cocode-workbench/src/browser/host.ts:44tools.registercocode-gui/packages/cocode/cocode-workbench/src/browser/tools.ts:44tool factorycocode-gui/packages/cocode/cocode-workbench/src/browser/tools.ts:62tool factorycocode-gui/packages/cocode/cocode-workbench/src/browser/tools.ts:91tool factorycocode-gui/packages/cocode/cocode-workbench/src/browser/tools.ts:115tool factorycocode-gui/packages/cocode/cocode-workbench/src/browser/tools.ts:164tool factory
335 source file(s) omitted by size/count/encoding limits; tool count is incomplete
Services it injects
agents connection conversation layout llm locale remote sessions settingsSchema settingsScope shortcuts slots theme webRuntime webServer workspaces
Hooks it attaches
agent/status approval/request connection/reset llm/stream session/created session/event subagent/end theme/change
Outbound domains
www.cocode.agency cocode.agency timestamp.digicert.com doc.cocode.agency api.deepseek.com
Environment variables it reads
COCODE_SUPERVISOR_SERVICE_ENTRY COCODE_RUNTIME_ARTIFACT_ROOT COCODE_DSH_HOME COCODE_NODE_EXECUTABLE RELEASE_REQUIRE_SIGNING RELEASE_OUTPUT_DIR COCODE_TUI_ARTIFACT_ROOT COCODE_DSH_SOURCE_HOME COCODE_BUILD_ID LOCALAPPDATA
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.