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

ext-publish

Latest version: v0.1.2

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: crx8
0 Stars
0 Forks
4 Versions
TypeScript Repo language

Scan summary

ext-publish was last scanned on 29 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.2.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.2 LATEST 29 Nov 2026 No rules fired
0.1.1 29 Nov 2026 No rules fired
0.1.0 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 0.1.2

Findings

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

README

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

ext-publish

一个极简、零运行时依赖的浏览器扩展多商店统一发布 CLI。\ 只负责把你已打包好的 ZIP 发布到三大商店(不耦合项目构建逻辑):

  • Google Chrome Web Store(Official v1.1 API:OAuth2 换 Token → 上传 → 提交审核)
  • Microsoft Edge Add-ons(Official v1 REST API:ApiKey 上传 + 状态轮询 → 提交审核 + 状态轮询)
  • Mozilla Firefox (AMO)(自动修补 MV3 兼容属性 → web-ext sign)

特性

  • 零运行时依赖:基于 Node.js 18+ 原生 fetch 与 parseArgs,轻巧易共享。
  • 多开发者账号友好:默认读取当前目录 .env,支持 --env <path> 随时切换不同账号配置,也支持 CI 环境变量直接注入。
  • 发前自动体检:自动校验 ZIP 顶层 manifest.json、版本号、default_locale 对应的 _locales/<locale>/messages.json(避免 Edge 静默校验失败),以及提醒多余的 .md / .DS_Store。
  • Firefox MV3 自动补丁:临时解压后自动移除 Chrome 专用的 update_url、补全 background.scripts、修正 strict_min_version >= 140.0,不改动原始 ZIP。

安装与使用

方式一:无需安装,直接 npx 运行
npx github:crx8-com/ext-publish all --zip /tmp/my-ext-v1.2.0.zip --env ./.env
方式二:克隆并本地安装全局命令
git clone https://github.com/crx8-com/ext-publish.git
cd ext-publish
npm install
npm run build
npm link

安装完成后,在任意扩展项目目录下都可以直接调用 ext-publish。


快速开始

1. 准备 .env 凭据文件

在你的扩展项目目录下(或专门存放多账号配置的目录)复制 .env.example 为 .env 并填入对应凭据(切勿把 .env 提交到 Git):

# Google Chrome Web Store
CHROME_EXTENSION_ID=your_chrome_extension_id
CHROME_CLIENT_ID=your_google_oauth_client_id
CHROME_CLIENT_SECRET=your_google_oauth_client_secret
CHROME_REFRESH_TOKEN=your_google_oauth_refresh_token

# Microsoft Edge Add-ons
EDGE_PRODUCT_ID=your_edge_product_id
EDGE_CLIENT_ID=your_edge_client_id
EDGE_API_KEY=your_edge_api_key

# Mozilla Firefox (AMO)
AMO_JWT_ISSUER=your_amo_jwt_issuer
AMO_JWT_SECRET=your_amo_jwt_secret
2. 发布命令
# 仅检查 ZIP 合法性与三端凭据(不发起实际 API 请求)
ext-publish check --zip /tmp/my-ext-v1.2.0.zip

# 发布到单个商店
ext-publish chrome --zip /tmp/my-ext-v1.2.0.zip
ext-publish edge --zip /tmp/my-ext-v1.2.0.zip -n "修复已知问题"
ext-publish firefox --zip /tmp/my-ext-v1.2.0.zip -n "修复已知问题"

# 一次同步发布到 Chrome + Edge + Firefox
ext-publish all --zip /tmp/my-ext-v1.2.0.zip -n "v1.2.0 功能更新"

# 多账号场景:通过 --env 指定不同开发者账号的 .env
ext-publish all --zip /tmp/my-ext-v1.2.0.zip --env ~/.envs/account-b.env

# 仅上传为草稿,暂不提交审核(Chrome / Edge 生效)
ext-publish chrome --zip /tmp/my-ext-v1.2.0.zip --upload-only
ext-publish edge --zip /tmp/my-ext-v1.2.0.zip --upload-only

全部参数说明

参数 说明
-z, --zip <path> 必填,已打包好的扩展 ZIP 路径
-e, --env <path> 指定 .env 文件路径(默认读取当前目录 ./.env,外部已注入的环境变量优先级更高)
-n, --notes <text> 版本更新说明(用于 Edge 审核说明与 Firefox release notes)
--upload-only 仅上传草稿包,不提交审核(Chrome / Edge)
--check 仅校验 ZIP 与凭据,不调用远程接口
--chrome-id <id> 命令行覆盖 CHROME_EXTENSION_ID
--edge-id <id> 命令行覆盖 EDGE_PRODUCT_ID
--firefox-channel <ch> Firefox 渠道:listed(默认)或 unlisted
--no-firefox-patch 跳过 Firefox MV3 manifest.json 自动兼容补丁

GitHub Actions 集成示例

name: Publish Extension
on:
  push:
    tags: ["v*"]

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 20
      - name: Build ZIP
        run: bash scripts/package.sh
      - name: Publish to Chrome, Edge & Firefox
        env:
          CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
          CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
          CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
          CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
          EDGE_PRODUCT_ID: ${{ secrets.EDGE_PRODUCT_ID }}
          EDGE_CLIENT_ID: ${{ secrets.EDGE_CLIENT_ID }}
          EDGE_API_KEY: ${{ secrets.EDGE_API_KEY }}
          AMO_JWT_ISSUER: ${{ secrets.AMO_JWT_ISSUER }}
          AMO_JWT_SECRET: ${{ secrets.AMO_JWT_SECRET }}
        run: npx github:crx8-com/ext-publish all --zip /tmp/extension.zip -n "Release ${{ github.ref_name }}"

License

MIT

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

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229