What it does
在 DSH Web 会话中把 Mermaid 代码围栏渲染为 SVG 图表 | Render Mermaid code fences as SVG diagrams in DSH Web messages
Installation
dsh plugin --profile web add dsh-mermaidInstall 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.
No critical findings, but warning-level issues were detected (file writes, remote imports, base64 decoding, downloads).
4d829634ff9a2026-08-164d829634ff9aThe 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 (15 files)
• Dependency vulnerabilities: requires deep audit (L3+)
• Permission sandboxing: requires runtime testing (L4+)
Scan findings · 3
- warningHTTP request to a raw IP addressscripts/browser-inject.mjs:11const BASE = process.env.DSH_WEB_BASE ?? 'http://127.0.0.1:3080'
- infoReads process.envscripts/browser-inject.mjs:11const BASE = process.env.DSH_WEB_BASE ?? 'http://127.0.0.1:3080'
- infoHardcoded IP addressscripts/browser-inject.mjs:11const BASE = process.env.DSH_WEB_BASE ?? 'http://127.0.0.1:3080'
Heuristic static scan — may produce false positives. Review the source yourself before trusting.
Activity
Last commit 2026-08-16 · activity: Active
• Repo created: 2026-08-16
• Stars: ★ 4 · Forks: 0
• Health: Active — committed within last 30 days
Source
GitHub: github.com/AKS1st/dsh-mermaid
