Skip to content

elonmust26/dataguard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛡 dataguard

Protect your data in AI chats.

Warns you before you paste a credit card, password, API key or medical data into ChatGPT, Claude, Gemini, Copilot or any AI chatbot. Everything runs locally — nothing is sent anywhere.

version license manifest


The problem

AI chatbots are incredibly useful — but they're also a new vector for accidental data leaks. People routinely paste confidential information without thinking: a credit card to "check if this receipt is correct", an API key to "help debug this config", a medical history to "explain my diagnosis". Once sent, that data is processed by a third-party server you don't control.

dataguard sits between your keyboard and the send button. It scans what you're about to submit and alerts you before you share something sensitive.

What it detects

Category Severity
Credit / debit card numbers (Luhn-validated) 🔴 Critical
IBAN / bank account numbers 🔴 Critical
API keys & secret tokens (sk-, Bearer, AKIA...) 🔴 Critical
US Social Security Numbers 🔴 Critical
French Numéro de sécurité sociale 🔴 Critical
Password written in plain text 🟠 High
Medical / health data 🟠 High
Personal address 🟡 Medium

How it works

  1. You type a message in ChatGPT, Claude, Gemini, Copilot, Perplexity or Poe.
  2. When you press Enter or click Send, dataguard scans the text.
  3. If it finds something sensitive, it shows a warning with the risk level.
  4. You choose: Edit the message (go back) or Send anyway (your call).

No false block: you always have the final word.

Privacy

Everything runs 100% locally in your browser. dataguard never reads your messages after you send them, never connects to any server, and never stores anything. The extension permissions cover only the AI chatbot domains, nothing else.

Install (developer mode)

  1. Download this repo (Code → Download ZIP) and unzip it.
  2. Open chrome://extensions in Chrome.
  3. Turn on Developer mode.
  4. Click Load unpacked and select the dataguard folder.

Works on Chrome, Edge, Brave and any Chromium browser.

Supported chatbots

ChatGPT · Claude · Gemini · Microsoft Copilot · Perplexity · Poe

More can be added — open an issue with the domain.

License

MIT — built by @ElonCmedia

About

Warns you before you paste passwords, credit cards or medical data into ChatGPT, Claude or Gemini. 100% local, no tracking.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors