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-publish-helper

Latest version: v0.21.6

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: fubai-fenzhi
0 Stars
0 Forks
8 Versions
JavaScript Repo language

Scan summary

dsh-publish-helper was last scanned on 24 Nov 2026 at version 0.21.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 5 were published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 0.21.6.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.21.6 LATEST 24 Nov 2026 No rules fired
0.21.5 24 Nov 2026 No rules fired
0.21.4 23 Nov 2026 No rules fired
0.21.3 23 Nov 2026 Not shown
0.21.2 23 Nov 2026 Not shown

No rules fired in 0.21.6

Findings

Findings for v0.21.6. 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 0.21.6; other versions have their own rules, not their own score.

README

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

dsh-publish-helper

DSH 插件上架 / 发布 / 撤回助手:发现、检查、生成 entry、开 PR、一键发布 npm、按版本撤回。

安装

dsh plugin install_bundle --target npm:dsh-publish-helper

装完重启 DSH。第一次使用前在终端完成一次认证,插件会自动读取,不需要手填 token:

gh auth login    # GitHub:提交/审核/开 PR
npm login        # npm:发布/撤回

工具

工具 作用
publish_discover 按 dsh-plugin topic 搜仓库(star 排序)
publish_check 7 项上架检查:repo / topic / bundle / npm / repository / registry / catalog
publish_entry 生成 data/plugins/<owner>__<repo>.yml
publish_pr 复用或创建 fork(落后先同步)→ 写 entry → 开 PR
publish_audit 扫一个 npm 用户的包,标出 needs-registry / needs-catalog / no-repository / ready
publish_prepare 给 package.json 补 repository / homepage 并升 patch
publish_repo GitHub API 建仓库并上传目录(不用 git)
publish_npm 用本机保存的 npm token 直接发布(先过 preflight,--access public,可带 OTP)
publish_preflight 本地提交自检:字段 / dsh.bundle / README / LICENSE / install 脚本 / 二进制 / 密钥 / 绝对路径
publish_recall deprecate 打警告 / unpublish 下架单个版本
publish_org 管理 npm org 成员:list / verify / invite / remove(owner token)
publish_workflow 把 GitHub Actions 发布模板写进包目录
publish_submit 本地包 → 预检 → 推分支到 fork → 向 submissions 仓库开 PR
publish_review 拉取提交 PR → 下载代码 → 预检 → 把报告贴回 PR
publish_spec 返回完整提交规范(字段、禁项、流程、撤回)

给 AI 的规范(装插件即生效)

插件激活时会向每个 agent 注入一段「DSH 插件提交与发布规范」,所以别人问 AI「怎么提交 / 怎么发」时,AI 已经知道标准,不需要你每次解释。完整规范可用 publish_spec 工具取。

交接物固定为:包目录/zip + SUBMISSION.md(模板见 templates/SUBMISSION.md)。缺 SUBMISSION.md 不进入审核。

维护者只需要:审核 → publish_check → publish_prepare → publish_npm(或 CI)→ publish_entry → publish_pr。

规范要点:

  • package.json 必须有 name/version/description/license/repository/homepage/keywords + dsh.bundle.patch
  • README、LICENSE 齐全
  • 禁止 install 脚本、二进制/构建产物、混淆代码、密钥、绝对路径
  • 只发审核过的 commit;不保存他人账号

提交入口(B:GitHub PR)

dsh-plugin-submissions:每个插件一个目录,PR 提交,CI 自动跑 preflight,维护者合并即通过。

submissions/<pkg>/
  package.json · README.md · LICENSE · SUBMISSION.md · 源码
  • CI:.github/workflows/preflight.yml
  • 审核报告模板:docs/REVIEW.md
  • 合并后由作者自己发,或按 SUBMISSION.md 授权代发

审核队列(面板)

