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) 适合处理含身份证、手机号等敏感数据的用户,规则由配置驱动。

패키지
@liuhange/dsh-data-masking
호환성
미검증
Harness peer 범위
^0.1.0
Cordis peer 범위
^0.1.0
버전
2.0.1
최근 업데이트
2026. 8. 22.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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