Step 4 Input: Mask Personal Data Before It Reaches AI

Open this step in the toolkit and follow along.

Open in the toolkit

Step 4 is where most incidents happen: someone pastes a full customer email, contract or payroll sheet into ChatGPT. The principle: only send AI the data it actually needs.

Tool 4.1: prompt filter and masking

  1. Paste the text you plan to send into the left box.
  2. The toolkit finds and highlights names with titles (Mr, Ms, Mrs, Dr), local and international phone numbers, emails and addresses (C3), plus ID numbers, bank accounts, card numbers, passwords and API keys (C4).
  3. C3 items are replaced with codes such as NAME_01 or PHONE_NUMBER_01. C4 items are removed entirely and replaced with [REMOVED ID NUMBER]. Copy the masked version into your AI tool.
  4. The lookup table keeps each code and its original value. Keep it inside the company, never send it to the AI, and use it to put real names back into the answer.
Filtering runs entirely in your browser. Prompt text is never saved, never synced to Google Sheets and never sent to Wunlock.

The filter works on patterns, so it can miss things. Always reread the masked text, especially names without a title.

C4 data never goes out, even masked

Passwords, API keys, ID numbers, bank accounts and health data do not go into external AI. If you need AI on this kind of data, use a model running in your own infrastructure after an impact assessment.

Tool 4.2: allowed tools matrix

Level Free AI Business AI plans API via Make, n8n Private infrastructure
C1 Yes Yes Yes Yes
C2 No Yes Yes Yes
C3 No With conditions With conditions Yes
C4 No No, except approved cases No After impact assessment

“With conditions” means personal data is masked first, a company account with a no-training commitment is used, and the data owner agrees. Click a cell in the toolkit to see the reasoning.

For larger organisations

Put an AI gateway in place with SSO, blocking of unapproved tools and central logging. Turn on DLP for prompts and uploads. Test against prompt injection before letting AI read external content.

In the AI Data Check guide