zhujunpeng12/dsh-memory-system

C3

Local-first persistent memory infrastructure for DeepSeek Harness: hot bootstrap, Chinese-BM25 cold recall, lease-lock transactional writes, read-only governance

★ 5+ · zhujunpeng12/dsh-memory-system source on GitHub · this plugin in the registry

zhujunpeng12/dsh-memory-system 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

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
can rewrite the system promptprompt_surfacesystemPrompt, tools/pre-execute
gates tool executiontool_gatehook: tools/pre-execute
executes system commandsexec×4 in authored code, e.g. index.js:22, index.js:126

Services it injects

agents conversationEvents llm sessions slots subagents systemPrompt tools

Hooks it attaches

agent/created agent/disposed agent/pre-step dispose internal/service session/disposed session/event tools/pre-execute

Environment variables it reads

DSH_HOME PYTHON MEMORY_VAULT DSH_MEMORY_AUTO_INJECT MEMORY_GUARD_CHECK

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.