sanitize_text
Scrub PII, secrets, and credentials from text, code, or logs locally. Replace sensitive data with safe placeholders like [EMAIL_1] to protect privacy before sending to any LLM.
Instructions
Locally scrubs PII, secrets, and credentials (like API keys, passwords, emails, phones, names) from code, logs, or text. Replaces them with safe placeholders (e.g., [EMAIL_1], [API_KEY_1]). Keep your data secure before passing it to any LLM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The raw text, code, or logs to sanitize. | |
| profile | No | The detection profile to use. Available: 'General' (Free), or PRO profiles: 'Dev' (Engineering/Code), 'Medical', 'Pharma', 'Legal', 'Compliance', 'CCPA', 'Finance', 'Bizops', 'Sales', 'WealthMgmt', 'Insurance', 'Accounting', 'HR', 'Security', 'Marketing', 'Support', 'RealEstate', 'Agents', 'Academic', 'Creative', 'Tech', 'Personal'. Defaults to 'General'. |