freehul/sgme
C2SGME 拾光记忆引擎:AI 全面接管记忆、技能库、WIKI 知识库三大模块,跨会话、多智能体共享记忆,AI 会一直记得你的偏好。ShiGuang Memory Engine · AI takes full charge of three core modules — memory, skills, and wiki knowledge base. Memory is shared across
★ 10+ · freehul/sgme source on GitHub · this plugin in the registry
freehul/sgme is a DeepSeek Harness plugin rated C2 — one powerful capability or sensitive behavior. It patches the dsh runtime, can rewrite the system prompt, eval in build output only, base64 decoding in build output only.
Installable plugin — declares a dsh.bundle manifest
What it can do
| Capability | Flag | Evidence |
|---|---|---|
| patches the dsh runtime | runtime_patch | ./adapters/dsh/sgme-bridge/cordis.patch.yml |
| can rewrite the system prompt | prompt_surface | systemPrompt |
| eval in build output only | eval_bundled | ×2 in build output only, e.g. adapters/dsh/sgme-bridge/lib/index.js:922, skills/adapter-dsh/package/sgme-bridge/lib/index.js:922 |
| base64 decoding in build output only | base64_decode_bundled | ×4 in build output only, e.g. adapters/dsh/sgme-bridge/lib/index.js:741, adapters/dsh/sgme-bridge/lib/index.js:742 |
Services it injects
commands systemPrompt tools
Hooks it attaches
agent/pre-step session/event turn/start
Outbound domains
api.xxx.com
Environment variables it reads
SGME_PROJECT_HINT DSH_HOME SGME_HTTP_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.