Sanitize production logs, stack traces, contracts, and customer emails before pasting them into ChatGPT, Claude, or Gemini. Every regex check and Luhn checksum runs strictly inside your browser tab memory—no raw secrets ever leave your machine.
Deterministic pseudonymization active: repeated values share the same tag so AI assistants keep context relations intact without seeing real values.
Deterministic Pseudonymization, Luhn Validation & Security Standards
Pasting unhandled stack traces containing Authorization: Bearer headers, API keys, or customer records into external chat interfaces violates basic data minimization principles in NIST SP 800-122, the OWASP Logging Cheat Sheet, and EU GDPR (Reg. 2016/679).
2) Card Verification (Mod-10 Luhn): sum((d_i * 2 > 9 ? d_i * 2 - 9 : d_i * 2)) % 10 == 0
3) Local Round-Trip Hydration: paste an AI answer using [EMAIL_1] back into the input box
and click Re-hydrate to swap tags back cleanly without sending raw data online.
Pattern Coverage Breakdown
| Entity Type | Detection Rule / Verification | Token Format | Leak Impact Mitigated |
|---|---|---|---|
| Secrets & JWT | sk-*, ghp_*, AKIA*, Bearer, JWTs |
[SECRET_n] |
Unauthorized cloud & repo access |
| Cards & IBAN | 13–19 digit sequences + Mod-10 Luhn; IBAN format | [CARD_n] / [IBAN_n] |
PCI-DSS scope creep & bank leaks |
| National IDs | Spanish DNI/NIE checksum pattern & hyphenated SSNs | [ID_n] |
Direct PII disclosure |
| Network & Contact | Valid IPv4 octets, emails, intl. phone formats | [EMAIL_n] / [IP_n] |
Internal topology & phishing targets |
FAQ
Why use placeholders like [EMAIL_1] instead of blanking everything out?
When debugging auth logs or drafting email workflows, an LLM still needs to know whether two log lines belong to the same user or two different users. Consistent tokens keep logic intact while stripping real PII.
Can I verify that nothing leaves my browser?
Yes—open DevTools Network tab (F12) or turn off Wi-Fi before pasting sensitive snippets. Zero HTTP requests occur.
How does the tool avoid redacting ordinary ID numbers or timestamps as credit cards?
Every 13-to-19-digit candidate must pass the Luhn Mod-10 check digit formula before it is replaced.
Does regex cover 100% of unstructured free-text secrets?
No regex catches arbitrary company project names or handwritten secrets in prose—always skim the right-hand preview before copying.