dsh-library
github.com/PerryLink/dsh-library
v0.2.20
技能包
发起网络请求动态执行代码R013 清单可疑
Local document knowledge base for DeepSeek Harness: library_add/remove/list, hybrid semantic+keyword library_search with diversity re-ranking, relevance filtering and lost-in-the-middle avoidance, citation-aware injection, library_cite_check and library_d
该插件尚未翻译,显示作者原文。
dshdsh-plugindeepseek-harnessdeepseekcordisragknowledge-baseretrieval
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意2一般19未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意2 处命中lib/index.js:4557response = await fetch(`${this.url}/api/embed`, {lib/index.js:4591const response = await fetch(`${url}/api/embed`, {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 动态执行代码
dynamic-code需留意1 处命中lib/index.js:148new Function("");- 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
- R013 清单可疑
manifest-obfuscation需留意1 处命中- 安装脚本: prepare
- 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
- 接触凭据或密钥
credentials一般14 处命中lib/index.js:4922/** Default probe prefix, mirroring the upstream `SECRET_CODE_` convention. */lib/index.js:4923const PROBE_PREFIX = "SECRET_CODE_";lib/index.js:4935* `PasswordInserter.insert`, deterministic instead of random.CHANGELOG.md:76- The release workflow now publishes through **npm trusted publishing** (OIDC) instead of the long-lived `NPM_TOKEN` sec…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般1 处命中lib/types/index.d.ts:257export declare function allTools(services: LibraryServices): import("@deepseek-ai/dsh-tools").ToolDefinition[];- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 2 |
| 动态执行代码 | dynamic-code | 需留意 | 1 |
| R013 清单可疑 | manifest-obfuscation | 需留意 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 14 |
| 动态加载模块 | dynamic-import | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 25 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。