D

dsh-tesseract-ocr

github.com/maxwell-feng/dsh-tesseract-ocr

v0.3.0 模型与账号 可执行外部程序以 shell 执行命令写入文件

DeepSeek Harness(dsh)插件,让**纯文本模型**也能接收附加的图片:每张图片都在**本地**用 Tesseract OCR 识别,只有识别出的**文本**会发送给模型 API。

作者原文(英文)

dsh plugin: recognize attached images locally with Tesseract OCR and send only the recognized text to the model. Text models never receive image bytes; vision passthrough is opt-in.

中文简介由 DeepSeek 模型翻译,仅供参考。

dshdsh-plugindeepseek-harnessocrtesseractprivacy
分类
model
发布
2026-08-29
版本
v0.3.0
源仓库已无法访问 这个仓库已经删除、改名或转为私有,看不到源码了。npm 上的包仍然可以安装——安装走的是 npm,不读 GitHub——但无法审阅代码,装之前请自行判断。

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注2需留意1一般19未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注2 处命中
    • lib/index.js:36import { spawn } from "node:child_process";
    • src/index.ts:38import { spawn, type ChildProcess } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 以 shell 执行命令shell-exec高关注2 处命中
    • lib/index.js:258// switch to a string command or `shell: true`.
    • src/index.ts:382// switch to a string command or `shell: true`.
    • 看命令字符串是拼出来的还是写死的。拼接用户输入才是真正的风险。
  • 写入文件writes-files需留意4 处命中
    • lib/index.js:72rmSync(full, { recursive: true, force: true });
    • lib/index.js:245await fs.writeFile(imagePath, bytes);
    • src/index.ts:167rmSync(full, { recursive: true, force: true });
    • src/index.ts:370await fs.writeFile(imagePath, bytes);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • R013 清单可疑manifest-obfuscation需留意1 处命中
    • 安装脚本: prepare
    • 清单被刻意写乱时,加载行为会难以预测。看原文而不是看渲染结果。
  • 读取文件reads-files一般2 处命中
    • lib/index.js:57entries = readdirSync(tmpdir());
    • src/index.ts:155entries = readdirSync(tmpdir());
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注2
以 shell 执行命令shell-exec高关注2
写入文件writes-files需留意4
R013 清单可疑manifest-obfuscation需留意1
读取文件reads-files一般2

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 6 个文件,扫描于 2026-10-14。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

已查询这个插件声明的全部依赖,没有匹配到已公开的安全公告。(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。)

← 返回全部插件