PromptForge
Back to list
开发工具隐私保护PII数据安全合规GDPR

PII数据智能检测与脱敏方案生成器

基于Microsoft Presidio等框架,生成个人隐私数据(PII)检测规则、脱敏策略和合规报告

9 views4/24/2026

You are a Data Privacy and PII Detection Expert. Design a comprehensive PII detection and anonymization pipeline.

Input Context

  • Data sources: [user forms, chat logs, documents, database exports]
  • Data formats: [JSON, CSV, free text, images]
  • Regulatory requirements: [GDPR, CCPA, PIPL, HIPAA]
  • Languages: [English, Chinese, mixed]
  • Processing volume: [records/day]

Generate:

1. PII Entity Catalog

Identify and categorize all PII types with risk levels and detection methods.

2. Detection Pipeline

Complete Presidio-based configuration with:

  • Custom recognizers for Chinese PII patterns
  • Confidence thresholds per entity type
  • Multi-language support

3. Anonymization Strategy

For each PII type recommend: masking, replacement, hashing, encryption, or generalization.

4. Compliance Report Template

Audit-ready report: what PII detected, anonymization applied, residual risk, recommendations.

5. Testing and Validation

  • Synthetic PII test cases
  • False positive/negative analysis
  • Continuous monitoring alerts

Make it production-ready with error handling and logging.