PII Detection
Detect personally identifiable information before it enters logs, commits, or responses.
When to use
Before committing code, storing data, or sending responses that might contain PII (emails, phone numbers, SSNs, API keys, passwords).
Steps
- Quick PII check — call
mcp__claude-flow__aidefence_has_piiwith the text for a boolean result - Detailed scan — call
mcp__claude-flow__transfer_detect-piifor categorized PII findings - Full analysis — call
mcp__claude-flow__aidefence_analyzefor context-aware PII detection - If PII found, flag the specific locations and suggest redaction
PII categories detected
- Email addresses, phone numbers
- Social security numbers, tax IDs
- Credit card numbers
- API keys, tokens, passwords
- Physical addresses
- Names linked to sensitive data