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

PluginVisionTerminalVision / OCRWeb searchTerminal / Shell
Verification
L2 · Structured
Security
High
Health
Active
Trust
Silver

What it does

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

Installation

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

Install method: npm · not yet tested in container (L3+)

Compatibility

DSH VersionStatus
not statedDeclared — not tested

Requirements

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

Security Report

Automated static scan, not manual review.

DSH.SOHIGH-RISKSCAN9 FILES
b9a345
Automated review · daily
HIGH-RISK

Critical findings in non-blocking categories (dynamic code execution, shell execution, install scripts, obfuscation). Common in CLI/terminal plugins but worth reviewing.

3 critical·0 warning·2 info·9 files scanned
shell ×2code-exec ×1
scanned commitb9a34525dc9e2026-08-17
latest commitb9a34525dc9e

The scan result is only valid for the scanned commit. If the latest commit differs, the badge shows outdated until the daily pipeline rescans.

Disclaimer: automated static analysis, not a security guarantee. Always review what you install.

Risk: High3 critical · 0 warning · 2 info

• Static heuristic scan: done (9 files)

• Dependency vulnerabilities: requires deep audit (L3+)

• Permission sandboxing: requires runtime testing (L4+)

Scan findings · 5

  • infoMakes network requests (fetch / axios)dsh/client.js:57
    fetch('/ocr/paste', { method: 'POST', body: buffer }).then((res) => {
  • infoMakes network requests (fetch / axios)dsh/client.js:80
    fetch('/ocr/paste')
  • criticalChild process module usage (Node.js)dsh/index.js:13
    import { execFile } from 'node:child_process'
  • criticalShell command execution (exec / execSync)dsh/index.js:54
    execFile(
  • criticalShell command execution (exec / execSync)patch/apply-cc-tui-patch.mjs:119
    const child = execFile(pc.cmd, pc.args, { encoding: 'utf8', windowsHide: true, timeout: 3000 }, (error, stdout) => {

Heuristic static scan — may produce false positives. Review the source yourself before trusting.

Activity

Last commit 2026-08-17 · activity: Active

• Repo created: 2026-08-17

• Stars: ★ 4 · Forks: 0

• Health: Active — committed within last 30 days

Source

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

Was this page helpful?