{"schemaVersion":2,"dataVersion":"20260822T105549Z-0a0b366f","generatedAt":"2026-08-22T10:55:49.138Z","source":{"id":"3361805598-gif-dsh-md-annotator","slug":"3361805598-gif-dsh-md-annotator","rank":923,"url":"https://github.com/3361805598-gif/dsh-md-annotator","name":"3361805598-gif/dsh-md-annotator","category":"docs","description":{"zh":"面向 dsh-better-sidebar 扩展的 Markdown 侧边栏预览与源码编辑器，支持块级和文本选区批注，并可将批注作为结构化修改请求发送到对话框。","en":"Markdown sidebar preview and source editor for dsh-better-sidebar, with block- and text-range annotations that can be sent to the conversation as structured revision requests."},"stars":2,"starsCheckedAt":"2026-08-21","repository":{"owner":"3361805598-gif","repo":"dsh-md-annotator","requestedRef":null,"subpath":""},"npm":null,"downloads":null,"installMode":"tarball","upstreamInstall":"dsh plugin --profile web add \"https://github.com/3361805598-gif/dsh-md-annotator/releases/download/v0.6.0/dsh-md-annotator-0.6.0.tgz\"","tarball":"https://github.com/3361805598-gif/dsh-md-annotator/releases/download/v0.6.0/dsh-md-annotator-0.6.0.tgz","added":"2026-08-21","page":"https://awesome-dsh-plugin.com/p/3361805598-gif/dsh-md-annotator/","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":"3361805598-gif-dsh-md-annotator","slug":"3361805598-gif-dsh-md-annotator","policyVersion":"HT-DSH-0.2.2","scannedAt":"2026-08-22T08:29:58.066Z","scanStatus":"static-complete","verdict":"caution","score":95,"commit":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","commitDate":"2026-08-21T10:13:14+08:00","artifactDigest":"sha256:23b8df0d7f97d94160347c50323277d6344be4bac4c1bb6ce8057466872e4b10","downloadUrl":"https://github.com/3361805598-gif/dsh-md-annotator/archive/1b7bbf96b7d2df262ad8159b94dc5669baffa73b.tar.gz","installMode":"tarball","installCommand":"dsh plugin --profile web add \"https://github.com/3361805598-gif/dsh-md-annotator/releases/download/v0.6.0/dsh-md-annotator-0.6.0.tgz\"","manifest":{"found":true,"path":"package.json","parseError":null,"packageName":"dsh-md-annotator","packageVersion":"0.6.0","bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web"},"lifecycleScripts":{},"peerDependencies":[]},"identity":{"status":"not-published","installMode":"tarball","upstreamNpm":null,"manifestName":"dsh-md-annotator","nameMatch":null,"npm":null,"repositoryMatch":"not-checked","provenance":"not-checked","tarballHost":"github-release"},"permissions":{"bundlePatch":"cordis.patch.yml","inserts":[{"id":"md-annotator","name":"dsh-md-annotator","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":"lib/client.js","pathClass":"source","line":560,"evidence":"dangerouslySetInnerHTML","remediation":"使用安全 DOM API，并在不可避免时对不可信内容进行严格清洗。","hash":"48792e8ff9af270b03d1c839"},{"id":"HT-CLIENT-001","title":"浏览器端使用危险 HTML 注入点","severity":"medium","confidence":"medium","layer":"static","path":"lib/src/parser.js","pathClass":"source","line":109,"evidence":"dangerouslySetInnerHTML","remediation":"使用安全 DOM API，并在不可避免时对不可信内容进行严格清洗。","hash":"5dbd7ebcda9cb20aa1b0f954"}],"counts":{"critical":0,"high":0,"medium":2,"low":0},"rawCounts":{"critical":0,"high":0,"medium":2,"low":0},"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":16,"bytesScanned":198159,"truncated":false,"lockfiles":[],"pathClasses":{"markdown":2,"cordis":1,"source":10,"manifest":1,"test-example-docs":2}},"limitations":["此结果为源码静态检测，不等同于无漏洞证明。","尚未比对 npm 发布包与源码的一致性，也未执行隔离运行和人工复核。","危险能力可能是插件功能所需，需结合用途与证据人工判断。"],"limitationKeys":["static-analysis-only","no-artifact-runtime-human-review","capability-needs-context"]},"timeline":[{"scannedAt":"2026-08-22T08:29:58.066Z","commit":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","policyVersion":"HT-DSH-0.2.2","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:37:05.369Z","commit":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","policyVersion":"HT-DSH-0.2.1","verdict":"caution","status":"static-complete"},{"scannedAt":"2026-08-21T11:06:07.503Z","commit":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","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":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","policyVersion":"HT-DSH-0.2.2","at":"2026-08-22T08:29:58.066Z"},{"kind":"policy-change","from":"HT-DSH-0.2.0","to":"HT-DSH-0.2.1","commit":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","policyVersion":"HT-DSH-0.2.1","at":"2026-08-21T11:37:05.369Z"},{"kind":"first-scan","from":null,"to":"caution","commit":"1b7bbf96b7d2df262ad8159b94dc5669baffa73b","policyVersion":"HT-DSH-0.2.0","at":"2026-08-21T11:06:07.503Z"}]}