dsh-ocr-local avatar

dsh-ocr-local

Local OCR plugin for DeepSeek Harness — paste an image, get its text via PP-OCRv5 + ONNX Runtime, fully offline. Supports TUI (cc-tui) and Web. | DeepSeek Harness 本地 OCR 插件:粘贴图片,PP-OCRv5 + ONNX Runtime 识别文字,完全离线,支持 TUI 与 Web

Plugin视觉终端视觉 / OCR网页搜索终端 / Shell
验证
L2 · 结构化
安全
高风险
健康
活跃
信任

功能介绍

Local OCR plugin for DeepSeek Harness — paste an image, get its text via PP-OCRv5 + ONNX Runtime, fully offline. Supports TUI (cc-tui) and Web. | DeepSeek Harness 本地 OCR 插件:粘贴图片,PP-OCRv5 + ONNX Runtime 识别文字,完全离线,支持 TUI 与 Web

安装

dsh plugin --profile web add dsh-ocr-local

Install method: npm · 尚未在容器中测试 (L3+)

兼容性

DSH VersionStatus
not statedDeclared — not tested

要求

  • • Node.js: not stated
  • • DSH: declared "not stated"
  • • External credentials: none detected

安全报告

自动静态扫描,非人工审核。

DSH.SO高风险SCAN9 FILES
b9a345
自动审查 · 每日更新
高风险

非阻断类别中的严重发现(动态执行、shell 执行、安装脚本、混淆)。在 CLI/终端插件中常见,但值得审查。

3 严重·0 警告·2 提示·9 扫描文件数
shell ×2code-exec ×1
扫描版本b9a34525dc9e2026-08-17
当前版本b9a34525dc9e

扫描结果仅对「扫描版本」有效。若当前版本不同,徽章将显示 outdated,直到每日流水线重新扫描。

免责声明:这是自动化静态分析,不构成安全保证。安装前请自行审查。

风险:高风险3 critical · 0 warning · 2 info

• 静态启发式扫描:已完成(9 个文件)

• 依赖漏洞:需深度审计(L3+)

• 权限沙箱:需运行时测试(L4+)

扫描发现 · 5

  • info发起网络请求(fetch / axios)dsh/client.js:57
    fetch('/ocr/paste', { method: 'POST', body: buffer }).then((res) => {
  • info发起网络请求(fetch / axios)dsh/client.js:80
    fetch('/ocr/paste')
  • critical使用 child_process 子进程模块(Node.js)dsh/index.js:13
    import { execFile } from 'node:child_process'
  • critical执行 shell 命令(exec / execSync)dsh/index.js:54
    execFile(
  • critical执行 shell 命令(exec / execSync)patch/apply-cc-tui-patch.mjs:119
    const child = execFile(pc.cmd, pc.args, { encoding: 'utf8', windowsHide: true, timeout: 3000 }, (error, stdout) => {

静态启发式扫描,可能误报——使用前请自行审查源码。

活跃度

最近提交 2026-08-17 · 活跃度:活跃

• 仓库创建: 2026-08-17

• 星标: ★ 4 · 复刻: 0

• 健康度: 活跃 — 近 30 天有提交

来源

GitHub: github.com/balcoz/dsh-ocr-local

这页有帮助吗?