dsh-push-privacy-guard

DSH 提交/推送前隐私检查:在 git commit、git push、gh repo sync 前只读扫描将要进入 git 的内容(本地路径、用户信息、API Key、私钥、连接串等),未授权内容不会上传;命中时通过 DSH 审批面板授权,授权项进入可管理的掩码白名单。支持原生 DSH Config(设置页热改开关)、首次推送全仓扫描、fail-closed,零 npm 运行时依赖。

插件介绍

DSH 提交/推送前隐私检查:在 git commit、git push、gh repo sync 前只读扫描将要进入 git 的内容(本地路径、用户信息、API Key、私钥、连接串等),未授权内容不会上传;命中时通过 DSH 审批面板授权,授权项进入可管理的掩码白名单。支持原生 DSH Config(设置页热改开关)、首次推送全仓扫描、fail-closed,零 npm 运行时依赖。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:lizhijie429/dsh-push-privacy-guard

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令
  • 可能需要提供凭据