Introduction

In the DeepSeek Harness (DSH) ecosystem, plugins take on the responsibility of extending specific capabilities. Privacy protection is critical when handling logs, sharing execution results, or cleaning data. The dsh-text-mask plugin provides this capability without relying on any external services, masking sensitive information directly on the local machine.

Plugin Overview

  • Name: dsh-text-mask
  • Maintainer: uckkk
  • Core Function: Replaces sensitive information in text with masks. Supported sensitive data types include email addresses, mobile phone numbers, ID card numbers, bank card numbers, IP addresses, and keys/tokens.
  • Technical Features: Pure Node.js implementation, no network requests, and no external service dependencies.

Installation and Enablement

Use the official command to install the plugin:

dsh plugin add dsh-text-mask

After installation, the plugin is added to the dsh.profile.bundles configuration in the package.json file of the current profile.

Usage

The plugin registers the mask_text tool. Call the tool and pass the text to process:

mask_text(text="...")

Notes

Installing the plugin runs third-party code on your local machine. Please review the source code before installation to ensure it meets your security and privacy requirements.