{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"poiuyjie-dsh-md-preview","slug":"poiuyjie-dsh-md-preview","rank":1017,"url":"https://github.com/poiuyjie/dsh-md-preview","name":"poiuyjie/dsh-md-preview","category":"docs","description":{"zh":"DSH Web 端可停靠的 Markdown 预览面板：与对话并排展示，会话级「最近打开 .md」列表，本地相对路径图片可直接渲染；点击对话中的 .md 引用改为并排预览而非唤起系统编辑器；跟随 shell 深浅色主题。","en":"Dockable Markdown preview for the DSH Web UI: side-by-side with the conversation, a per-session recently-read .md list, local relative-path images render in place, and clicking an in-chat .md reference previews it instead of launching the system editor; follows the shell light/dark theme."},"stars":2,"starsCheckedAt":"2026-08-21","repository":{"owner":"poiuyjie","repo":"dsh-md-preview","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"github-source","upstreamInstall":"dsh plugin --profile web add github:poiuyjie/dsh-md-preview","tarball":null,"added":"2026-08-19","page":"https://awesome-dsh-plugin.com/p/poiuyjie/dsh-md-preview/","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":"poiuyjie-dsh-md-preview","slug":"poiuyjie-dsh-md-preview","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:30:50.446Z","scanStatus":"static-complete","verdict":"caution","score":94,"commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","commitDate":"2026-08-20T09:56:52+08:00","artifactDigest":"sha256:fa7f861fb3f06c76f131723d2b222032da9810d8cdfd053b36486b0b6de6e9b0","downloadUrl":"https://github.com/poiuyjie/dsh-md-preview/archive/a14484dd3ca8ea3537dbe847ac65f3496eff20dc.tar.gz","installMode":"github-source","installCommand":"dsh plugin --profile web add github:poiuyjie/dsh-md-preview","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-md-preview","packageVersion":"0.5.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"},"lifecycleScripts":{},"peerDependencies":[]},"identity":{"status":"found","installMode":"github-source","upstreamNpm":null,"manifestName":"dsh-md-preview","nameMatch":null,"npm":{"name":"dsh-md-preview","latestVersion":"0.1.1","publishedAt":"2026-08-17T12:40:18.172Z","createdAt":"2026-08-17T12:33:30.698Z","versionCount":2,"maintainers":1,"repository":"git+https://github.com/manibookmark/dsh-md-preview.git","hasInstallScripts":false,"deprecated":false},"repositoryMatch":"mismatch","provenance":"none","tarballHost":null,"versionMatch":"differs"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"md-preview","name":"dsh-md-preview","path":"cordis.patch.yml","disabled":false}],"overrides":[],"jsExpressions":0,"clientPlatform":"web","parseErrors":[]},"capabilities":["browser-ui","filesystem","host-bundle","network","subprocess"],"outboundHosts":[],"findings":[{"id":"HT-CLIENT-001","title":"浏览器端使用危险 HTML 注入点","severity":"medium","confidence":"medium","layer":"static","path":"client.js","pathClass":"source","line":525,"evidence":"dangerouslySetInnerHTML","remediation":"使用安全 DOM API，并在不可避免时对不可信内容进行严格清洗。","hash":"2d69f21ed1690ae4f4e695e3"},{"id":"HT-IDENTITY-001","title":"npm 上存在同名包但指向其他仓库","severity":"low","confidence":"medium","path":"package.json","pathClass":"manifest","line":1,"evidence":"npm repository=git+https://github.com/manibookmark/dsh-md-preview.git ≠ poiuyjie/dsh-md-preview","remediation":"npm 上存在同名包但指向其它仓库；从源码安装时请使用 github: 引用并锁定 commit。","layer":"identity","hash":"69c18b540c353b12b668765d"}],"counts":{"critical":0,"high":0,"medium":1,"low":1},"rawCounts":{"critical":0,"high":0,"medium":1,"low":1},"vulnerabilities":[],"coverage":{"source":"complete","manifest":"complete","bundleConfig":"complete","dependencies":"lockfile-missing","vulnerabilities":"lockfile-missing","identity":"complete","artifact":"not-compared","llmReview":"not-needed","dynamicRuntime":"not-run","humanReview":"not-run"},"inventory":{"filesScanned":6,"bytesScanned":78398,"truncated":false,"lockfiles":[],"pathClasses":{"markdown":2,"source":2,"cordis":1,"manifest":1}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:30:50.446Z","commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:34:12.448Z","commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:02:59.143Z","commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","policyVersion":"HT-DSH-0.2.0","verdict":"caution","status":"static-complete"}],"events":[{"kind":"policy-change","from":"HT-DSH-0.2.1","to":"HT-DSH-0.2.2","commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:30:50.446Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:34:12.448Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"a14484dd3ca8ea3537dbe847ac65f3496eff20dc","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T11:02:59.143Z"}]}