dsh-agent-presets
github.com/deepseek-ai/deepseek-harness
v0.1.5-rc.5
会话与记忆
description: "基于预设 cordis.yml 文件的按会话 agent 组合,面向选择、配置或调试 agent 预设的用户和维护者。" kind: "package-reference"
作者原文(英文)
Per-session agent composition from preset cordis.yml files for the DeepSeek Harness
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
能力很少。几乎没有命中能力模式,源码里很少出现敏感调用。
3一般21未命中
高关注需留意一般
能力清单
- 读取文件
reads-files一般21 处命中lib/types/authoring.js:61return await readFile(preset.path, 'utf8');lib/types/authoring.js:84for (const entry of await readdir(dir, { withFileTypes: true })) {lib/types/composition-inventory.js:94rows = load(await readFile(path, 'utf8'), { schema: entryListSchema });lib/types/discovery.js:117if (existsSync(join(dir, 'node_modules', pkg, 'package.json')))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 动态加载模块
dynamic-import一般18 处命中lib/index.js:647* `EntryTree.import()` resolves against the tree's own `baseUrl`, whichlib/index.js:665import(name, getOuterStack) {lib/index.js:669if (base === void 0) return super.import(row.specifier, getOuterStack);lib/index.js:670if (row.kind === "builtin" || row.kind === "preset") return super.import(row.specifier, getOuterStack);- 动态导入本身无害,但会让依赖关系难以静态审阅。
- 接触凭据或密钥
credentials一般2 处命中…ing-cordis-compositions/SKILL.md:20**Host composition.** The registries themselves (`tools`, `systemPrompt`, `agents`, `agent-loop`, `sessions`), anything ……ing-cordis-compositions/SKILL.md:161The two rows are independent. Leaving both disabled preserves the copied preset, enabling one exposes only that product …- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 读取文件 | reads-files | 一般 | 21 |
| 动态加载模块 | dynamic-import | 一般 | 18 |
| 接触凭据或密钥 | credentials | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 44 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 7 条已公开的安全公告 (最高等级:中):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 中 | js-yaml | CVE-2026-84375 | js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources 修复版本:3.15.2, 4.3.2 详情 → |
| 中 | js-yaml | CVE-2026-59869 | js-yaml: YAML merge-key chains can force quadratic CPU consumption 修复版本:3.15.0, 4.3.0 详情 → |
| 中 | js-yaml | GHSA-5p4m-2wfm-xmqj | JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported 修复版本:3.15.1, 4.3.1 详情 → |
| 低 | js-yaml | CVE-2026-53550 | JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases 修复版本:3.15.0, 4.2.0 详情 → |
| 低 | js-yaml | CVE-2025-64718 | js-yaml has prototype pollution in merge (<<) 修复版本:3.14.2, 4.1.1 详情 → |
| 低 | js-yaml | GHSA-r3ph-w7gj-g6xm | js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources 修复版本:5.4.1 详情 → |
| 低 | zod | CVE-2023-4316 | Zod denial of service vulnerability 修复版本:3.22.3 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。