Zero-Trust Architecture (ZTDS)

How PrivacyScrubber Removes PII from AI Prompts

The AI data privacy tool that lets you redact PII and anonymize data in ChatGPT, Claude, and Gemini prompts — with zero trust architecture, zero bytes sent to servers, and zero data residue. See the 4-step local pipeline across all product planes.

privacyscrubber.com — Local Threat Model
How AI Prompts Leak Sensitive Data and How PrivacyScrubber Blocks It
SOUND ON
Airplane Mode Ready· Volatile RAM Only
Threat Modeling & Outcome Architecture

Intercepting Data at the Local Browser Boundary

When employees paste raw client emails, medical records, or source code into cloud LLMs, the data is logged into remote model providers. PrivacyScrubber acts as an air-gapped cryptographic proxy executing inside the user's browser, replacing PII with secure tokens before network transmission.

1
0ms Network Latency & Instant 13ms ScrubbingCompare Speed →

Traditional cloud DLPs add 800–1,500ms roundtrip delays. PrivacyScrubber's client-side regex and NER engine runs in local browser memory at 8.4 MB/s, eliminating API bottleneck delays completely.

2
0-Day Vendor Approval (Zero-Subprocessor Architecture)CISO Guide →

Because 0 bytes of confidential data are transmitted to PrivacyScrubber servers, no third-party data processor relationship is created, eliminating procurement bottlenecks for Data Processing Agreements (DPAs) and Business Associate Agreements (BAAs).

3
Zero Recurring Data Debt & Volatile RAM DestructionTop 20 PII →

Session token maps exist strictly in browser tab memory. Closing the tab or reloading permanently overwrites memory buffers (Uint8Array.fill(0)), leaving zero forensic trails for breaches.

Full Ecosystem Coverage

The 4 Zero-Trust Planes: Real Capabilities & Workflows

PrivacyScrubber operates across four distinct technical planes, delivering unified data sanitization whether you are working in a web browser, inside an AI chat, writing code in an IDE, or managing enterprise fleet governance.

Plane 1 · Web Platform

Zero-Trust Web Workspace

