deepseek-harness-office
github.com/Qithird/deepseek-harness-office
v0.1.0
其他
写入文件
DeepSeek Harness (DSH) / DSH Desktop 插件,提供 **PPTX / DOCX / XLSX / PDF** 四种办公文档格式的**读取、创建、写入、编辑**能力。
作者原文(英文)
DeepSeek Harness (DSH) plugin for reading, writing, creating and editing PPTX/DOCX/XLSX/PDF files.
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseek-harnessdshcordispluginofficepptxdocxxlsx
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意3一般20未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意12 处命中lib/formats/docx.js:18await writeFile(spec.output, buf);lib/formats/docx.js:48await writeFile(spec.output, buf);lib/formats/pdf.js:19await writeFile(spec.output, bytes);lib/formats/pdf.js:49await writeFile(spec.output, bytes);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 读取文件
reads-files一般14 处命中lib/formats/docx.js:23const buf = await readFile(path);lib/formats/docx.js:29const zip = await JSZip.loadAsync(await readFile(spec.path));lib/formats/pdf.js:24const buf = await readFile(path);lib/formats/pdf.js:44const src = await PDFDocument.load(await readFile(inp));- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 接触凭据或密钥
credentials一般14 处命中lib/index.js:119userPassword: { type: 'string' },lib/index.js:120ownerPassword: { type: 'string' },lib/index.js:138return { ...(await encryptPdf({ input: args.input, userPassword: args.userPassword, ownerPassword: args.ownerPassword, o…lib/formats/pdf.js:105userPassword: spec.userPassword,- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 动态加载模块
dynamic-import一般4 处命中lib/types/index.d.ts:1export declare const office_pptx: import("@deepseek-ai/dsh-tools").ToolDefinition;lib/types/index.d.ts:2export declare const office_docx: import("@deepseek-ai/dsh-tools").ToolDefinition;lib/types/index.d.ts:3export declare const office_xlsx: import("@deepseek-ai/dsh-tools").ToolDefinition;lib/types/index.d.ts:4export declare const office_pdf: import("@deepseek-ai/dsh-tools").ToolDefinition;- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 12 |
| 读取文件 | reads-files | 一般 | 14 |
| 接触凭据或密钥 | credentials | 一般 | 14 |
| 动态加载模块 | dynamic-import | 一般 | 4 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 13 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)