@zhangzhian/dsh-devtools-files

v0.3.1
zhangzhian · 更新于 2026-11-03 · MIT

dsh-devtools 的文件组件:文件树 + 对话区文件页签(预览/固定)+ 编辑器与预览

开发与运行时dshdsh-plugindeepseek-harnessfiles依赖 36 项
认证等级
库
2 / 4 层有结论
健康分 · B
85
5 条扣分
周下载
276
截至 11-13
依赖漏洞
36
最高 中危
能力扫描
2 项
0 高关注 · 1 需留意
上线 11 天下载趋势
按天
累计下载502
近 7 天276
单日峰值203
近 7 天环比—
06012018024011/311/511/711/911/1111/1311/3 · 17511/4 · 1911/5 · 711/6 · 2511/7 · 611/8 · 1611/9 · 20311/10 · 1611/11 · 1211/12 · 1511/13 · 8

这个包发布于 2026-11-03,上线还不满四周,按周折桶只剩几个点, 所以先按天画。纵轴同样从 0 起;npm 的日下载量滞后 1~2 天结算,最后一天可能偏低。

报告更新于 2026-11-06
四层检测
依赖库 · 无插件层完整口径

四层逐级把关:包结构是否完整、能否与其他插件组合、隔离环境能否装上并启动、抽样运行时是否异常。任一层未通过,不计入等级。

  1. L0
    静态结构与契约

    sha512-oc4PQcl7DSpbo/nV… 与本地 tarball 复算一致,补丁与入口齐备

    通过
  2. L1
    配置组合与依赖图

    peer 型依赖,不挂载自己的条目,无组合面

    通过
  3. L2
    隔离沙箱冒烟

    依赖库:peer 型包,本身不产生插件层(不计入等级)

    未通过
  4. L3
    运行时健康监控

    运行时观测到异常:None

    未通过
健康分扣分项 5 条 · 合计 -15:peer 型依赖,本身不产生插件层(正常形态);依赖 dompurify通告:GHSA-crv5-9vww-q3g8;依赖 mermaid通告:GHSA-2v8p-3f2j-5mp7;依赖 dompurify通告:GHSA-39q2-94rc-95cp

检测等级只回答四件事:包本身结构是否完整可解析(结构完整)、能不能与别的插件组合(可组合)、隔离环境里装不装得上并起得来(可安装)、会话观测里有没有出现意外动作(已观测)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

能力扫描
2 项能力 · 7 处命中

命中次数只说明源码里出现过这类调用,不说明行为好坏。逐条看下面的清单。

写入文件
writes-files · 5 处
需留意
读取文件
reads-files · 2 处
一般
兼容性
可与其它插件组合

安装前需确认四项:依赖哪些包、需要何种运行时、自带多少第三方依赖、是否改动宿主本身。

