dshbase

Plugin directory / Developer / dsh-text-mask

dsh-text-mask

Verified · install-tested on dsh uckkk

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-19Last push
Cross-platformPlatform

What it does

文本脱敏:邮箱/手机号/身份证/银行卡/IP/密钥掩码,分享前保护隐私

✅
Our take
Works — verified, early-stage project

文本脱敏:邮箱/手机号/身份证/银行卡/IP/密钥掩码,分享前保护隐私 It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

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

安装即在本机运行第三方代码,请自行审阅源码。

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-text-mask for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:uckkk/dsh-text-mask

Headless (CLI) profile:

dsh plugin --profile headless add github:uckkk/dsh-text-mask

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →