Soren-ABT/dsh-knowledge
C3Knowledge base & RAG plugin for DeepSeek Harness (DSH): chunking, local embeddings, hybrid search, management panel
★ 50+ · Soren-ABT/dsh-knowledge source on GitHub · this plugin in the registry
Soren-ABT/dsh-knowledge 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 | systemPrompt, webServer, tools/pre-execute |
| gates tool execution | tool_gate | hook: tools/pre-execute |
| executes system commands | exec | ×35 in authored code, e.g. build.mjs:18, build.mjs:18 |
| decodes base64 payloads | base64_decode | ×2 in authored code, e.g. src/knowledge/index.ts:4723, src/knowledge/index.ts:4724 |
| starts a network server | net_server | ×1 in authored code, e.g. src/knowledge/mineru-runtime.ts:103 |
| reads credential-class env vars | token_env | KNOWLEDGE_API_KEY, KNOWLEDGE_RERANK_API_KEY, MINERU_SMOKE_API_KEY |
Tool registrations
30 static tool registration point(s).
src/tool-knowledge/index.ts:349tools.registersrc/tool-knowledge/index.ts:349tool factorysrc/tool-knowledge/index.ts:500tools.registersrc/tool-knowledge/index.ts:500tool factorysrc/tool-knowledge/index.ts:571tools.registersrc/tool-knowledge/index.ts:571tool factorysrc/tool-knowledge/index.ts:595tools.registersrc/tool-knowledge/index.ts:595tool factorysrc/tool-knowledge/index.ts:612tools.registersrc/tool-knowledge/index.ts:612tool factorysrc/tool-knowledge/index.ts:640tools.registersrc/tool-knowledge/index.ts:640tool factorysrc/tool-knowledge/index.ts:691tools.registersrc/tool-knowledge/index.ts:691tool factorysrc/tool-knowledge/index.ts:713tools.registersrc/tool-knowledge/index.ts:713tool factorysrc/tool-knowledge/index.ts:741tools.registersrc/tool-knowledge/index.ts:741tool factorysrc/tool-knowledge/index.ts:769tools.registersrc/tool-knowledge/index.ts:769tool factorysrc/tool-knowledge/index.ts:810tools.registersrc/tool-knowledge/index.ts:810tool factorysrc/tool-knowledge/index.ts:943tools.registersrc/tool-knowledge/index.ts:943tool factorysrc/tool-knowledge/index.ts:990tools.registersrc/tool-knowledge/index.ts:990tool factorysrc/tool-knowledge/index.ts:1030tools.registersrc/tool-knowledge/index.ts:1030tool factorysrc/tool-knowledge/index.ts:1052tools.registersrc/tool-knowledge/index.ts:1052tool factory
Services it injects
knowledge locale slots systemPrompt tools webServer
Hooks it attaches
agent/disposed agent/pre-step tools/pre-execute
Outbound domains
pypi.org hf-mirror.com mineru.net ollama.com huggingface.co api.openai.com
Environment variables it reads
HF_ENDPOINT DSH_HOME npm_execpath MINERU_SMOKE_REPORT_PATH DSH_URL MINERU_PACKAGE_ROOT Path CONDA_PREFIX LOCALAPPDATA MINERU_SMOKE_URL
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.