dsh-attachment
github.com/WJZ-P/dsh-attachments
v1.0.1
界面与主题
发起网络请求写入文件R013 清单可疑
Drag-and-drop file and folder attachments for the DeepSeek Harness Web UI
该插件尚未翻译,显示作者原文。
deepseek-harnessdshdsh-pluginattachmentsdrag-and-drop
检测报告
有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
3需留意3一般18未命中
高关注需留意一般
能力清单
- 发起网络请求
network需留意7 处命中lib/client.js:225const response = await fetch(`${ROUTE_PREFIX}?${query.toString()}`, {lib/client.js:243const createdResponse = await fetch(`${ROUTE_PREFIX}?${createQuery.toString()}`, { method: "POST" });lib/client.js:259const response = await fetch(`${ROUTE_PREFIX}/${encodeURIComponent(id)}?${query.toString()}`, {lib/client.js:270const finalizeResponse = await fetch(endpoint(sessionId, id), { method: "PATCH" });- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 写入文件
writes-files需留意6 处命中lib/index.mjs:211await mkdir(directory, { recursive: true })lib/index.mjs:222await copyFile(file.objectPath, destination, fsConstants.COPYFILE_EXCL)lib/index.mjs:312await mkdir(dirname(path), { recursive: true })lib/index.mjs:314await mkdir(path)- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- R013 清单可疑
manifest-obfuscation需留意1 处命中- 安装脚本: prepare
- 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
- 读取文件
reads-files一般3 处命中lib/index.mjs:178for (const entry of await readdir(directory, { withFileTypes: true })) {lib/index.mjs:444await pipeline(createReadStream(path), res)lib/index.mjs:447res.end(await readFile(path))- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般1 处命中lib/index.mjs:105return resolve(process.env.DSH_HOME || join(homedir(), '.dsh'))- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 接触凭据或密钥
credentials一般1 处命中assets/markdown/README.md:15Future screenshots should show distinct behavior. Keep a consistent visual scale where practical, and do not place secre…- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 发起网络请求 | network | 需留意 | 7 |
| 写入文件 | writes-files | 需留意 | 6 |
| R013 清单可疑 | manifest-obfuscation | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 3 |
| 读取环境变量 | reads-env | 一般 | 1 |
| 接触凭据或密钥 | credentials | 一般 | 1 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 8 个文件,扫描于 2026-10-15。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)