traces.solutions
§ maskgate

maskgate
a local gate for personal data before AI chats

maskgate is a browser extension for Chrome. It finds personal data and secrets in the text you are about to send to an AI chat, replaces them with placeholders such as [PERSON_1], and puts the original values back in its own side panel when you read the reply. The chat page gets the placeholders and never the originals.

The extension is one adapter of TRACE-RAC-PII-Gate, the reference implementation of Runtime Assurance Contracts for personal data. A message is sent only when every check passed; a check that could not run counts as "not checked", never as "passed".

How it works


  • You paste text into the chat field. Before the page sees it, maskgate replaces what it found with placeholders such as [PERSON_1], [EMAIL_1], [IBAN_1].
  • For names, organisations and addresses it asks you first: mask, or leave as it is with a reason.
  • When you press Send, the text is checked again. If something was not checked or not decided, the message is held and the side panel says why. A dialog you do not answer sends nothing.
  • The model replies with placeholders. The side panel shows the reply with the original values. The page never gets them.

Where it runs


  • chatgpt.com, claude.ai, gemini.google.com: site-specific support.
  • 31 other AI chat sites: generic mode, with no site-specific knowledge. Generic mode has not been checked on the live sites yet.
  • Any other https site: after you press "Enable maskgate on this site" in the side panel. Chrome then asks for permission for that one site.

Limits you should know


  • Text you type directly into the page is visible to the page before masking. Paste it, or write it in the side panel.
  • Detection is not complete: some names, organisation names and addresses pass unmasked, and nothing warns you.
  • Attached files are not read; they are shown as an unchecked part.
  • This is a research prototype in beta, not a security guarantee.

Your data and Limited Use


Everything runs on your device. maskgate makes no network requests: it has no server, no analytics, no telemetry and no remote code. The mapping between placeholders and original values is stored encrypted in the browser's local extension storage and is deleted after 30 days without use.

The extension uses the data it reads only to provide its single purpose: masking personal data and secrets in the text you send to an AI chat, and restoring the original values locally in its own side panel. It does not transfer that data to anyone, does not use it for advertising and does not allow people to read it. This complies with the Chrome Web Store User Data Policy, including the Limited Use requirements.

Read the full privacy policy →

Status and contact


Version 0.1.1, beta. The extension is distributed through the Chrome Web Store to a closed group of testers. Licence: Apache-2.0. Author and publisher: Serhii Zabolotnii.