侧边栏 Publish → 顶部「审核队列」:

  • 列出 dsh-plugin-submissions 的待审 PR:编号、标题、作者、commit、CI 状态、已审/未审
  • 点「运行审核」:插件拉取 PR 代码 → preflight → 把报告贴回 PR,并在面板里直接显示结果
  • 报告缓存到 ~/.dsh/publish-helper-reviews.json,关掉面板也能再看
  • 「打开 PR」跳到 GitHub 做最终 review / Merge

一键发布(面板)

一个包一次,点一下就完成「自检 + 发布」:

  1. 侧边栏 Publish → 填包目录
  2. 点 自检并发布:先跑规范自检(字段、dsh.bundle、README/LICENSE、install 脚本、二进制、密钥、绝对路径),PASS 才发 npm
  3. 不看自检结果直接发布时,publish_npm 会拒绝;确需跳过要显式 force

token、tag、OTP、扫描都收在「高级」折叠里,默认界面只有包目录 + 一个按钮;上架检查交给 AI 的 publish_check 工具,不再占面板。

凭据:自动读取,不用手填
操作 来源 一次性准备
GitHub gh auth token → 环境变量 → 本机配置 gh auth login
npm ~/.npmrc → NPM_TOKEN → 本机配置 npm login

面板只显示「已连接(gh CLI / ~/.npmrc)」,不回显 token 值;token 也不进对话。

发版(默认:tag → CI → npm)

在插件里一条命令完成「升版 + 上传仓库 + 打 tag + 触发 CI」:

publish_tag dir=E:\path\to\my-plugin bump=patch

CI(.github/workflows/release.yml)会:

  1. 校验 tag 与 package.json 版本一致
  2. 跑 test/*.test.mjs
  3. npm publish --provenance --access public

需要仓库 secret NPM_TOKEN(granular token,Read and write + Bypass 2FA)。

Trusted Publishing(可选,替代 token)

如果 npm 账号能开 2FA,可在包页面 → Settings → Trusted publishing 绑定仓库 + release.yml, 然后把发布步骤的 NODE_AUTH_TOKEN 去掉,改用 OIDC(零 token、零 OTP)。

  • 首次发布一般要先本地发一次把包建出来
  • workflow 使用较新的 npm CLI(模板会 npm install -g npm@latest)

撤回

方式 何时用 命令
deprecate 随时,安装时看到警告 npm deprecate <pkg>@<ver> "<reason>"
unpublish 发布 72 小时内 npm unpublish <pkg>@<ver> --force

面板「撤回」或工具 publish_recall。需要 npm token 对该包有发布权限(自己的包 / org owner / npm owner add 的 co-owner)。

超 72 小时只能联系 npm support 或举报;所以发布后要尽快复查。

责任边界

  • 插件不存储他人的账号/密码;token 只存本机 ~/.dsh/publish-helper.json
  • 发布前必须人工审核目标 commit;每次发布/撤回写入 ~/.dsh/publish-helper-log.json(时间、包名、版本、目录)
  • 撤回是事后手段,不能替代审核;恶意包的第一道闸门仍是「只发审过的代码」

CLI

node bin/publish-helper.mjs discover dsh-procedures
node bin/publish-helper.mjs check fubai-fenzhi/dsh-procedures
node bin/publish-helper.mjs workflow ./my-plugin

设置页 / 面板

  • 侧边栏底部 Publish 按钮 → 悬浮面板(自检并发布 / 撤回 / tag / 扫描)
  • Settings → 插件 → Publish Helper 同一个界面

检查项

id 含义
repo 仓库可达,返回 star 数
topic 仓库带 dsh-plugin topic(被发现渠道检索的前提)
bundle package.json 声明 dsh.bundle(可安装的前提)
npm 已发布到 npm
repository npm 包的 repository 回链该仓库(市场关联下载量的前提)
registry 已被 awesome-dsh-plugin 收录
catalog 已进入 format-1 市场索引(npm 元数据可能滞后,单独提示)

catalog 不计入整体 ok,因为它依赖注册表的每日构建。

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-publish-helper

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229