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-localInstall method: npm · not yet tested in container (L3+)
Compatibility
| DSH Version | Status |
|---|---|
| not stated | Declared — not tested |
Requirements
- • Node.js: not stated
- • DSH: declared "not stated"
- • External credentials: none detected
Security Report
Automated static scan, not manual review.
Critical findings in non-blocking categories (dynamic code execution, shell execution, install scripts, obfuscation). Common in CLI/terminal plugins but worth reviewing.
shell ×2code-exec ×1b9a34525dc9e2026-08-17b9a34525dc9eThe 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.
• 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:57fetch('/ocr/paste', { method: 'POST', body: buffer }).then((res) => {
- infoMakes network requests (fetch / axios)dsh/client.js:80fetch('/ocr/paste')
- criticalChild process module usage (Node.js)dsh/index.js:13import { execFile } from 'node:child_process'
- criticalShell command execution (exec / execSync)dsh/index.js:54execFile(
- criticalShell command execution (exec / execSync)patch/apply-cc-tui-patch.mjs:119const 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
