dsh-hypatia-auto-memory
github.com/tkliuxing/dsh-hypatia-auto-memory
v2.4.0
模型与账号
可执行外部程序发起网络请求
Event-driven Hypatia memory for DSH: automatic conversation logging via session events, queued background consolidation (span summaries + work-unit extraction) with a dedicated model route, and recall injection — zero per-call model work in the main sessi
该插件尚未翻译,显示作者原文。
dshdsh-pluginhypatiamemoryknowledge-graph
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注1需留意4一般18未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注1 处命中src/collector.js:12import { execFile } from 'node:child_process'- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 发起网络请求
network需留意7 处命中lib/client.js:1397const response = await fetch(memoryUrl(sessionId, content), {lib/client.js:1429const response = await fetch(summarizeUrl(sessionId), {lib/client.js:1473const response = await fetch(`${MEMORY_API_PREFIX}/shelves`, {lib/client.js:1844const next = await fetch(sessionId, { content });- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 接触凭据或密钥
credentials一般33 处命中lib/client.js:1399credentials: "same-origin",lib/client.js:1431credentials: "same-origin",lib/client.js:1475credentials: "same-origin",src/collector.js:24redactSecrets,- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般6 处命中src/auto-approve.js:94* @param {import('@deepseek-ai/cordis').Context} ctx - context injecting `approval` and `tools`.src/auto-approve.js:95* @param {{getBinaries: () => string[], status: import('./status.js').StatusLog}} depssrc/cascade.js:80* cli: ReturnType<import('./hypatia-client.js').createHypatiaClient>,src/cascade.js:84* status: import('./status.js').StatusLog,- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 读取文件
reads-files一般3 处命中src/skills.js:101entries = readdirSync(skillsDir, { withFileTypes: true })src/skills.js:110if (existsSync(skillFile) === false) continuesrc/skills.js:116const { attributes, body } = parseFrontmatter(readFileSync(skillFile, 'utf8'))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般1 处命中src/collector.js:51/** `process.env` without {@link GIT_LOCATION_VARS}. */src/collector.js:53const env = { ...process.env }- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 1 |
| 发起网络请求 | network | 需留意 | 7 |
| 接触凭据或密钥 | credentials | 一般 | 33 |
| 动态加载模块 | dynamic-import | 一般 | 6 |
| 读取文件 | reads-files | 一般 | 3 |
| 读取环境变量 | reads-env | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 44 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。