Scan your whole stack
Are you using dsh-publish-helper?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.21.6
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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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 |
返回完整提交规范(字段、禁项、流程、撤回) |
插件激活时会向每个 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.patchdsh-plugin-submissions:每个插件一个目录,PR 提交,CI 自动跑 preflight,维护者合并即通过。
submissions/<pkg>/
package.json · README.md · LICENSE · SUBMISSION.md · 源码
.github/workflows/preflight.ymldocs/REVIEW.md侧边栏 Publish → 顶部「审核队列」:
dsh-plugin-submissions 的待审 PR:编号、标题、作者、commit、CI 状态、已审/未审~/.dsh/publish-helper-reviews.json,关掉面板也能再看一个包一次,点一下就完成「自检 + 发布」:
publish_npm 会拒绝;确需跳过要显式 forcetoken、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」:
publish_tag dir=E:\path\to\my-plugin bump=patch
CI(.github/workflows/release.yml)会:
package.json 版本一致test/*.test.mjsnpm publish --provenance --access public需要仓库 secret NPM_TOKEN(granular token,Read and write + Bypass 2FA)。
如果 npm 账号能开 2FA,可在包页面 → Settings → Trusted publishing 绑定仓库 + release.yml,
然后把发布步骤的 NODE_AUTH_TOKEN 去掉,改用 OIDC(零 token、零 OTP)。
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 或举报;所以发布后要尽快复查。
~/.dsh/publish-helper.json~/.dsh/publish-helper-log.json(时间、包名、版本、目录)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
| 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,因为它依赖注册表的每日构建。
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.