dsh-text-mask
Manifest validText De-identification: email/phone/ID card/bank card/IP/secret key masking — protect privacy before sharing
dsh-text-mask · 文本脱敏
把文本中的敏感信息(邮箱、手机号、身份证号、银行卡号、IP、密钥/令牌)替换为掩码,返回脱敏文本与命中计数。纯 Node 实现,无网络、无外部服务。
提供的工具
| 工具 | 作用 |
|---|---|
mask_text | 脱敏文本中的 PII 与密钥 |
安装
dsh plugin add dsh-text-mask
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-text-mask"。
用法示例
把这段日志里的敏感信息脱敏后再给我
→ 调用 mask_text(text="...")
安装
dsh plugin add github:uckkk/dsh-text-mask
安装即在本机运行第三方代码,请自行审阅源码。
安装
dsh plugin add github:uckkk/dsh-text-mask
使用
安装后在会话中调用该插件注册的工具即可。
许可
MIT
安装即在本机运行第三方代码,请自行审阅源码。
Comments
Loading…
Similar plugins
by ciceroyang
DeepSeek Harness 发送前隐私检查:在你把手机号、身份证号、银行卡号或 API 密钥发给模型之前提醒你,并支持一键打码。
★ 0
MIT
JavaScript
Sep 17, 2026
dsh plugin --profile web add dsh-privacy-guardby ethanrise
DeepSeek Harness 本地隐私网关,在数据发送给 AI 前脱敏 CSV/XLSX 中的敏感字段。
★ 0
MIT
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-privacy-gatewayby re-ITRT
DeepSeek Harness 密钥保险箱插件:自动捕获与脱敏密钥/凭据,settings 界面管理,支持会话级与全局级存储。
★ 0
MIT
TypeScript
Aug 22, 2026
dsh plugin --profile web add dsh-keyringby uckkk
数据校验(邮箱/手机/Luhn/IBAN/URL)
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-validatorby ZeroClave
Privacy firewall for DeepSeek Harness: detect and redact sensitive text before sending.
★ 1
Apache-2.0
TypeScript
Oct 9, 2026
dsh plugin --profile web add @zeroclave/dsh-privacyby 534119219
DSH 便捷输入保险箱插件:输入栏「用量」与「发送」之间一键展开,自动收录会话中的密钥/网址/服务器/手机号等;点击填入或 Ctrl+点击直接发送;私密内容密码保护 + WebDAV 备份。
★ 5
JavaScript
Aug 26, 2026
dsh plugin --profile web add chicheng-vault