← DeepSeek Harness Plugins
DeepSeek Harness PluginManifest Valid

dsh-mask

PII masking middleware for DeepSeek Harness that replaces sensitive data with placeholders before reaching the model.

UI & ProductivityTerminal & TUIDeveloper ToolsBrowser & WebSecurity & PolicySkills & Workflows
14GitHub Stars0ForksUpdated2026-10-12

Install

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

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 detects and sanitizes personally identifiable information (PII)—including phone numbers, emails, ID cards, bank cards, keys, and IP addresses—at the agent/pre-step boundary. Sensitive data is converted into deterministic placeholders before messages are sent to models or written to session logs. The restore mapping is preserved strictly in memory or a controlled storage domain, and can be inspected or reversed host-side via commands without leaking plaintext.

Key Capabilities

  • Pre-step request masking for phone numbers, emails, Chinese ID cards, bank cards, keys, and optional IP addresses
  • Post-execution tool output masking across tools/post-execute events
  • Host-side restore table management isolated to memory and controlled dsh_mask storage domain
  • /mask slash command supporting status inspection, runtime toggles, and selective placeholder restoration
  • mask_test tool for dry-run testing snippet masking without plaintext exposure

Useful For

  • Preventing customer and developer PII from being sent to external LLM providers
  • Sanitizing sensitive credentials and phone numbers before writing interaction logs
  • Controlled local unmasking of sanitized model outputs during interactive sessions

Who It Fits

  • DeepSeek Harness developers working with sensitive corporate or customer data
  • Security and compliance engineers enforcing data loss prevention (DLP) policies
  • Teams operating under strict privacy frameworks in DeepSeek Harness profiles

Documented Limitations

  • Pure-host regex detection is limited to structured formats; person and address detection requires external NER which is not bundled and will fail at load if enabled
  • Phone and ID card detectors exclusively match mainland China formats
  • Display-layer automatic unmasking in the browser client is not bundled; unmasking requires manual /mask restore commands
  • Session event logging on harness versions like 0.1.7-rc.2 skips mask/* event emission due to unsupported envelope structures

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
0b3adb6 · 2026-10-16

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
14GitHub stars
Forks
0
Open issues
0
Last commit
2026-10-12
Last release
2026-10-10
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