Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

dsh-fishpai

Latest version: v2.0.3

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: omsociety
6 Stars
1 Forks
10 Versions
2.6K Downloads
JavaScript Repo language

Scan summary

dsh-fishpai was last scanned on 23 Nov 2026 at version 2.0.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 4 were published within 2 days (22 and 23 Nov 2026).
  • Findings: No rules fired in version 2.0.3.
  • Downloads: 2,630 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.0.3 LATEST 23 Nov 2026 No rules fired
2.0.2 23 Nov 2026 No rules fired
2.0.1 22 Nov 2026 No rules fired
2.0.0 22 Nov 2026 Not shown
1.2.1 1 Nov 2026 Not shown

No rules fired in 2.0.3

Findings

Findings for v2.0.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2.0.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

这是什么 • 效果 • 安装方式 • 模型工具 • 面板快捷键 • 开发 • 许可证与作者

这是什么

鱼排编辑器是面向微信公众号的排版与改稿工具。写作、样式调整和交互组件都在同一个专业画布里完成,复制到公众号编辑器即可得到成品。

它同时支持人与模型协同改稿:双方围绕同一篇文档工作,人的手改与批注、模型的修改与建议,都能清晰衔接。

快速模式使用本仓库维护的渲染内核与主题;专业模式提供文档级画布规格、语义组件与自由 HTML / SVG 创作区。署名与许可链条见 NOTICE.md。

效果

安装方式

从 npm 安装

# 先停掉正在运行的 DSH(运行中的服务会锁住依赖,装完再起)
dsh plugin --profile <profile> add "dsh-fishpai"

桌面版把 <profile> 替换为 desktop;其他环境填写实际使用的 profile 名称。

安装后刷新 DSH 页面,在右侧栏打开「鱼排编辑器」。模型调用 fishpai_open 时也会自动打开。

装完怎么用

  1. 让模型 fishpai_open 打开一篇 Markdown → 右侧栏应自动弹出鱼排并显示正文与预览
  2. 在面板里打字 → 预览跟着变;选中文字按 Ctrl/⌘+B → 变成 **加粗**,Ctrl+Z 能撤销
  3. 截图后 Ctrl/⌘+V → 正文出现 ![](assets/…),预览里能看到图,文档同级多出 assets/ 目录
  4. 光标放在某段上点「+批注」写一句要求,再到正文里写一行 <!-- 鱼排: 这里补个过渡 -->
  5. 让模型 fishpai_read → 它应当说出你改了哪一块、批注要求什么、占位在哪一行
  6. 让模型 fishpai_write(mode: "patch")→ 只有那块变了,你其它改动原样保留
  7. 点「复制到剪贴板」→ 粘进公众号编辑器,版式正确(标题 / 列表 / 引用 / 表格 / 信息卡片)
  8. 微信编辑器弹出「内容结构检测」时,点**「继续插入」**即可——它对 SVG 包裹层的 line-height:0 报「行高异常」,这是 SVG 排版的正常写法,不影响正文阅读

提示:微信的 HTML 清洗比浏览器严格。实测会把 :::raw 里的 <div> 转成不带内联样式的 <p>(字号、颜色等随样式一起丢失),也会剥离 SVG <image> 的 href。因此 raw 区块请使用 <section> / <p> / <span> / <table> / <svg> 并写内联样式,SVG 图形用 path / rect 等形状直绘。需要顶到页面左右边缘的内容用 :::full_bleed,不要手写固定负外边距;全幅容器靠 max-width:none !important 对抗微信临时预览的高优先级限宽。表格单元格先写 border:0,再保留指定边线。需要固定造型的 SVG 展示字转成带 aria-label 的矢量路径,不依赖手机字体。含手写 raw 的复制或导出候选,可用 fishpai_lint 检查发布形态。expand / swap 的折叠态可以正常显示;点击展开依赖 SMIL 动画,请在目标账号上实测后再依赖。需要严格一致的场景,把补充内容写成普通段落或 :::raw 静态结构。

模型工具

工具 作用 关键参数
fishpai_open 打开 / 新建文档,并在右侧栏弹出面板 path(可省扩展名,自动补 .md)、markdown(新建时写正文)、theme、professional_spec(专业画布持久规格)
fishpai_read 改稿前必做:读块级 diff、批注、占位、图片提醒与块 id doc_key、include
fishpai_write 改稿。必须带 base_revision;优先按块改 doc_key、base_revision、mode(patch / replace)、patches[{block_id 或 block_index, op, markdown}]
fishpai_render 导出可粘贴 / 归档的自包含 HTML(本地图片内嵌 base64) out_path(可省扩展名)、theme、theme_spec(仅 'quick' 快速目标的临时自定义主题,不落盘)、target('professional' 专业默认 / 'quick' 快速)、professional_spec(当次画布覆盖)、snippetId(装配页头页尾片段)、publish(false = 预览原样形态)、embed_images
fishpai_import 从公众号 URL、粘贴 HTML 或工作区 HTML 导入为新专业文档;raw 保真、保守提升、素材本地化,附结构 / 规格 / lint 报告 url / html / path(三选一)、out_path(必须是不存在的 .md)
fishpai_theme 用户级**「命名主题库」**(多套,set / show / clear / list):模型在某套内置主题上只覆盖想改的槽位,存为 custom:<id> 命名主题 action、theme_id、theme_spec
fishpai_snippets 页头页尾片段库:预览确认后入库,渲染时按名装配 action、name、headerHtml / footerHtml / footerImg、footerAnchors、pending_id、confirm
fishpai_lint 微信约束检查:全内联、禁用标签 / 属性、position、CSS 变量、grid、文本包裹、正文对比度、全幅限宽与表格默认边框 html

