浏览全部

界面与主题 · v1.5.19

dsh-waifu

能力可执行外部程序写入文件发起网络请求

@thewaifu/dsh-waifu 为 DeepSeek Harness 增加了两种可选体验。

作者原文(英文)

@thewaifu/dsh-waifu adds two optional experiences to DeepSeek Harness。

简介取自插件 README 开头,由 DeepSeek 模型翻译,仅供参考。

deepseek-harnessdsh-pluginwaifucompaniondesktop-companionwebuiskintheme
认证 L2已扫描 ✓健康 S/95周下载 36
8 项能力
许可
Apache-2.0
发布
2026-09-29
维护者
dores-agent
插件 ID
1174

安装命令

dsh plugin --profile web add @thewaifu/dsh-waifu@1.5.19

已试装 · 层已挂载

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

检测报告

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

能力清单

  • 可执行外部程序spawns-processes高关注4 处命中
    • lib/electronBinary.js:2import { execFile, spawn } from 'node:child_process';
    • lib/macosApp.js:2import { execFile as execFileCallback } from 'node:child_process';
    • lib/openExternal.js:2import { execFile } from 'node:child_process';
    • lib/runtime.js:2import { spawn } from 'node:child_process';
    • 看它调用哪些程序。调用本机已有的工具是常见做法。
  • 写入文件writes-files需留意10 处命中
    • lib/macosApp.js:27await rename(resolve(targetContents, 'MacOS', basename(electronExecutable)), targetExecutable);
    • lib/macosApp.js:28await copyFile(iconPath, resolve(targetContents, 'Resources/dsh-waifu.png'));
    • lib/modelVault.js:33rmSync(root, { recursive: true, force: true });
    • lib/modelVault.js:47mkdirSync(dirname(destination), { recursive: true, mode: 0o700 });
    • 看写入位置。写自己的配置目录是正常的,写系统目录不是。
  • 发起网络请求network需留意3 处命中
    • …r/vendor/live2dcubismcore.min.js:9var Live2DCubismCore;!function(Live2DCubismCore){var _scriptDir,_csm=function(){function _csm(){}return _csm.getVersion=…
    • lib/renderer/vendor/pixi.min.js:8var PIXI=function(t){"use strict";var e=setTimeout;function r(t){return Boolean(t&&void 0!==t.length)}function i(){}func…
    • 看请求发往哪些域名。发往作者自己的后端是常见做法。
  • 动态执行代码dynamic-code需留意2 处命中
    • …r/vendor/live2dcubismcore.min.js:9var Live2DCubismCore;!function(Live2DCubismCore){var _scriptDir,_csm=function(){function _csm(){}return _csm.getVersion=…
    • 看 eval / new Function 的入参来自哪里。常量字符串和用户输入是两回事。
  • 读取文件reads-files一般31 处命中
    • lib/catalog.js:18const parsed = JSON.parse(readFileSync(modelPath, 'utf8'));
    • lib/catalog.js:30if (!statSync(referencedMoc).isFile()) {
    • lib/catalog.js:42if (!statSync(referencedTexture).isFile()) {
    • lib/catalog.js:50if (!statSync(root).isDirectory())
    • 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
  • 接触凭据或密钥credentials一般29 处命中
    • lib/gatewayAuth.js:48if (url.username || url.password || url.pathname !== '/' || url.search || url.hash) {
    • lib/gatewayAuth.js:52this.credentials = options.credentials;
    • lib/gatewayAuth.js:67await this.credentials.set(WAIFU_DEVICE_CREDENTIALS.privateKey, privateKey);
    • lib/gatewayAuth.js:75await this.credentials.set(WAIFU_DEVICE_CREDENTIALS.publicKey, publicKey);
    • 看它读取哪些凭据、发往哪里。用于登录自己的服务是正常的。
  • 读取环境变量reads-env一般10 处命中
    • lib/electronBinary.js:45const platform = process.env.ELECTRON_INSTALL_PLATFORM
    • lib/electronBinary.js:46?? process.env.npm_config_platform
    • lib/electronBinary.js:52const overriddenDist = process.env.ELECTRON_OVERRIDE_DIST_PATH;
    • lib/electronBinary.js:70cacheRoot: process.env.electron_config_cache,
    • 环境变量里常混有密钥。看它是否把整个 env 都读走。
  • 动态加载模块dynamic-import一般2 处命中
    • scripts/verify-package.mjs:60const catalog = await import(new URL(`../lib/modelCatalog.js?verify=${Date.now()}`, import.meta.url))
    • lib/client-types/SkinPicker.d.ts:2export declare function SkinPicker({ t, useWaifuTheme, previews, setSkin }: SkinPickerProps): import("react").JSX.Elemen…
    • 动态导入本身无害,但会让依赖关系难以静态审阅。
逐条扫描明细
能力标识关注度命中次数
可执行外部程序spawns-processes高关注4
写入文件writes-files需留意10
发起网络请求network需留意3
动态执行代码dynamic-code需留意2
读取文件reads-files一般31
接触凭据或密钥credentials一般29
读取环境变量reads-env一般10
动态加载模块dynamic-import一般2

这份报告的口径

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

可信度

95 健康分 S 扣分项下方逐条附证据
  • -5没有仓库或主页地址warn

认证等级 L2

  • L0静态结构与契约✓sha512-2eni9nsfCullrIqZ… 与本地 tarball 复算一致,补丁与入口齐备
  • L1配置组合与依赖图✓跨包无 entry id 冲突,插入模块可解析,目录内 peer 满足
  • L2隔离沙箱冒烟✓隔离 profile 安装成功,10.0s,层已挂载;宿主带它启动(booted)
  • L3运行时健康监控—运行时观测到异常:spawns+hosts+dns
评分口径与作者信息

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

维护者
dores-agent
仓库
—
许可
Apache-2.0
最后发布
2026-09-29
周下载
36
star
—

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

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

DSH peer 依赖8 个cordisdsh-agentdsh-commandsdsh-credentialsdsh-sessiondsh-settingsdsh-user-approvaldsh-user-questions均为 @deepseek-ai/ 下的包
Node 要求^22.19.0 || >=24.0.0
第三方依赖7 个
bundle patch./cordis.patch.yml
依赖安全公告52 条,见下方

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

等级依赖包编号摘要
严重electronCVE-2026-70609Electron: DevTools JavaScript Injection via Unsanitized Dock State Parameter
修复版本:39.8.7, 40.9.0, 41.2.0 详情
严重electronCVE-2026-34774Electron: Use-after-free in offscreen child window paint callback
修复版本:39.8.1, 40.7.0, 41.0.0 详情
严重electronCVE-2026-34771Electron: Use-after-free in WebContents fullscreen, pointer-lock, and keyboard-lock permission callbacks
修复版本:38.8.6, 39.8.0, 40.7.0 详情
严重electronCVE-2026-102676Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
修复版本:41.10.6, 42.9.2, 43.4.1 详情
严重electronCVE-2026-34775Electron: nodeIntegrationInWorker not correctly scoped in shared renderer processes
修复版本:38.8.6, 39.8.4, 40.8.4 详情
高electronCVE-2026-70603Electron: shell.openPath path validation bypass via embedded null byte
修复版本:39.8.6, 40.9.0, 41.1.1 详情
高electronCVE-2026-34779Electron: AppleScript injection in app.moveToApplicationsFolder on macOS
修复版本:38.8.6, 39.8.1, 40.8.0 详情
高electronCVE-2026-34769Electron: Renderer command-line switch injection via undocumented commandLineSwitches webPreference
修复版本:38.8.6, 39.8.0, 40.7.0 详情
高electronCVE-2026-70611Electron: DevTools embedder handler executes arbitrary files via shell open
修复版本:39.8.9, 40.9.2, 41.2.1 详情
高electronCVE-2026-34770Electron: Use-after-free in PowerMonitor on Windows and macOS
修复版本:38.8.6, 39.8.1, 40.8.0 详情
高electronCVE-2026-70597Electron: Parent process code-sign check is spoofable
修复版本:39.8.8, 40.9.1, 41.2.1 详情
高electronCVE-2026-102677Electron: Sandboxed preload code cache can be poisoned by a compromised renderer
修复版本:42.10.0, 43.5.0, 44.0.0-beta.6 详情

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

返回首页