DEV Community

Cover image for I built a generic Privacy Shield for ChatGPT (and a Pro mode for Developers) πŸ›‘οΈ
Ittikorn Longtee
Ittikorn Longtee

Posted on • Originally published at Medium

I built a generic Privacy Shield for ChatGPT (and a Pro mode for Developers) πŸ›‘οΈ

The Copy-Paste Risk 😱

As developers, we are used to scrubbing our code before committing to GitHub. But what about when we paste into ChatGPT or Gemini?

One slip, and your client's email, phone number, or worseβ€”your AWS keysβ€”are in the chat history.

I built SafePaste AI to solve this. It acts as a local firewall between your clipboard and the AI input box.

How it works (The Tech) πŸ’»

The extension runs 100% locally. It hooks into the paste event and sanitizes text based on Regex patterns before it even touches the DOM.

Features Breakdown (Honest Pricing) 🏷️

I believe in sustainable software, so I adopted a Freemium model. Here is exactly what you get:

βœ… Free Version (For Everyone / PMs / Sales)

Great for general privacy and protecting PII (Personally Identifiable Information).

  • Auto-Mask Emails: Converts client@example.com β†’ [HIDDEN-EMAIL]
  • Auto-Mask Phone Numbers: Converts +1-555-0199 β†’ [HIDDEN-PHONE]

Why use this? To prevent accidental leaks of customer data during drafting emails or reports.

⚑ Pro Version (For Developers & Engineers)

This enables the heavy-duty regex engines specifically for code and credentials.

  • API Keys & Tokens: Detects OpenAI (sk-...), AWS (AKIA...), Google (AIza...), Slack, and Discord tokens.
  • Security Secrets: Blocks Private Keys (-----BEGIN PRIVATE KEY...), JWTs (ey...), and DB Passwords.
  • Crypto & Finance: Masks Wallet addresses (ETH/BTC) and Credit Card numbers.
  • Customization: Add your own "Custom Words" or regex patterns to block specific internal project names.

πŸ”’ Privacy First

  • Zero Analytics: I don't track what you paste.
  • Local Processing: All regex logic runs in your browser content.js. No data is sent to any server.

🀝 Multi-Platform Support

Works seamlessly on ChatGPT, Claude, Gemini, Microsoft Copilot, Deepseek, Poe, Mistral, Blackbox, Perplexity and Github Copilot.

Try it out πŸš€

Whether you need the basic PII shield (Free) or the full Developer Security Suite (Pro), give it a spin.

πŸ”— Get Chrome Extension SafePaste AI - Privacy Shield

Let me know if you have any feature requests! I'm actively working on adding more patterns.

#privacy #security #chatgpt #productivity

Top comments (1)

Collapse
 
ittikorn_longtee_bb2ba907 profile image
Ittikorn Longtee

Thanks for reading! πŸ›‘οΈ As a thank you to the community, I’m giving away 1 Month of Pro for FREE to the first 50 people who want to try SafePaste AI and give me some feedback.

🎁 Use code: FREE1MONTH
at checkout ⏳ Offer valid until February 28, 2026

I'll be here to answer any questions or help with setup!