dsh-plugin-documents
github.com/LR611415/dsh-plugin-documents
v0.1.1
模型与账号
写入文件
Model-facing DSH tools to read and write Word (.docx), PDF, and plain-text files
该插件尚未翻译,显示作者原文。
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意23未命中
高关注需留意一般
能力清单
- 写入文件
writes-files需留意4 处命中lib/index.js:55await mkdir(dirname(target.targetKey), { recursive: true });lib/index.js:56await writeFile(target.targetKey, buffer);lib/index.js:76await mkdir(dirname(writeTarget.targetKey), { recursive: true });lib/index.js:77await writeFile(writeTarget.targetKey, buffer);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 4 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 7 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
这个插件声明的依赖中,有 8 条已公开的安全公告 (最高等级:高):
| 等级 | 依赖包 | 编号 | 摘要 |
|---|---|---|---|
| 高 | adm-zip | CVE-2026-102282 | adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation 修复版本:0.6.1 详情 → |
| 中 | adm-zip | CVE-2026-77301 | adm-zip: Uncontrolled memory allocation via the declared uncompressed size (DoS) 修复版本:0.6.1 详情 → |
| 中 | adm-zip | GHSA-8238-w5pm-2374 | adm-zip: Unhandled error event in async DEFLATE decompression crashes Node.js process (DoS) 修复版本:0.6.1 详情 → |
| 中 | adm-zip | GHSA-p634-w6r4-rjp2 | adm-zip: Duplicate ZIP entry names: getEntry() and extractAllTo() resolve to different content 修复版本:0.6.1 详情 → |
| 中 | adm-zip | CVE-2026-92000 | adm-zip: Decompression-bomb protection (fix for CVE-2026-39244) can be bypassed by declaring uncompressed size as 0 修复版本:0.6.1 详情 → |
| 中 | adm-zip | CVE-2026-76845 | adm-zip extraction follows destination symlinks, allowing arbitrary file overwrite 详情 → |
| 中 | adm-zip | CVE-2026-39244 | adm-zip: Crafted ZIP file triggers 4GB memory allocation 修复版本:0.6.0 详情 → |
| 低 | adm-zip | GHSA-c6fg-446q-cg94 | adm-zip: getDataAsync() bypasses the maxOutputLength size guard enforced by the synchronous getData() path 修复版本:0.6.1 详情 → |
查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0),
不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响——
所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自
OSV.dev。