← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-mask

PII masking middleware for DeepSeek Harness that redacts sensitive personal data before model inference and manages host-side reversible mapping.

UI & ProductivityTerminal & TUIDeveloper ToolsBrowser & WebSecurity & PolicySkills & Workflows
13GitHub Stars0ForksUpdated2026-09-24

Install

$ dsh plugin --profile web add "github:PerryLink/dsh-mask#main"

Plugin Overview & Capabilities

AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.

source-grounded
dsh-mask is a privacy and security middleware plugin for DeepSeek Harness. It automatically detects and replaces sensitive personal identifiable information (PII) such as phone numbers, emails, ID cards, bank cards, API keys, and IP addresses with placeholders at the model boundary (pre-step message hook and post-execute tool results). Plaintext data is kept exclusively in host memory and controlled domain storage without being written to the session log, while explicit unmasking is supported via commands and dedicated tools.

Key Capabilities

  • Automatic pre-step prompt and tool-result regex masking for phones, emails, ID cards, bank cards, and secret keys
  • Host-side reversible restore mapping maintained in memory and controlled dsh_mask storage domain
  • Registration of the /mask command for status checks, runtime toggling, and placeholder restoration
  • Provision of the mask_test diagnostic tool to test PII detection and masking on text snippets
  • Sanitization preventing plaintext PII from leaking into session logs and telemetry

Useful For

  • Anonymizing enterprise and personal data before sending prompts to external or local LLMs
  • Complying with privacy standards by preventing PII from persisting in DSH session logs
  • Sanitizing sensitive tool execution outputs before feeding them back into conversational context
  • Testing and debugging PII redaction rules safely using the mask_test tool

Who It Fits

  • Security and privacy engineers configuring compliant DeepSeek Harness profiles
  • Developers working with sensitive customer data, credentials, and financial information in DSH
  • Organizations requiring data anonymization boundaries on LLM requests

Documented Limitations

  • Regex detection only; person name and physical address recognition requiring NER is not bundled and fails loud if configured
  • Phone and ID-card regex detectors match mainland China formats exclusively
  • Automatic UI display-layer unmasking requires a separate browser client extension not included in this pure-host package
  • Session log audit event appending (mask/*) is skipped on DSH 0.1.7-rc.2 due to core session envelope constraints

DSH Compatibility

Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.

Not tested yetNo runtime compatibility tests have been published yet.

Security Signals

Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.

Dependency Counts

package.json declares 1 runtime, 16 development, 8 peer, and 0 optional dependencies.

info
Dsh Bundle Declared

package.json declares DSH bundle metadata.

info
License Declared

GitHub reports the repository license as Apache-2.0.

info
Package Manifest Available

A root package.json was captured and can be inspected by the registry.

info
Source Available

Public GitHub source metadata is available for this registry snapshot.

info

Source & Registry Notes

Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.

Source repository
PerryLink/dsh-mask
Registry source
GitHub · dsh-plugin topic
Registry classification
Plugin
Source checked
7b22b8b · 2026-10-04

This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.

Repository Activity

GitHub stars
13GitHub stars
Forks
0
Open issues
0
Last commit
2026-09-24
Last release
2026-09-25
For maintainers

Maintaining this plugin?

This listing is generated from public repository data. If you maintain this project, you can review the information and share this listing with your users if you find it useful.

Add to README
Listed on DSHPlugin.app