模型的标准动作顺序是 open → 等你改 → read → write → 你点复制;技能 fishpai (随插件注册)里写明了这套纪律与排版口径,模型会在需要时自己读。

面板快捷键

快捷键 作用 快捷键 作用
Ctrl/⌘ + B 加粗 Ctrl/⌘ + Alt + 1/2/3 一级 / 二级 / 三级标题
Ctrl/⌘ + I 斜体 Ctrl/⌘ + Alt + 0 正文(去掉标题)
Ctrl/⌘ + E 行内代码 Ctrl/⌘ + Shift + . 引用
Ctrl/⌘ + K 链接 Ctrl/⌘ + Shift + 8 / + 7 无序 / 有序列表
Ctrl/⌘ + Shift + X 删除线 Tab / Shift + Tab 缩进 / 反缩进
Ctrl/⌘ + S 保存 Ctrl/⌘ + Shift + C 复制到剪贴板
Ctrl/⌘ + V 粘贴图片(或拖进来) Ctrl/⌘ + Enter 添加批注(在批注框里)

编辑器右上角的「快捷键」按钮里就是这份表(Mac 显示 ⌘、Windows 显示 Ctrl)。

数据放在哪

位置 内容 说明
你指定的 .md 文档正文 普通 Markdown,任何编辑器都能改;鱼排不往正文里塞标记
.fishpai/docs/ 没指定路径时新建的文档 fishpai_open 省略 path 就落在这里,按标题命名
<文档同级>/assets/ 粘贴或导入的图片 相对路径引用(assets/xxx.png),文档搬走图也跟着走
.fishpai/state/ revision、baseline、批注与文档渲染状态 按文档路径哈希命名;删掉会丢批注、历史与「模型上次写入的基线」(正文不动,但模型暂时看不出你改了什么)
.fishpai/history/ 历史快照(最多 50 份) 面板「历史」抽屉里可一键回滚
用户级存储(storageDomain) 命名主题库、页头页尾片段库 跨工作目录、跨重启持久;命名主题为 custom:<id>
.fishpai/.gitignore 忽略 state/、history/ 插件自建,只追加缺失的行(你写的改动一字不动);正文与图片是否入库由你自己决定

开发

npm install        # 安装运行与开发依赖
npm test           # 全量回归:golden + 站点对照 + 块/diff/批注/补丁 + 宿主红线 + 微信兼容层 + 主题规格 + 主题图标内联核对 + bundle + 快捷键 + 挂载 + 客户端 store 时序 + 接口层(api)
npm run typecheck  # 客户端 TSX 类型检查
npm run build      # 重新打包 lib/client.js(改完客户端必须跑,并提交产物)
npm run build:preview  # 用正式面板与 fixture 重建 README 预览,并在 Chrome 验收展开交互
npm run check:build  # 确认 lib/ 无漂移
npm run check:pack   # 核对 npm 发布物清单
node scripts/regen-golden.mjs --check  # 确认渲染快照可复现

目录与「改东西去哪」:

plugin/index.mjs        宿主入口:注册工具 + /fishpai/api 路由 + fishpai 技能
plugin/core/            渲染与解析核心:runtime / markdown / render / diff / notes / patch / theme-info / theme-spec / snippets / wechat-lint / professional/;HTML 导入解析器用 cheerio
plugin/host/            宿主侧:工具契约、HTTP 路由、文档存储、图片、命名主题与 storageDomain 封装
plugin/vendor/          内置主题 themes.js + markdown-it 14.1.0 + highlight.js 11.9.0 + hljs-map.json
client/                 客户端源码(TSX → esbuild 打成 lib/client.js)
lib/client.js           客户端 bundle(入库;dsh plugin add 不做构建)
scripts/preview/        正式 README 面板预览入口与确定性 fixture
docs/preview/           自包含面板 HTML 与接口数据
skills/fishpai/         鱼排技能:教模型怎么选主题、怎么按块改稿
test/                   golden、站点对照、块/diff/批注/补丁、宿主红线、微信兼容层、主题规格、主题图标内联核对、bundle 形态、快捷键、真实 Cordis 挂载、客户端 store 时序、接口层(api)

用微信官方校验器复验(需要本机 Chrome,不进依赖):

git clone --depth 1 https://github.com/wechatjs/verify-article-structure-spec "$env:TEMP\was"
cd "$env:TEMP\was\cli"; $env:PUPPETEER_SKIP_DOWNLOAD='true'; npm install
$env:PUPPETEER_EXECUTABLE_PATH='C:\Program Files\Google\Chrome\Application\chrome.exe'
$article = 'D:\path\article.html'                  # 换成实际导出路径
npx tsx src/index.ts $article --json                # isValid: true 即通过

Bash / zsh 使用实际路径作为普通参数:

npx tsx src/index.ts /path/to/article.html --json

支持与致谢

  • 如果这个插件对你有帮助,欢迎点亮 Star,有问题和建议请提交 Issue 或 Pull Request;动手前请读 CONTRIBUTING.md,安全相关问题走 SECURITY.md 的私密渠道。

  • MoPai 墨排 / mopai-markdown(MIT):快速管线的早期设计参考

  • markdown-it(MIT)与 highlight.js(BSD-3-Clause):随包内嵌的 vendor 资产

  • cheerio(MIT):导入现有文章时的 HTML 解析与语义分块

  • DeepSeek Harness:插件、右侧栏与技能的宿主

许可证与作者

本项目以 MIT 许可证发布,由 @OMSociety 维护。第三方组件的许可与署名见 NOTICE.md。

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm dsh-fishpai

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229