Alice-Marx/dsh-model-router
C3Model Router and GALGame plugin for DeepSeek Harness
★ 500+ · Alice-Marx/dsh-model-router source on GitHub · this plugin in the registry
Alice-Marx/dsh-model-router is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, can rewrite the system prompt, gates tool execution, executes system commands.
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 | sandbox, systemPrompt, system-prompt/assemble, tools/pre-execute |
| gates tool execution | tool_gate | hook: tools/pre-execute |
| executes system commands | exec | ×38 in authored code, e.g. .dsh-plugin/shared/cli-terminal.mjs:13, .dsh-plugin/shared/cli-terminal.mjs:50 |
| decodes base64 payloads | base64_decode | ×16 in authored code, e.g. .dsh-plugin/shared/npm-attestation.mjs:40, remote-computer-agent/src/agent.ts:182 |
| starts a network server | net_server | ×2 in authored code, e.g. remote-computer-agent/src/transport.ts:77, remote-computer-agent/src/transport.ts:77 |
| reads credential-class env vars | token_env | COOKIE_PORT, LEARN_EVAL_KEY |
Tool registrations
59 confirmed registration point(s); analysis is incomplete.
.dsh-plugin/router-core.mjs:2379tool factory.dsh-plugin/router-core.mjs:2389tool factory.dsh-plugin/router-core.mjs:2402tool factory.dsh-plugin/router-core.mjs:2529tool factory.dsh-plugin/router-core.mjs:2550tool factory.dsh-plugin/router-core.mjs:2573tool factory.dsh-plugin/router-core.mjs:2596tool factory.dsh-plugin/router-core.mjs:2615tool factory.dsh-plugin/router-core.mjs:2644tool factory.dsh-plugin/router-core.mjs:2699tool factory.dsh-plugin/router-core.mjs:2712tool factory.dsh-plugin/router-core.mjs:2741tool factory.dsh-plugin/router-core.mjs:2756tool factory.dsh-plugin/shared/legacy-policy.mjs:18tools.registermodules/bot-runtime/product-overlay/base/src/host/tools.js:67tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:153tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:284tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:311tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:348tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:437tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:479tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:508tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:569tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:586tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:649tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:708tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:1006tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:1030tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:1060tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:1076tool factorymodules/bot-runtime/vendor/ds-bot/src/host/browser.js:257tool factorymodules/bot-runtime/vendor/ds-bot/src/host/goals.js:672tool factorymodules/bot-runtime/vendor/ds-bot/src/host/groups.js:869tool factorymodules/bot-runtime/vendor/ds-bot/src/host/groups.js:1028tool factorymodules/bot-runtime/vendor/ds-bot/src/host/groups.js:1083tool factorymodules/bot-runtime/vendor/ds-bot/src/host/memory.js:1140tool factorymodules/bot-runtime/vendor/ds-bot/src/host/memory.js:1174tool factorymodules/bot-runtime/vendor/ds-bot/src/host/memory.js:1212tool factorymodules/bot-runtime/vendor/ds-bot/src/host/secrets.js:422tool factorymodules/bot-runtime/vendor/ds-bot/src/host/secrets.js:471tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:67tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:153tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:284tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:311tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:348tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:437tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:479tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:508tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:569tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:586tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:649tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:708tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:1006tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:1030tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:1060tool factorymodules/bot-runtime/vendor/ds-bot/src/host/tools.js:1076tool factorypackages/orchestration/src/bot-routing-tools.mjs:42tool factorypackages/orchestration/src/remote-computer-tools.mjs:79tool factorypackages/orchestration/src/task-tools.mjs:21tool factorymodules/bot-runtime/product-overlay/base/src/host/tools.js:813Cannot establish the tools service bindingmodules/bot-runtime/vendor/ds-bot/src/host/browser/mount.js:124Cannot establish the tools service bindingmodules/bot-runtime/vendor/ds-bot/src/host/steer.js:136Cannot establish the tools service bindingmodules/bot-runtime/vendor/ds-bot/src/host/tools.js:813Cannot establish the tools service bindingpackages/orchestration/src/bot-routing-tools.mjs:42Cannot establish the tools service bindingpackages/orchestration/src/remote-computer-tools.mjs:79Cannot establish the tools service bindingpackages/orchestration/src/task-tools.mjs:21Cannot establish the tools service binding
21 source file(s) omitted by size/count/encoding limits; tool count is incomplete
Services it injects
commands connection layout llm sandbox sandboxPolicy sessionController sessionTitle sessions skills slots systemPrompt theme tools typert uiConversation uiWorkspace web workspaceRegistry
Hooks it attaches
agent/assistant-stream agent/created agent/inbox/discarded agent/pre-step agent/request-error agent/status approval/request llm/stream loader/volatile-update session/event subagent/end subagent/start system-prompt/assemble tools/change tools/execute tools/pre-execute tools/result
Outbound domains
schemas.openxmlformats.org livebench.ai api.github.com static-openapi.stepfun.com filecdn.minimax.chat opencode.ai registry.npmmirror.com api.deepseek.com code.kimi.com claude.ai
Environment variables it reads
SystemRoot DS_BOT_APP GROK_HOME TEMP TMP SHOT_DISPLAY Path DSH_HARNESS CHROME_BIN DS_BOT_USER_DSH_HOME
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.