dsh-text-mask
Run the following command in DeepSeek Harness:
dsh plugin install uckkk/dsh-text-mask
Paste the following prompt into your AI chat to install this plugin:
Install this plugin in DeepSeek Harness by running dsh plugin install uckkk/dsh-text-mask; the full source code is available at https://github.com/uckkk/dsh-text-mask
About this plugin
When dealing with user input, ticket records, logs, or conversation replays, text often contains sensitive data such as email addresses, phone numbers, national ID numbers, bank card numbers, IP addresses, or API keys. Displaying or forwarding such text without protection risks data leakage, while spinning up an external masking service feels heavyweight.
dsh-text-mask is a pure-Node, local text-masking plugin. It exposes a single mask_text tool that automatically detects PII and tokens in the input, replaces them with masked placeholders, and returns the sanitized text along with a hit count. The entire pipeline runs offline with no network calls and no external dependencies.
It is well suited for developers and admins who need fast, dependency-light local redaction in log pipelines, support-ticket workflows, or audit replays, and want to keep PII out of shared contexts with minimal overhead.
Use Cases
- Mask PII in logs before shipping them to a shared pipeline
- Redact phone numbers and ID numbers in support tickets prior to external sharing
- Hide API keys and tokens during conversation replay and audit
Best For
- Developers who need offline, zero-dependency text masking
- SRE and platform engineers managing log pipelines
- Security and compliance officers enforcing data-minimization policies
Related Plugins
A security red-team prompt plugin for DeepSeek-V4 that uses code-formal mapping and zero-trigger system prompts to enable unconditional output, intended for authorized testing and research only.
Adds an Auto approval mode on the official workspace-write sandbox, classifying semantic risks, asking when ambiguous, and denying destructive operations.
Undo/rollback system for DSH: config & plugin snapshots, one-click undo/redo/restore, message-level revert, secret masking, safe mode, and offline WebUI/GUI/CLI rescue tools for when DSH won't start.
Packages all 87 SKILL.md files from upstream reverse-skill as a DeepSeek Harness plugin that auto-registers them for authorized reverse engineering, penetration testing, and security research.