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

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
runs code at install timeinstall_scriptpostinstall: node scripts/postinstall.mjs
can rewrite the system promptprompt_surfacesystemPrompt, webServer
executes system commandsexec×4 in authored code, e.g. scripts/postinstall.mjs:6, scripts/postinstall.mjs:6
reads credential-class env varstoken_envANTHROPIC_API_KEY, DSH_LLM_API_KEY, OPENAI_API_KEY

Tool registrations

8 static tool registration point(s).

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.