liuhange789/data-asset-inspector--packages-data-asset-data-masking ↗★ 0
@liuhange/dsh-data-masking
Data masking plugin: sensitive field identification and graded masking (FULL/PARTIAL/GENERALIZE) 适合处理含身份证、手机号等敏感数据的用户,规则由配置驱动。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗@deepseek-ai/dsh-data-masking
Data masking plugin for DeepSeek Harness. Identifies and masks sensitive fields (ID card, phone, bank card, email).
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