dsh-vision-bridge
github.com/GooDAnDReaDY/dsh-vision-bridge
v0.6.20
界面与主题
可执行外部程序写入文件发起网络请求
DeepSeek Harness 通用视觉桥接插件:为纯文本模型提供无缝多模态图像支持
作者原文(英文)
Flagship multimodal vision hub for DeepSeek Harness: ~40 tools, PDF drag-and-drop, LaTeX formulas, complex tables, QR codes, UI flow diagrams, and multi-model consensus.
中文简介由 DeepSeek 模型翻译,仅供参考。
deepseek-harnessdshdsh-pluginvisionmultimodalocrpdflatex
检测报告
关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
1高关注2需留意4一般17未命中
高关注需留意一般
能力清单
- 可执行外部程序
spawns-processes高关注2 处命中lib/process.js:7import { execFile } from 'node:child_process'lib/updater.js:4import { spawn } from 'node:child_process';- 看它调用哪些程序。调用本机已有的工具是常见做法。
- 写入文件
writes-files需留意31 处命中lib/tools/attach.js:204for (const f of frames) { bestEffort('attach.unlinkFrame', () => unlinkSync(join(dir, f))) }lib/tools/attach.js:252for (const f of files) { bestEffort('attach.unlinkFile', () => unlinkSync(f)) }lib/tools/document.js:66const bytes = readFileSync(join(dir, f)); bestEffort('vision_pdf_pages.unlink', () => unlinkSync(join(dir, f)))lib/tools/document.js:339nodeFs.writeFileSync(resolvedPath, buf);- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 发起网络请求
network需留意21 处命中lib/channels.js:62const res = await fetch(baseURL.replace(/\/v1\/?$/, '') + '/api/tags', {lib/channels.js:196const res = await fetch(url, { method: 'POST', headers, body, signal: mergeSignal(timeoutMs, signal) })lib/channels.js:248const res = await fetch(baseURL + '/chat/completions', {lib/channels.js:329const res = await fetch(baseURL + '/chat/completions', {- 看请求发往哪些域名。发往作者自己的后端是常见做法。
- 接触凭据或密钥
credentials一般142 处命中lib/channels.js:11// {type:'openai-compatible', baseURL, apiKey?, model, protocol?: 'openai-chat'|'openai-responses'}lib/channels.js:13// {type:'custom', baseURL, apiKey?, requestTemplate, responsePath}lib/channels.js:16// 1. apiKey from the channel entry (if non-empty string)lib/channels.js:18// (case-sensitive; <PROVIDER>_API_KEY placeholders must be set by the user)- 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
- 读取文件
reads-files一般38 处命中lib/tools/attach.js:188let frames = existsSync(dir) ? readdirSync(dir).filter((f) => frameRe.test(f)).sort() : []lib/tools/attach.js:201items.push({ bytes: readFileSync(file), contentType: 'image/png', name: f.replace(stem + '-', 'page-') })lib/tools/attach.js:245if (existsSync(f)) files.push(f)lib/tools/attach.js:250for (const f of files) items.push({ bytes: readFileSync(f), contentType: 'image/jpeg', name: f.split('/').pop() })- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般28 处命中lib/channels.js:17// 2. process.env[KEY_NAME] where KEY_NAME is each name in config.keysFromEnvlib/channels.js:47const v = process.env[name]lib/routes/config.js:415hasKey: !!(process.env[fp.envKey] && process.env[fp.envKey].trim()),lib/routes/diagnostics.js:123const keyNames = (Array.isArray(config.keysFromEnv) ? config.keysFromEnv : []).filter((n) => typeof process.env[n] === '…- 环境变量里常混有密钥。看它是否把整个 env 都读走。
- 动态加载模块
dynamic-import一般16 处命中lib/tools/document.js:323const nodeFs = await import('node:fs');lib/tools/document.js:324const nodePath = await import('node:path');lib/image-resolution.js:76const { existsSync, readFileSync } = await import('node:fs')lib/routes/media.js:65const { tmpdir } = await import('node:os')- 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 可执行外部程序 | spawns-processes | 高关注 | 2 |
| 写入文件 | writes-files | 需留意 | 31 |
| 发起网络请求 | network | 需留意 | 21 |
| 接触凭据或密钥 | credentials | 一般 | 142 |
| 读取文件 | reads-files | 一般 | 38 |
| 读取环境变量 | reads-env | 一般 | 28 |
| 动态加载模块 | dynamic-import | 一般 | 16 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 36 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
依赖安全公告
已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)