dsh-mask

PerryLink

0 0

DSH 的 PII 脱敏中间件:姓名、手机号、邮箱、身份证、银行卡、密钥、地址在送达模型前替换为占位符,展示层再还原;还原表只存内存与受控存储域、不明文落日志,并提供 /mask status、/mask restore 命令。

查看原仓库英文描述

PII masking middleware for DeepSeek Harness: anonymize names, phones, emails, ID cards, bank cards, keys, and addresses to placeholders before they reach the model, restore them at the display layer, keep the restore table only in memory and a controlled storage domain, never log plaintext, and expose /mask and the mask_test tool

anonymizationcordisdeepseekdeepseek-harnessdshdsh-pluginmaskpiiprivacysecurity

基础信息核对

自动核对
中文简介 自动核对 安装命令 自动核对 分类 自动核对

项目活跃度

数据覆盖 60% · 有限数据 · 数据截至 2026-08-19

较活跃
72/100
最近代码活动 35/35

16 次提交 · 最近推送 1 天前

Issue 响应 N/A

样本数据未知 · 暂不计分

PR 协作 N/A

样本数据未知 · 暂不计分

贡献持续性 3/10

1 位近 90 天活跃贡献者

版本交付 5/5

最近版本标签 2 天前

社区关注度 0/10

0 Stars · 0 Forks

该分数仅反映 GitHub 上可观察的维护与协作活动,不评价插件质量、安全性、兼容性或实际可用性。

查看评分方法

安装

dsh plugin --profile web add github:PerryLink/dsh-mask

首次安装 GitHub 来源的包时,可能需要在 profile 的 pnpm-workspace.yamlallowBuilds 中允许该包的构建脚本;也可用 github:PerryLink/dsh-mask#<commit-sha> 锁定版本。详见官方文档

还没有 DSH?两步开始 →

第一步:准备 Node.js 环境

DSH 依赖 Node.js(建议 20 LTS 或更新版本)。终端里运行 node -v 能显示版本号即已就绪。

已有 Node.js:直接进入第二步。

没有 Node.js:去 nodejs.org 下载 LTS 安装包(Windows/macOS 双击安装);或用包管理器:

brew install node
winget install OpenJS.NodeJS.LTS

第二步:启动 DSH

无需安装,直接运行:

npx @deepseek-ai/dsh web

浏览器打开 http://127.0.0.1:3080,在 Web UI 的插件市场里搜索 dsh-mask,或粘贴上面的安装命令。

在 GitHub 查看 分享到 X