dsh-data-masking
Đã xác minh@liuhange/dsh-data-masking · v3.0.4 · MIT
Data masking plugin: sensitive field identification and graded masking (FULL/PARTIAL/GENERALIZE) Also known as @deepseek-ai/dsh-data-masking.
Cài đặt
dsh plugin add @liuhange/dsh-data-masking Xác nhận layer đã áp bằng dsh --profile default --dump-config — xem hướng dẫn cài plugin.
Mã nguồn
Phát hành lên npm mà không có repository công khai. Hãy kiểm tra nội dung package trước khi cài.
Thẻ
Readme
@liuhange/dsh-data-masking
Data masking plugin for DeepSeek Harness. Identifies and masks sensitive fields (ID card, phone, bank card, email).
安装
dsh plugin --profile web add @liuhange/dsh-data-masking
Tool: mask_sensitive_data
- Parameters:
filePath(required),strategy(optional: FULL | PARTIAL | GENERALIZE, default PARTIAL) - Output: Masking report with field counts and output file path
- Output file:
{originalName}_masked.{ext}
Business Rules
All sensitive field patterns and masking levels are read from config/business-rules.json. No business logic is hardcoded.
Known Limitations and Deferred Work
- Regex patterns are compiled at runtime from config strings
- Large file streaming masking not yet implemented