ROSESSSSS66/dsh-memory
C3专为 DeepSeek Desktop (DSH) 打造的轻量级、自进化长期记忆引擎。零网络纯本地极速快环 (p95 < 1ms) + 严格风控离线自愈慢环。
★ 1+ · ROSESSSSS66/dsh-memory source on GitHub · this plugin in the registry
ROSESSSSS66/dsh-memory is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, runs code at install time, can rewrite the system prompt, 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 |
| runs code at install time | install_script | postinstall: node scripts/postinstall.mjs |
| can rewrite the system prompt | prompt_surface | systemPrompt, webServer |
| executes system commands | exec | ×4 in authored code, e.g. scripts/postinstall.mjs:6, scripts/postinstall.mjs:6 |
| reads credential-class env vars | token_env | ANTHROPIC_API_KEY, DSH_LLM_API_KEY, OPENAI_API_KEY |
Tool registrations
8 static tool registration point(s).
src/dsh/plugin.ts:300tools.registersrc/dsh/plugin.ts:325tools.registersrc/dsh/plugin.ts:347tools.registersrc/dsh/plugin.ts:372tools.registersrc/dsh/plugin.ts:399tools.registersrc/dsh/plugin.ts:419tools.registersrc/dsh/plugin.ts:441tools.registersrc/dsh/plugin.ts:489tools.register
Services it injects
agents commands sessionProjections slots systemPrompt tools webServer
Hooks it attaches
agent/pre-step agent/turn-stopping dispose memory/context-pressure session/event
Outbound domains
api.deepseek.com api.openai.com api.anthropic.com dashscope.aliyuncs.com
Environment variables it reads
INIT_CWD DSH_MEMORY_SKIP_BOOTSTRAP DSH_MEMORY_DB_PATH DSH_MEMORY_DATA_DIR DSH_LLM_BASE_URL OPENAI_BASE_URL ANTHROPIC_BASE_URL DSH_LLM_API_KEY OPENAI_API_KEY ANTHROPIC_API_KEY
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.