dsh-workspace-changes
github.com/deepseek-ai/deepseek-harness
v0.1.6-alpha.2
其他
写入文件
description: "根据 git 工作树快照以及文件工具编辑前后的整文件捕获,汇总每个顶层轮次改动的文件,通过 workspace/changes Session 事件进行通告,并在 Session 存活期间提供汇总和逐文件对比;包含配置、仓库要求与覆盖规则。" kind: "package-reference"
作者原文(英文)
Per-turn workspace file changes recorded from git working-tree snapshots and whole-file captures, with per-file comparisons, for the DeepSeek Harness
中文简介由 DeepSeek 模型翻译,仅供参考。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意2一般21未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意8 处命中lib/types/capture.js:57await mkdir(directory, { recursive: true });lib/types/capture.js:59await writeFile(file, bytes, { flag: 'wx' }).catch((error) => {lib/types/git.js:92await mkdir(objects, { recursive: true });lib/types/git.js:113await copyFile(join(workspace.gitDir, 'index'), index).catch((error) => {- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 读取文件
reads-files一般4 处命中lib/index.js:828case "file": return readFile(source.file, {lib/index.js:934const text = async (side) => side.kind === "file" ? readFile(side.file, "utf8") : null;lib/types/recorder.js:219case 'file': return readFile(source.file, { encoding: 'utf8', signal });lib/types/recorder.js:314const text = async (side) => side.kind === 'file' ? readFile(side.file, 'utf8') : null;- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 接触凭据或密钥
credentials一般1 处命中README.md:60Git runs through the `subprocess` capability with a scrubbed environment, `GIT_CONFIG_COUNT=0` (ambient indexed configur…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 8 |
| 读取文件 | reads-files | 一般 | 4 |
| 接触凭据或密钥 | credentials | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 21 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)