peer 依赖
14个
全部来自 @deepseek-ai/
运行时要求
未声明
跟随宿主运行时
第三方依赖
22个
commands · lang-css · lang-html · 另有 19 个
bundle patch
无
没有改动宿主本身
依赖安全公告
36 条
中危 dompurify CVE-2026-65902
DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR` 暂无修复版本
中危 dompurify CVE-2026-49458
DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks 暂无修复版本
中危 dompurify CVE-2026-49459
DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM 暂无修复版本
中危 dompurify CVE-2026-0540
DOMPurify contains a Cross-site Scripting vulnerability 暂无修复版本
中危 dompurify CVE-2025-15599
DOMPurify contains a Cross-site Scripting vulnerability 暂无修复版本
中危 dompurify CVE-2026-41238
DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback 暂无修复版本
中危 dompurify CVE-2025-26791
DOMPurify allows Cross-site Scripting (XSS) 暂无修复版本
低危 mermaid CVE-2026-41150
Mermaid Gantt Charts are vulnerable to an Infinite Loop DoS 暂无修复版本
严重 dompurify CVE-2026-41239
DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode 暂无修复版本
— dompurify CVE-2026-65903
DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluation 暂无修复版本
— dompurify CVE-2026-75838
DOMPurify: IN_PLACE hook removal leaves a detached subtree executable, causing XSS 暂无修复版本
— dompurify CVE-2026-109345
DOMPurify: IN_PLACE returns a force-removed rawtext root whose text carries attacker markup — pure HTML reparse executes 暂无修复版本
— dompurify CVE-2026-66010
DOMPurify: `CUSTOM_ELEMENT_HANDLING` bypasses `afterSanitizeElements` for allowed custom elements. 暂无修复版本
— dompurify CVE-2026-116802
DOMPurify: SMIL attributeName=href guard is skipped when PARSER_MEDIA_TYPE is application/xhtml+xml 暂无修复版本
— dompurify CVE-2026-116804
DOMPurify SAFE_FOR_TEMPLATES bypass: split template expressions survive in attached shadow root content on DOM output modes 暂无修复版本
— dompurify CVE-2026-65913
DOMPurify USE_PROFILES prototype pollution allows event handlers 暂无修复版本
— dompurify CVE-2026-65912
DOMPurify ADD_ATTR predicate skips URI validation 暂无修复版本
— dompurify CVE-2026-65898
DOMPurify: Permanent `ALLOWED_ATTR` pollution via `setConfig()` bypassing the hook clone-guard (incomplete fix of the 3.4.7 hook-pollution patch) 暂无修复版本
— dompurify CVE-2026-65900
DOMPurify: SAFE_FOR_TEMPLATES bypass - template expressions survive sanitization inside <template> content when using DOM output modes 暂无修复版本
— dompurify CVE-2026-41240
DOMPurify: FORBID_TAGS bypassed by function-based ADD_TAGS predicate (asymmetry with FORBID_ATTR fix) 暂无修复版本
— dompurify CVE-2026-65914
DOMPurify is vulnerable to mutation-XSS via Re-Contextualization 暂无修复版本
— dompurify CVE-2026-116803
DOMPurify IN_PLACE: hook that removes a parent or sibling leaves the detached subtree's event handlers armed (incomplete fix for GHSA-p98j-92pf-mc4p) 暂无修复版本
— dompurify CVE-2026-109344
DOMPurify: IN_PLACE: node-removing afterSanitize hook leaves detached subtree event handlers armed, causing DOM XSS 暂无修复版本
— dompurify CVE-2026-49978
DOMPurify IN_PLACE Sanitization Bypass via Attached Shadow Root Inside <template>.content 暂无修复版本
— dompurify CVE-2026-65899
DOMPurify: Trusted Types policy survives `clearConfig()` and can poison later `RETURN_TRUSTED_TYPE` output 暂无修复版本
— dompurify CVE-2026-65901
DOMPurify: `IN_PLACE` mode trusts attacker-controlled `nodeName` on live non-form nodes, allowing script retention and XSS via attacker-supplied DOM objects 暂无修复版本
— mermaid CVE-2026-71436
Mermaid XY Charts are vulnerable to an infinite loop DoS 暂无修复版本
— mermaid CVE-2026-71437
Mermaid Architecture diagrams are vulnerable to prototype pollution 暂无修复版本
— mermaid CVE-2026-50159
Mermaid allows CSS injection applying to sibling elements of the diagram 暂无修复版本
— mermaid CVE-2025-54881
Mermaid improperly sanitizes sequence diagram labels leading to XSS 暂无修复版本
— mermaid CVE-2026-41159
Mermaid: Improper sanitization of configuration leads to CSS injection 暂无修复版本
— mermaid CVE-2025-54880
Mermaid does not properly sanitize architecture diagram iconText leading to XSS 暂无修复版本
— mermaid CVE-2026-71438
Mermaid configuration APIs allow prototype pollution 暂无修复版本
— mermaid CVE-2026-41149
Mermaid: Improper sanitization of `classDef` in state diagrams leads to HTML injection 暂无修复版本
— mermaid CVE-2026-71439
Mermaid radar diagrams are vulnerable to DoS 暂无修复版本
— mermaid CVE-2026-41148
Mermaid: Improper sanitization of `classDefs` in diagrams leads to CSS injection 暂无修复版本

查询的是依赖声明范围的下界,不是实际安装版本;若解析到修复版本则不受影响——所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。