{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"maxwell-feng-dsh-windows-ocr","slug":"maxwell-feng-dsh-windows-ocr","rank":434,"url":"https://github.com/maxwell-feng/dsh-windows-ocr","name":"maxwell-feng/dsh-windows-ocr","category":"vision","description":{"zh":"本地 Windows 引擎（Windows.Media.Ocr）识别附加图片：只把识别出的文字发送给模型，图片字节不进入上下文；视觉直通可选开启。","en":"Local OCR for attached images via the built-in Windows engine (Windows.Media.Ocr): only the recognized text is sent to the model, never the image bytes; vision passthrough is opt-in."},"stars":6,"starsCheckedAt":"2026-08-21","repository":{"owner":"maxwell-feng","repo":"dsh-windows-ocr","requestedRef":null,"subpath":""},"npm":"@maxwell-feng/dsh-windows-ocr","downloads":492,"installMode":"npm","upstreamInstall":"dsh plugin --profile web add @maxwell-feng/dsh-windows-ocr","tarball":null,"added":"2026-08-17","page":"https://awesome-dsh-plugin.com/p/maxwell-feng/dsh-windows-ocr/","screenshots":[],"discovery":{"provider":"awesome-dsh-plugin","channel":"plugins.json","indexUrl":"https://github.com/awesome-dsh-plugin/awesome-dsh-plugin","selection":"all curated entries"}},"report":{"sourceId":"maxwell-feng-dsh-windows-ocr","slug":"maxwell-feng-dsh-windows-ocr","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:24:52.718Z","scanStatus":"static-complete","verdict":"pass","score":99,"commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","commitDate":"2026-08-20T13:17:26+08:00","artifactDigest":"sha256:de21fa4c30a94767381ba762dae31204195fd07cc3869d6986773af247724be6","downloadUrl":"https://github.com/maxwell-feng/dsh-windows-ocr/archive/71ce320facf0c566aabc0ac19ab2198090c06c01.tar.gz","installMode":"npm","installCommand":"dsh plugin --profile web add @maxwell-feng/dsh-windows-ocr","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"@maxwell-feng/dsh-windows-ocr","packageVersion":"0.2.4","bundle":{"patch":"./cordis.patch.yml"},"client":null,"lifecycleScripts":{"prepare":"tsc -p tsconfig.json"},"peerDependencies":[]},"identity":{"status":"found","installMode":"npm","upstreamNpm":"@maxwell-feng/dsh-windows-ocr","manifestName":"@maxwell-feng/dsh-windows-ocr","nameMatch":true,"npm":{"name":"@maxwell-feng/dsh-windows-ocr","latestVersion":"0.2.5","publishedAt":"2026-08-21T09:44:22.467Z","createdAt":"2026-08-17T07:32:31.408Z","versionCount":5,"maintainers":1,"repository":"git+https://github.com/maxwell-feng/dsh-windows-ocr.git","hasInstallScripts":false,"deprecated":false},"repositoryMatch":"match","provenance":"attested","tarballHost":null,"versionMatch":"differs"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"windows-ocr","name":"@maxwell-feng/dsh-windows-ocr","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":null,"parseErrors":[]},"capabilities":["filesystem","host-bundle","subprocess"],"outboundHosts":[],"findings":[{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"lib/index.js","pathClass":"source","line":32,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"89dedaa9e6429e9e52b8af60"},{"id":"HT-INSTALL-002","title":"Git 安装会触发 prepare 构建脚本","severity":"medium","confidence":"low","layer":"supply-chain","path":"package.json","pathClass":"manifest","line":17,"evidence":"\"prepare\": \"tsc -p tsconfig.json\"","remediation":"发布预构建制品（npm 或 GitHub Release tarball），并记录源码与发布包的一致性证明。","note":"该插件以 npm/tarball 预构建方式分发，prepare 不在用户机器上执行","hash":"a90520eaf9cba87f7b0654ee"},{"id":"HT-EXEC-001","title":"直接创建宿主子进程","severity":"low","confidence":"medium","layer":"static","path":"src/index.ts","pathClass":"source","line":34,"evidence":"node:child_process","remediation":"通过 DSH 的受控 subprocess/shell seam 执行，并公开命令、参数及审批策略。","hash":"165497e2a6660ef29786eb22"}],"counts":{"critical":0,"high":0,"medium":0,"low":2},"rawCounts":{"critical":0,"high":0,"medium":1,"low":2},"vulnerabilities":[],"coverage":{"source":"complete","manifest":"complete","bundleConfig":"complete","dependencies":"lockfile-present","vulnerabilities":"complete","identity":"complete","artifact":"not-compared","llmReview":"not-needed","dynamicRuntime":"not-run","humanReview":"not-run"},"inventory":{"filesScanned":15,"bytesScanned":84115,"truncated":false,"lockfiles":["package-lock.json"],"pathClasses":{"test-example-docs":4,"markdown":4,"cordis":1,"source":2,"script":1,"data":2,"manifest":1}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:24:52.718Z","commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","policyVersion":"HT-DSH-0.2.2","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T11:26:01.901Z","commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","policyVersion":"HT-DSH-0.2.1","verdict":"pass","status":"static-complete"},{"scannedAt":"2026-08-21T10:54:39.916Z","commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","policyVersion":"HT-DSH-0.2.0","verdict":"pass","status":"static-complete"}],"events":[{"kind":"policy-change","from":"HT-DSH-0.2.1","to":"HT-DSH-0.2.2","commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:24:52.718Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:26:01.901Z"},{"kind":"first-scan","from":null,"to":"pass","commit":"71ce320facf0c566aabc0ac19ab2198090c06c01","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T10:54:39.916Z"}]}