A standalone, zero-installation browser workspace running entirely in local memory. Input and output containers operate within a closed Shadow DOM (#inputTextHost), preventing malicious extensions or third-party scripts from key-sniffing raw text.

Excel Spreadsheet Scrub (SheetJS): Cell-by-cell PII replacement in .xlsx/.csv while preserving mathematical formulas, column headers, and sheet schema for ChatGPT Advanced Data Analysis.
Offline PDF & OCR Engine (Tesseract.js): Multi-threaded WebAssembly OCR extracting text from scanned PDF contracts and invoices without sending pixels over the internet.
1-Click Symmetric Recovery (Reveal): Paste the AI's generated response back to unmask tokens into original names and figures with zero server contact.
Volatile RAM Overwriting: Immediately wipes parsing buffers via Uint8Array.fill(0) upon sanitization completion.
Plane 2 · Chrome MV3 Shield

Browser AI Shield & In-Page Injectors

A lightweight Google Manifest V3 extension that embeds native protection controls directly inside ChatGPT, Claude, and Gemini interfaces without requiring copy-pasting to separate tabs.

In-Page Selection Popover: Highlight any text across the web to summon a floating shield button (.ps-floating-shield) for instant in-place sanitization and inspection.
Native Prompt Shield & Live Counter: Integrates a square shield button into LLM prompt bars that pulses red upon detecting PII and displays an active entity count badge.
1-Click False-Positive Unmasking: Click any detected entity chip in the extension popup to immediately restore individual words back to plaintext without re-typing.
Right-Click Context Menu Switching: Right-click the extension icon in any chat tab to switch instantly between General, Legal, Healthcare (HIPAA), Finance, and HR profiles.
Plane 3 · Model Context Protocol

Local MCP Prompt Security Gateway

An official Model Context Protocol server (@privacyscrubber/mcp-server) running locally over stdio JSON-RPC. It connects natively to Cursor IDE, Windsurf, Cline, and Claude Desktop.

Pre-Flight Agent Interception: Automatically sanitizes code context, environment variables, database strings, and customer data before AI agent execution.
Hardcoded Secret & JWT Stripping: Intercepts API tokens, Bearer headers, AWS keys, and private SSH keys locally in memory with zero syntax breakage.
100% Stdio Local Pipeline: Operates entirely over standard input/output pipes with 0 network sockets and 0 external telemetry pings.
Rule Parity with Web & Extension: Shares identical regex rulesets and custom detection expressions across all developer workstations.
Plane 4 · Fleet Governance

Cryptographic Fleet & Attestation

Enterprise governance tools that synchronize security baselines across departments without a central database, delivering signed compliance receipts for SOC 2, HIPAA, and GDPR auditors.

Zero-Server Session Handoff: Encrypts tab session maps using Argon2id and XChaCha20-Poly1305. Colleagues unmask prompts using shared out-of-band passphrases with zero server involvement.
CISO Cryptographic Audit Receipts: Generates tamper-evident SHA-256 PDF receipts documenting entity breakdowns, timestamps, and triggered compliance frameworks locally.
MDM Policy & Blueprint Locking: Export immutable rule registries and shadow AI API blocklists to 10,000+ browser endpoints via MDM policy configuration.
Air-Gapped Source Code License: Complete on-premise deployment behind corporate VPNs with flat departmental pricing ($99/mo flat or custom Enterprise).
Step-by-Step Flow

The 4-Step Zero-Trust Pipeline

How sensitive data moves from input to AI and back without ever leaving your computer.

  1. 1. Source Input

    Data enters via direct text paste, document upload (.docx, .pdf, .xlsx, .csv), browser text selection popover, or typing natively inside ChatGPT/Claude via our Chrome Extension.

    Supports: Text, DOCX, PDF, XLSX, MCP
  2. 2. In-Memory Scrub

    The local Javascript client detects PII, financial metrics, and credentials offline. Sensitive entities are securely swapped with cryptographic tokens like [NAME_1] or [PATIENT_1].

    Speed: ~13ms · 0 Server Requests
  3. 3. Safe AI Dispatch

    You submit the sanitized prompt (containing only safe tokens) to ChatGPT, Claude, Gemini, or local models. Neural networks analyze the problem without logging real corporate PII.

    Result: Zero PII in Remote Model Logs
  4. 4. Local Reveal

    The AI's generated response is pasted into Reveal Originals. PrivacyScrubber re-hydrates tokens with original data locally using the ephemeral session map stored in browser RAM.

    1-Click Symmetric Recovery in RAM
Redaction Paradigms

Two Distinct Modes for Two Distinct Workflows

PrivacyScrubber separates generative AI prompt sanitization from legal document redaction. Select the exact output format your task requires.

AI Tokens Mode

LLMs, Prompts & Teams
Reversible in RAM

Replaces sensitive entities with structured, context-preserving surrogate badges like [NAME_1], [EMAIL_1], and [PHONE_1].

Input Contract:
"Dr. John Watson transferred patient Sarah Connor to Stanford Clinic."
Sanitized AI Prompt:
"Dr. [NAME_1] transferred patient [NAME_2] to [CLINIC_1]."
  • Context Preserved: AI models understand syntactic roles and actor relationships without knowing real identities.
  • 1-Click Symmetric Restore: Paste AI output back into Reveal to re-hydrate real data in browser RAM.
  • Team Handoff Ready: Encrypt session maps with Argon2id + XChaCha20 for colleague collaboration.
Best for: ChatGPT, Claude, Gemini promptsDefault Mode

Classic Blackout Mode

Legal, Court & FOIA
Permanent Flattening

Applies solid black rasterized bars directly over sensitive pixel coordinates, obliterating underlying text layers, vector fonts, and hidden document metadata.

Input Court Exhibit:
"Settlement payout of $2,450,000 to John Doe via Escrow #94012."
Flattened Export Output:
"Settlement payout of ██████████ to ████████ via Escrow ██████."
  • Zero Underlying Text: Destroys vector characters to prevent copy-paste leaks via Cmd+A or pdftotext.
  • Court & FOIA Compliant: Satisfies Federal Rules of Civil Procedure 5.2 and HIPAA Safe Harbor redaction guidelines.
  • Metadata Stripped: Purges author names, modification timestamps, and revision tags from PDF headers.
Best for: Court filings, public disclosures, legal discoveryExport Mode
Real Workflows

Interactive Execution Simulator

Three professionals. Three tiers. One zero-trust engine. Test how each plan protects real workflows.

Sarah — Marketing Manager

40-person SaaS startup · Uses ChatGPT daily for client emails and campaign copy

Free Tier
100% Local SandboxStep 1 of 4: Paste Raw Prompt
Hi David, following up on our call. Please send the revised proposal to david.chen@acmecorp.com by Friday. The Q3 budget is $45,000. Talk soon, Sarah Miller.
Ephemeral EngineIdle

Need to sanitize complex spreadsheets (.xlsx), PDFs, or custom corporate codes?

Batch document parsing, offline OCR, spreadsheet table masking, and unlimited custom regex rules are unlocked under PRO.

Unlock PRO — $15/mo

Marcus — Compliance Analyst

Mid-size financial services firm · Reviews NDAs, vendor spreadsheets, and deals

$15 / Mo (or $110 Lifetime)
WebAssembly OCR & SheetJS ArrayStep 1 of 4: Multi-File Input
nda_acme_corp.docxPending Scan
q3_financial_model.xlsxSpreadsheet Scan
vendor_invoice.pdf (Scanned Image)Requires OCR
Local WASM WorkersReady

Need to enforce organization-wide policies across 10+ employees?

Encrypted session handoff (Argon2id + XChaCha20-Poly1305), MDM Blueprint locking, and CISO SHA-256 PDF audit receipts are included in TEAMS.

Explore TEAMS — $99/mo

Diana — VP of Information Security

500-person fintech · Board mandate: "Zero raw PII in any external AI tool"

$99/Month Flat
Argon2id / Poly1305 SecurityStep 1 of 4: Design Policy
Active Profiles: HIPAA, GDPR, Finance
Shadow AI Blocklists: 14 Core Blocked APIs
Custom Redaction Rules: 14 Active Expressions
Zero-Server GovernanceConfigured

Require full air-gapped on-premise source code deployment?

Enterprise Source License provides complete on-premise execution behind internal VPNs for defense and banking sectors.

View Enterprise

Ready to Remove PII from Your AI Prompts?

Start protecting confidential data in ChatGPT, Claude, and Gemini. Free tier available — no sign-up required.

Architecture & Governance

Frequently Asked Questions

Comprehensive technical answers on how PrivacyScrubber sanitizes data across all 4 planes.

Does PrivacyScrubber send my prompt or file data to any server?
No. Zero bytes of your text, spreadsheet, code, or document data are ever transmitted to any external server. The entire PII detection and tokenization engine runs inside your browser's local JavaScript/Wasm runtime in volatile RAM. You can verify this by opening Chrome DevTools → Network tab and clicking "Protect PII" — exactly 0 outbound network requests will occur.
What happens to the session map when I close or reload the browser tab?
The session map is stored exclusively in volatile browser tab RAM. The moment you close the tab, reload the page, or navigate away, the entire mapping — including all original PII values — is permanently destroyed. It is never written to localStorage, cookies, IndexedDB, or disk storage.
What is the difference between AI Tokens mode and Blackout mode?
AI Tokens mode replaces sensitive entities with structured, context-preserving badges (e.g. [NAME_1], [EMAIL_1]). This allows AI models (ChatGPT, Claude, Gemini) to comprehend entity roles and logical flow while preventing personal data ingestion, and enables 1-click original recovery via Reveal. Blackout mode is designed for court filings, legal discovery, and FOIA disclosures: it renders permanent, solid black raster bars over pixel coordinates and completely purges the underlying vector text layer to ensure zero copy-paste leakage.
Why do standard PDF blackout tools leak data, and how does PrivacyScrubber prevent it?
Most conventional PDF viewers, annotation apps, and superficial masking tools merely draw black vector rectangles on top of the visual layer. Underneath those black boxes, the raw OCR text stream, character coordinates, and hidden XML metadata remain 100% intact — allowing anyone to copy the redacted text via Cmd+A → Copy, or extract it with command-line tools like pdftotext. PrivacyScrubber executes true Secure Raster Flattening: each page is rendered onto an off-screen graphics canvas in local RAM, PII coordinates are overwritten at the pixel level (either with solid blackout bars or contextual AI Tokens), and a brand-new PDF is synthesized from clean raster bitmaps. The original text layer is physically destroyed and cannot be recovered.
Do I need a HIPAA BAA or GDPR DPA with PrivacyScrubber?
No. Because PrivacyScrubber never receives, processes, or stores your data on its servers, PrivacyScrubber is not acting as a HIPAA Business Associate or a GDPR Data Processor. Organizations typically determine that standard Business Associate Agreements (BAAs) and Data Processing Agreements (DPAs) are not applicable, eliminating 3–6 month procurement security audit delays.
What is the CISO Procurement Memo and how do enterprise teams use it?
The CISO Procurement Memo is a standardized, copy-ready compliance document for enterprise IT, security architects, and procurement officers. It provides General Counsel, DPOs, and InfoSec committees with formal statutory evidence (GDPR Art. 4(8)/28, HIPAA 45 CFR § 164.502(e), CCPA § 1798.140) proving that because PrivacyScrubber runs 100% in local client RAM with 0 bytes transmitted to any server, third-party DPA/BAA contracts and lengthy vendor risk questionnaires (SIG/CAIQ) are legally non-applicable, enabling fast-track 0-day software approval.
What is the difference between the Free and PRO tiers?
The Free tier supports text paste and single .txt/.docx file upload with 5 core PII categories (names, emails, phones, IDs, general). The PRO plan ($15/mo or $110 Lifetime) adds 22+ industry-specific detection profiles (Healthcare PHI, Financial IBAN/Tax, Legal NDAs), cell-by-cell Excel spreadsheet scrub (.xlsx/.csv), offline PDF/OCR scanning, batch document processing, and unlimited Custom Regex rules.
How does the Excel Spreadsheet Scrub work without corrupting table formulas?
Using an in-memory SheetJS Wasm engine, PrivacyScrubber parses workbook cells individually in local RAM. It identifies sensitive names, emails, and financial metrics within table cells and replaces them with standardized tokens while preserving sheet headers, column boundaries, and mathematical formulas for accurate analysis in ChatGPT Advanced Data Analysis.
How does the Chrome Extension In-Page Selection Popover work?
When you highlight any text on any webpage or web application, the extension spawns a small floating shield icon (.ps-floating-shield). Clicking it immediately tokenizes the selected text in-place and opens a clean popover showing all identified entity chips with 1-click false-positive unmasking.
Can I use PrivacyScrubber as a PII MCP Server for Cursor or Claude Desktop?
Yes. PrivacyScrubber offers an official local Model Context Protocol server package @privacyscrubber/mcp-server that integrates directly with Cursor IDE, Windsurf, Cline, and Claude Desktop. It acts as an offline pre-flight prompt security gateway, intercepting API keys, connection strings, and PII locally in RAM before they leave your workstation.
How does TEAMS encrypted session handoff work without a server database?
Under the TEAMS subscription ($99/mo flat), an administrator encrypts their active tab session map using Argon2id key derivation and XChaCha20-Poly1305 authenticated encryption. This generates an encrypted link or file payload. Colleagues decrypt the token map locally on their machines using the shared passphrase — no database or cloud service ever touches your keys.
What rights does a Team Administrator have compared to Managed Team Members in TEAMS?
The purchaser acts as the Team Administrator with exclusive authority to configure organization-wide custom Regex rules, corporate token taxonomy (e.g. [PATIENT_ID]), and default compliance profiles in the Teams Dashboard. When the Admin exports a cryptographically signed Blueprint with Lock Rules enabled, Managed Team Members receive a locked, read-only configuration across their Web App and Chrome Extension (badged as 🔒 Enterprise), preventing employees from altering or bypassing corporate DLP policies.
How does closed Shadow DOM sandboxing protect my data from malicious scripts?
PrivacyScrubber encloses both the editor input (#inputText) and highlighted token output within isolated, closed Shadow DOM roots. This makes the raw, unredacted text completely inaccessible to any third-party scripts, browser extensions, or key-sniffing scripts running in your main document pool, creating a hardened frontend sandbox.
How does PrivacyScrubber prevent data residue in system RAM (V8 memory wiping)?
To prevent PII or documents from lingering in device memory, the processing engine actively overwrites temporary parsing buffers (used for DOCX, PDF, and spreadsheet extraction) at the byte level using Uint8Array.fill(0) in local memory immediately after use, ensuring zero sensitive residue remains in RAM before garbage collection.
What is the difference between Token Labels and Custom Regex Rules?
Custom Regex Rules are a pattern discovery engine used to identify proprietary identifiers (such as internal ticket numbers, case IDs, or custom account formats). In contrast, Token Labels rename standard placeholders (for example, mapping NAME → PATIENT or ID → CASE_NUMBER) so that the LLM receives domain-accurate semantic context in its prompt without custom regex code.
Can corporate accounts pay via manual invoice or wire transfer (SWIFT/SEPA)?
Yes. If your procurement department requires manual invoicing, purchase orders (PO), or bank wire transfers (SWIFT/SEPA), our team issues formal commercial invoices with VAT/tax reverse-charge support. Contact support@privacyscrubber.com to set up manual billing.
How does license key custody, non-transferability, and emergency revocation work without user tracking?
Because PrivacyScrubber maintains a Zero-Trust Data Sanitization (ZTDS) architecture with zero server databases and zero phone-home user tracking, license custody is sovereign to the purchaser. All license tiers are strictly non-transferable. If a developer accidentally commits a key to a public repository, or an employee misplaces their credentials, the billing owner can immediately request emergency revocation via support@privacyscrubber.com. We append the SHA-256 hash of the compromised key to our global Key Revocation List (KRL), instantly invalidating it across all client instances within 24 hours while reissuing a secure replacement.
What are the exact operational boundaries between Personal PRO, Team Workspace, and Developer SDK licenses?
Each license tier is scoped to specific operational boundaries:
  • PRO ($15/mo or $110 Lifetime): Single-user personal license valid on up to 3 personal devices (Web, Chrome, IDE MCP). Strictly non-transferable.
  • TEAMS ($99/mo flat): Organization-wide internal workspace covering unlimited internal staff with Master Key Isolation. Staff access the tool via encrypted Magic Links or managed Chrome policies without exposing master credentials.
  • DEVELOPER SDK ($299/mo): Headless execution across unlimited internal backend nodes, microservices, ETL pipelines, and internal RAG vector databases. Embedding into customer-facing commercial SaaS for third-party resale requires an OEM/Enterprise contract.
Is the PrivacyScrubber MCP Server completely air-gapped and zero-network?
Yes. The @privacyscrubber/mcp-server package executes strictly in local machine memory over standard stdio JSON-RPC transport. It makes zero outbound network requests, transmits zero telemetry, and performs all PII sanitization and token mapping exclusively in your local volatile RAM, satisfying stringent IDE security policies across Cursor, Windsurf, and Claude Desktop.
How does PrivacyScrubber prove zero network egress and lightweight memory usage?
Every software build undergoes an automated 13-suite security and performance QA pipeline in continuous integration (CI). Automated headless network sniffers verify that during PII sanitization, exactly 0 HTTP, WebSocket, or background telemetry packets leave the browser. In-memory heap profiling enforces an ultra-lightweight ceiling under 6MB RAM (5.68 MB JS Heap) and sub-75ms streaming DOM mutation scans across 5,000 live nodes, ensuring zero laptop heating and zero CPU throttle. Review the full audit in our Technical Security Specifications.