dsh-plugin
github.com/memorylake-ai/memorylake-harness
v0.1.0
会话与记忆
写入文件
Memory Lake for DeepSeek Harness (dsh): 持久化、跨会话、跨项目、跨设备的记忆。
作者原文(英文)
Memory Lake memory layer for DeepSeek Harness (dsh): persistent cross-session memory tools, prompt guidance, and setup skills
中文简介由 DeepSeek 模型翻译,仅供参考。
dshdeepseek-harnessmemorylakememorylong-term-memory
源仓库没有任何提交 仓库存在但是空的,没有源码可看。npm 上的包仍然可以安装,但作者没有公开对应源码。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意3一般20未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意2 处命中lib/tools.js:184mkdirSync(statusCacheDir(), { recursive: true });lib/tools.js:185writeFileSync(join(statusCacheDir(), `${outcome.workspace}.txt`), String(outcome.projects));- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 接触凭据或密钥
credentials一般15 处命中lib/cli-runner.js:15* - the subprocess seam scrubs credential-shaped names out of the childlib/cli-runner.js:16* environment, so an ambient `MEMORYLAKE_API_KEY` never reaches the CLI.lib/cli-runner.js:17* Authentication must come from the CLI's own `~/.memorylake/credentials.toml`lib/cli-runner.js:30const AUTH_FAILURE_PATTERN = /not logged in|no active profile|no credentials|unauthorized|invalid api key|\b401\b/i;- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般5 处命中lib/harness-config.js:111if (existsSync(candidate))lib/harness-config.js:124return parseFrontmatter(readFileSync(path, 'utf8'));lib/harness-config.js:147const globalPath = existsSync(globalCandidate) ? globalCandidate : undefined;lib/harness-config.js:194const stat = statSync(path);- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般1 处命中lib/harness-config.js:34return process.env.MEMORYLAKE_PLUGIN_DATA ?? join(homedir(), '.memorylake', 'harness');- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 2 |
| 接触凭据或密钥 | credentials | 一般 | 15 |
| 读取文件 | reads-files | 一般 | 5 |
| 读取环境变量 | reads-env | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 17 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)