浏览全部

工具与效率 · v0.3.4

dsh-ppt

github.com/boe1900/dsh-ppt

能力写入文件

从 dataelement/dsh-desktop 提取的独立 DSH / DeepSeek Harness 插件。

作者原文(英文)

Standalone DSH plugin for PPT authoring, template selection, validation and editable PPTX export

简介取自插件自己的 README 原文。

dsh-pluginpptdpptxpresentation
认证 L0已扫描 ✓健康 S/95周下载 185
4 项能力
许可
MIT
发布
2026-09-29
维护者
cola1900
插件 ID
155

安装命令

dsh plugin --profile web add @cola1900/dsh-ppt@0.3.4

已试装 · 层已挂载

已在一个隔离的 profile 里真装过:包能装上,并且插件层挂载成功。这一条是实测结果,不是作者的声明。

检测报告

有一定能力。命中了若干能力模式,大多是插件正常工作时会用到的。
1需留意3一般20未命中
高关注需留意一般

能力清单

  • 写入文件writes-files需留意55 处命中
    • lib/bin.js:1072await mkdir(path.dirname(resolved), { recursive: true });
    • lib/bin.js:1076await handle.writeFile(bytes);
    • lib/bin.js:1082if (replace) await rename(temporary, resolved);
    • lib/bin.js:1085await unlink(temporary);
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 读取文件reads-files一般23 处命中
    • lib/bin.js:3180bytes: await readFile(target)
    • lib/bin.js:3192const entries = (await readdir(input, { withFileTypes: true })).filter((entry) => entry.isFile() && entry.name.endsWith(…
    • lib/bin.js:3204const manifest = await readFile(entry, "utf8");
    • lib/bin.js:3623const manifestContent = await readFile(entry, "utf8");
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 动态加载模块dynamic-import一般6 处命中
    • lib/index.js:1886JSDOM ??= (await import("jsdom")).JSDOM;
    • …/types/client/OfficePptHero.d.ts:33export declare function OfficePptInputAccessory({ client, mode, sessionId, t, }: PropsRuntime<'conversation.hero.inputAc…
    • …/types/client/OfficePptHero.d.ts:35export declare function OfficePptStandardInputAccessory(props: PropsRuntime<'conversation.input.accessory'> & OfficePptH…
    • …/types/client/OfficePptHero.d.ts:37export declare function OfficePptHeroActions(props: PropsRuntime<'conversation.hero.actions'> & InjectFace<OfficePptHero…
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
  • 读取环境变量reads-env一般1 处命中
    • lib/index.js:3680ctx.provide(PPT_SKILL_ROOT, config.pptSkillRoot ?? process.env.DSH_PPT_SKILL_ROOT ?? bundledPptSkillRoot);
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
能力标识关注度命中次数
写入文件writes-files需留意55
读取文件reads-files一般23
动态加载模块dynamic-import一般6
读取环境变量reads-env一般1

这份报告的口径

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

可信度

95 健康分 S 扣分项下方逐条附证据
  • -5cordis entry id「dsh-ppt」被 2 个包共用,同时安装会互相替换warn:dsh-ppt

认证等级 L0

  • L0静态结构与契约✓sha512-9bpf5UGUhG5idRTw… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图—entry id dsh-ppt 被 2 个包共用
  • L2隔离沙箱冒烟✓隔离 profile 安装成功,5.4s,层已挂载;宿主带它启动(booted)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
  • L3运行时健康监控✓抽样会话内未观测到外部进程 / 越界写 / 外连(2 个事件)(前一级未通过,本项不计入等级)前一级未通过,不计入等级
评分口径与作者信息

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

维护者
cola1900
仓库
https://github.com/boe1900/dsh-ppt
许可
MIT
最后发布
2026-09-29
周下载
185
star
0

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

认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。

DSH peer 依赖15 个cordisdsh-agentdsh-agent-presetdsh-branddsh-client-connectiondsh-client-localedsh-client-ui-conversationdsh-client-ui-primitivesdsh-client-ui-slotsdsh-invariantsdsh-llmdsh-session等 15 个均为 @deepseek-ai/ 下的包
Node 要求^22.19.0 || >=24.0.0
第三方依赖6 个
bundle patch./cordis.patch.yml./presets/ppt.patch.yml
依赖安全公告9 条,见下方

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

等级依赖包编号摘要
中js-yamlCVE-2026-84375js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
修复版本:3.15.2, 4.3.2 详情
中js-yamlCVE-2026-59869js-yaml: YAML merge-key chains can force quadratic CPU consumption
修复版本:3.15.0, 4.3.0 详情
中js-yamlGHSA-5p4m-2wfm-xmqjJS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) — CVE-2026-59870 fix not backported
修复版本:3.15.1, 4.3.1 详情
低js-yamlCVE-2026-53550JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases
修复版本:3.15.0, 4.2.0 详情
低js-yamlCVE-2025-64718js-yaml has prototype pollution in merge (<<)
修复版本:3.14.2, 4.1.1 详情
低js-yamlGHSA-r3ph-w7gj-g6xmjs-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
修复版本:5.4.1 详情
未分级sharpGHSA-f88m-g3jw-g9cjsharp inherited vulnerabilities in libvips: CVE-2026-33327, CVE-2026-33328, CVE-2026-35590, CVE-2026-35591
修复版本:0.35.0 详情
未分级sharpGHSA-rgj7-g3m4-5g8csharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545
修复版本:0.35.4 详情
未分级sharpGHSA-wq5f-xc86-pv6wsharp : Vulnerability in librsvg dependency CVE-2026-96889
修复版本:0.35.5 详情

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

元数据

主页https://github.com/boe1900/dsh-ppt#readme
仓库最近提交2026-09-29
仓库创建2026-09-17

返回首页