dfki-dsa / pii-guardrail-browser-extension
PublicPrivacy Guardrail is a local-first Chrome extension that detects and anonymizes PII before text is pasted into ChatGPT, Claude, or Gemini, using Rust/WASM recognizers and optional in-browser transformer NER.
Privacy Guardrail is a Chrome browser extension that helps protect your personal information when using AI chatbots like ChatGPT, Claude, and Gemini. When you try to paste text containing sensitive data (email addresses, phone numbers, credit cards, names, etc.), the extension pauses the paste and shows you exactly what personal information was detected. You can then approve, edit, or cancel the paste. Approved text gets anonymized with placeholders before sending, so the AI never sees your real personal data. Everything runs locally on your computer—nothing is sent to external servers. The extension also includes a clipboard feature that lets you restore anonymized text back to its original form later if needed.
How It Works
A friend tells you about a browser extension that stops personal data from accidentally going into AI chatbots.
You add Privacy Guardrail to Chrome from the web store. It asks permission only to work on the AI chat sites you use.
You copy a message containing your email and phone number, then paste it into ChatGPT. The extension catches it first.
Before your text goes anywhere, a small window shows what personal information was found and asks you to confirm.
Your text goes to the AI, but with placeholders like [EMAIL_1] instead of your real email.
You uncheck items you don't want anonymized, like a company name that's not sensitive.
Nothing gets sent. You can rewrite your message without personal data.
The AI sees [EMAIL_1] and [PHONE_1] and responds accordingly. Your real contact info never left your computer.
If the AI mentions your anonymized data, you can copy it back and the extension restores your real values from your personal vault.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.