D

dsh-tauri-panel-extension

github.com/dsh-tauri-desk/dsh-tauri-plugins

v0.6.7 界面与主题 可执行外部程序改写用户 profile写入文件
认证 L2已扫描 ✓健康 S/98周下载 36

`dsh-tauri-panel-extension` 为 `dsh-tauri-panel` 增加侧栏“扩展”入口,在会话内容区提供技能与 MCP 管理。

作者原文(英文)

Skills and MCP management in the DSH Tauri extension panel.

中文简介由 DeepSeek 模型翻译,仅供参考。

dshplugindsh-pluginskillsmcptaurideepseek-harness
发布
2026-08-31
源仓库已归档 作者把仓库设为只读,不会再接受更新或修复。包本身仍可安装。

现在的地址:dsh-tauri/dsh-tauri-plugins

检测报告

关注度高。命中了不少能力模式,其中可能有需要留意的。逐条看下面的清单。
2高关注3需留意5一般14未命中
高关注需留意一般

能力清单

  • 可执行外部程序spawns-processes高关注1 处命中
    • dist/index.js:8import { spawn } from "node:child_process";
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 改写用户 profileprofile-tamper高关注1 处命中
    • index.js
    • 看它改的是自己那一段还是别人的。改用户 profile 通常应由用户手动做。
  • 写入文件writes-files需留意25 处命中
    • dist/index.js:7663mkdirSync(profileDirPath, { recursive: true });
    • dist/index.js:7664writeFileSync(join(profileDirPath, "cordis.patch.yml"), String(doc), "utf8");
    • dist/index.js:7903rmSync(path, {
    • dist/index.js:7945mkdirSync(dir, { recursive: true });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 可终止进程kills-processes需留意2 处命中
    • dist/index.js:8338setTimeout(() => process.kill(process.pid, "SIGTERM"), 500);
    • …kill-creator/scripts/run_eval.py:175process.kill()
    • 看它终止的是自己启动的进程,还是按名字匹配到的任意进程。
  • 运行时改写自身配置modifies-own-manifest需留意1 处命中
    • dist/index.js:7664writeFileSync(join(profileDirPath, "cordis.patch.yml"), String(doc), "utf8");
    • 运行时改写自身配置会让下次启动的行为和你看过的源码不一致。
  • 读取文件reads-files一般28 处命中
    • dist/index.js:836if (!existsSync(file)) continue;
    • dist/index.js:838const parsed = JSON.parse(readFileSync(file, "utf8"));
    • dist/index.js:852if (!existsSync(file)) return [];
    • dist/index.js:855root = parse$1(readFileSync(file, "utf8"));
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 读取环境变量reads-env一般9 处命中
    • dist/index.js:919function profileDir(profile, dshHome = process.env.DSH_HOME) {
    • dist/index.js:6787if (node_process.env.LOG_TOKENS) console.log("|", cst$1.prettyToken(source));
    • dist/index.js:7919function pluginStateDir(dshHome = process.env.DSH_HOME) {
    • dist/index.js:8333env: process.env,
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 文中出现远程脚本地址remote-url-reference一般3 处命中
    • skills/find-skills/SKILL.md:31**Browse skills at:** https://skills.sh/
    • skills/find-skills/SKILL.md:45Before running a CLI search, check the [skills.sh leaderboard](https://skills.sh/) to see if a well-known skill already …
    • skills/find-skills/SKILL.md:92Learn more: https://skills.sh/vercel-labs/agent-skills/react-best-practices
    • 只是文本里出现了远程脚本地址,没有看到加载它的调用。多半是文档或注释;若确实可疑,搜一下这个地址在包里的其他出现位置。
  • 接触凭据或密钥credentials一般1 处命中
    • dist/index.js:6787if (node_process.env.LOG_TOKENS) console.log("|", cst$1.prettyToken(source));
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 动态加载模块dynamic-import一般1 处命中
    • dist/index.js:9068return loader.unwrapExports(await loader.import("@deepseek-ai/dsh-skill-filesystem"));
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注1
改写用户 profileprofile-tamper高关注1
写入文件writes-files需留意25
可终止进程kills-processes需留意2
运行时改写自身配置modifies-own-manifest需留意1
读取文件reads-files一般28
读取环境变量reads-env一般9
文中出现远程脚本地址remote-url-reference一般3
接触凭据或密钥credentials一般1
动态加载模块dynamic-import一般1

这份报告的口径

扫描读的是包里的源码,全程不执行第三方代码。 本次读了 23 个文件,扫描于 2026-10-16。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。

依赖安全公告

这个插件声明的依赖中,有 26 条已公开的安全公告 (最高等级:严重):

等级依赖包编号摘要
严重dompurifyCVE-2026-41239DOMPurify has a SAFE_FOR_TEMPLATES bypass in RETURN_DOM mode
修复版本:3.4.0 详情 →
中dompurifyCVE-2026-65902DOMPurify: Hook mutation of `data.allowedTags` / `data.allowedAttributes` permanently pollutes `DEFAULT_ALLOWED_TAGS` / `DEFAULT_ALLOWED_ATTR`
修复版本:3.4.7 详情 →
中dompurifyCVE-2026-49458DOMPurify: Cross-realm IN_PLACE sanitization leaves executable markup intact via realm-bound `instanceof` checks
修复版本:3.4.6 详情 →
中dompurifyCVE-2026-49459DOMPurify: IN_PLACE mode preserves attributes of a clobbered root element, allowing XSS via attacker-controlled root DOM
修复版本:3.4.6 详情 →
中dompurifyCVE-2026-0540DOMPurify contains a Cross-site Scripting vulnerability
修复版本:2.5.9, 3.3.2 详情 →
中dompurifyCVE-2025-15599DOMPurify contains a Cross-site Scripting vulnerability
修复版本:3.2.7 详情 →
中dompurifyCVE-2026-41238DOMPurify: Prototype Pollution to XSS Bypass via CUSTOM_ELEMENT_HANDLING Fallback
修复版本:3.4.0 详情 →
中yamlCVE-2023-2251Uncaught Exception in yaml
修复版本:2.2.2 详情 →
低smol-tomlGHSA-r4xh-jqrq-34v2smol-toml: Quadratic-time parse() from parseKey rescanning to end of document on each key line
修复版本:1.9.0 详情 →
低smol-tomlGHSA-v3rj-xjv7-4jmqsmol-toml: Denial of Service via TOML documents containing thousands of consecutive commented lines
修复版本:1.6.1 详情 →
低yamlCVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
修复版本:1.10.3, 2.8.3 详情 →
未分级dompurifyCVE-2026-65903DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluation
修复版本:3.4.0 详情 →

查询的是依赖声明范围的下界(如 ^4.2.0 查 4.2.0), 不是实际安装到的版本。真正装的时候如果解析到了修复版本,就不受影响—— 所以这是「可能受影响」,不是「这个插件有漏洞」。数据来自 OSV.dev。

可信度

98 健康分 S 扣分项下方逐条附证据
  • -2README 里没有可复制的示例minor

认证等级 L2

  • L0内容完整性✓sha512-2i3G1Fsb4uS9brYl… 与本地 tarball 复算一致
  • L1来源✓维护者 tuimao,仓库 dsh-tauri-desk/dsh-tauri-plugins(未做仓库审计)
  • L2发行✓隔离 profile 安装成功,5.6s,层已挂载
  • L3生态—还没有契约/启动记录
  • L4多方独立验证—本站不做第三方独立背书
评分口径与作者信息

从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分

维护者
tuimao
仓库
https://github.com/dsh-tauri-desk/dsh-tauri-plugins
许可
MIT
最后发布
2026-08-31
周下载
36
star
1

扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。

认证等级核验的是这个包本身(内容指纹、来源、能否安装、声明是否属实);依赖漏洞是独立标注的,两者正交、不互相掩盖。可信 ≠ 无漏洞,上架 ≠ 推荐。

← 返回首页