Technical Security & Architecture
PrivacyScrubber enforces data confidentiality not through legal policy promises, but through mathematical impossibility and local execution boundaries. All scanning, deterministic ZTDS™ pattern matching, and cryptographic tokenization execute strictly inside on-device memory with zero cloud prompt ingestion across all 7 product planes: Web, Extension, MCP, SDK, TEAMS, WordPress, and Outlook.
ZTDS-CERT-2026-PRIVACYSCRUBBER-WEB-D0EA62Cryptographically signed Ed25519 conformance seal • IETF Internet-Draft draft-sibiryakov-ztds-protocol-02
Zero-Trust Data Sanitization (ZTDS) Lifecycle
How data flows exclusively within the local host security perimeter.

Raw inputs are evaluated locally in memory through our Contextual Entity Disambiguation Engine across 30 specialized industry compliance profiles.
Safe placeholders (e.g. [NAME_1]) are deterministically assigned while preserving strict code, JSON, and table formatting integrity.
When the AI responds with sanitized tokens, 1-Click Reveal restores original values in sub-millisecond local memory execution, with zero disk trace.
Zero-Database Credential Architecture — Why No Login Exists for Community Use
Because PrivacyScrubber runs sanitization locally in device memory with zero scrubbing-content servers, there is physically no user account database or central prompt store. Users never need accounts, passwords, or corporate emails for the Community Tier, which remains permanently free locally on your device. For enterprise evaluations requiring 30 specialized industry profiles, batch processing, or team governance, corporate 7-day TEAMS pilots operate on strict RS256 asymmetric tokens with automated fail-closed expiration.
Post-Quantum HNDL Immunity & CNSA 2.0 Crypto-Agility
Following the December 2, 2026 NSA, CISA, and ONCD post-quantum advisory (Executive Order 14412), PrivacyScrubber pairs transport-layer TLS 1.3 security with pre-transit local-RAM elimination and quantum-resistant offline verification:
- Pre-Transit HNDL Elimination: Raw PII, PHI, and credentials never cross a network socket (
0.00 Bcleartext wire egress), neutralizing Harvest Now, Decrypt Later capture on AI prompts regardless of classical RSA/ECC key lifetimes. - CNSA 2.0 Compliance Receipts: Local CISO audit receipts rely on canonical SHA-256 digests with zero third-party telemetry.
- Hybrid Offline Token Agility (ZTDS-LIC-v2): Air-gapped Developer SDK, MCP Server, and Enterprise runtimes enforce fail-closed dual-signature verification combining
Ed25519 + ML-DSA-87(NIST FIPS 204 / CNSA 2.0) alongsideZTDS-LIC-v1compatibility.
Execution Isolation Across All 7 Product Planes
Detailed technical runtime boundaries for every deployment modality.
Web Workspace (In-Browser SPA)
Web Worker Sandbox Executes via an isolated HTML5 Web Worker thread detached from the main UI thread. Employs the ZTDS™ offline OCR and local PDF engine for local OCR. Network activity during scrubbing is physically blocked by Content Security Policy directives (connect-src 'none' for worker endpoints).
Chrome Extension (Manifest V3)
Target Tab Isolated WorldInjected strictly into active target tabs (ChatGPT, Claude, Gemini) within an Isolated World context. The in-page shield HUD (Alt+Shift+X) intercepts the text area DOM node locally. Zero background page syncing or remote logging is executed.
PII MCP Server (@privacyscrubber/mcp-server)
Local Stdio / IPC Stream Compliant with Model Context Protocol (Anthropic/Cursor). Communicates over local standard input/output (stdio) or loopback interface (127.0.0.1). Does not initialize HTTP listener ports, external sockets, or telemetry beacons.
Developer SDK (@privacyscrubber/sdk)
Deterministic Node/WASMIsomorphic npm package with zero runtime telemetry dependencies. Functions execute synchronously on input strings. License validation is achieved via offline asymmetric cryptographic signature checks (Ed25519) without phone-home verification.
TEAMS Governance Cockpit
Protocol V5 AEAD Centralized fleet rule packs, CISO Policy Hard Lock, and peer-to-peer encrypted session handoff (.pssession / RFC 3986 #fragment) executed strictly inside local browser memory with zero central sync server.
WordPress ZTDS™ Form Guard
Visitor WebCryptoIntercepts Contact Form 7, WPForms, Gravity Forms, Elementor, and Fluent Forms inside the visitor's browser via native WebCrypto before HTTP POST, sealing an AES-256-GCM vault only WP-Admin can unlock.
Microsoft Outlook Pre-Send Guard (M365 Add-in)
OnMessageSend Local Hook Executes locally inside Classic Windows, New Outlook, Mac, and Outlook on the Web via Office.js OnMessageSend Smart Alerts. Inspects external recipients, message bodies, tables, and text/CSV attachments in local memory before send with 0 bytes reaching vendor mail relays.
Memory Lifecycle & Dual-Plane Cryptographic Primitives
Zero-persistence memory destruction and Protocol V5 authenticated session handoff.
Ephemeral Tab Token Dictionary Lifecycle
The mapping dictionary ([NAME_1] → "John Doe") is instantiated as a tab-isolated in-memory JavaScript Map object (with ephemeral tab-scoped backup for soft-reload resilience). It is strictly never committed to:
- Persistent browser storage or disk files
- Plaintext
localStorageorWebSQL - HTTP Cookies, Service Worker caches, or remote APIs
Upon tab closing or clicking "Reset Session", all references and tab-scoped memory allocations are immediately severed and zeroed.
Protocol V5 Dual-Plane Session Handoff
When TEAMS Session Handoff exports an encrypted dictionary via RFC 3986 URL #fragment (< 1,850 chars, 0 HTTP egress) or .pssession container, Protocol V5 (0x05 framing) enforces:
- Payload Compression: In-memory binary stream compression prior to AEAD sealing.
- Symmetric AEAD Cipher:XChaCha20-Poly1305 (256-bit key, 192-bit nonce, 128-bit MAC tag).
- Memory-Hard KDF:Argon2id (RFC 9106 memory-hard MODERATE profile; WebCrypto PBKDF2-SHA256 fallback).
- Recipient Licensing: External recipients (outside counsel, clients, auditors) decrypt locally in 0.4s for free.
Cryptographic Taxonomy: Client-Side ZTDS™ vs. Homomorphic Encryption (FHE) & Legacy PGP
Why lattice-based encrypted compute (FHE) and PGP fail on commercial Frontier Cloud LLMs — and how Dual-Plane ZTDS solves it in < 1ms.
Why Homomorphic Encryption (FHE) Cannot Power Frontier LLMs
Fully Homomorphic Encryption (FHE — e.g., lattice-based encrypted compute platforms) allows mathematical evaluation over ciphertexts, but incurs a 10,000× to 1,000,000× computational overhead (10s–120s+ per query) and requires custom homomorphic circuits on the server. Commercial frontier LLMs (OpenAI GPT-4.1/o3, Anthropic Claude Sonnet 4.5, Google Gemini 2.5 Pro) execute standard floating-point Transformer weights and do not accept FHE ciphertexts.
Why Legacy PGP & E2EE Break AI Reasoning
End-to-end encryption (OpenPGP, S/MIME, Signal) collapses the entire document into a single opaque ASCII-armored ciphertext block (-----BEGIN PGP MESSAGE-----). If pasted into ChatGPT or Claude, the LLM is completely blind to syntax, legal clauses, clinical timelines, and code structure, rendering AI reasoning impossible until decrypted.
Sub-Millisecond On-Device · Zero Server Cooperation
ZTDS™ requires zero cryptographic cooperation from OpenAI, Anthropic, or Google. By splitting the Sanitized AI Context Plane ([NAME_1], [IBAN_1]) from the Client Lookup Dictionary Plane, standard uncooperative Cloud LLMs reason at 100% native token speeds while direct PII never leaves on-device memory (< 1ms execution).
Swipe table horizontally to compare all 5 architectures →
| Architectural Dimension | Client-Side ZTDS™ (PrivacyScrubber) | Homomorphic Encryption (FHE) | Confidential Computing (Server TEEs) | Legacy PGP / E2EE | Cloud DLP / Token Vaults |
|---|---|---|---|---|---|
| Works with Commercial Cloud LLMs (ChatGPT, Claude, Gemini) | Yes (100% Native Reasoning) | No (Requires Custom FHE Server Circuits) | Only Self-Hosted Enclave Models | No (Opaque Ciphertext Blinds AI) | Yes (Via Cloud Proxy MITM) |
| End-to-End Processing Latency | < 1 ms (On-Device CPU) | 10,000 ms – 120,000+ ms (10⁴×–10⁶× Penalty) | 150 ms – 800 ms (Remote Enclave RTT) | 5 ms (Manual CLI / Keyring) | 600 ms – 2,500 ms (Cloud API RTT) |
| Raw PII Network Egress | 0 Bytes (Stays On-Device) | Encrypted Lattice Ciphertext Egress | Full Raw PII Egress to Cloud Enclave | Armored Ciphertext Egress | Full Raw PII Egress to DLP Vendor |
| Collaborative Team Handoff | Protocol V5 #hash SafeLink (Recipients Decrypt Free in 0.4s) | Requires Shared FHE Evaluation Keys | Server IAM Session Access | Manual Public Keyring & Re-Typing | Paid Per-Seat Cloud DB Lookup |
| Statutory Compliance Posture | GDPR Art. 32, HIPAA & SOC 2 Safe Harbor (No Prompt Subprocessors) | Cryptographic Research / Niche Compute | Requires Cloud Processor BAA / DPA | Storage/Transit Only (No AI Use) | Sub-Processor DPA & Breach Liability |
The 3-Step "Airplane Mode" Verification Playbook
Independent technical audit protocol for security engineers and SOC analysts.
Navigate to PrivacyScrubber in Chrome, Firefox, or Safari.
Toggle your device to Airplane Mode or physically disconnect your Ethernet cable.
Paste confidential text. Notice immediate sanitization with DevTools Network panel recording 0 requests.
Automated QA Suite & Empirical Security Benchmarks
Continuous Integration (CI) test assertions executed on every software build.
| Automated CI Test Suite | Target Threat Vector | Verified Security Assertion | CI Status |
|---|---|---|---|
| E2E UI & XSS Guard | DOM-based XSS & Reverse Scrub Payload Injection | HTML tags sanitized to textContent; zero JavaScript execution. | 100% Passed |
| Extension Shadow DOM Isolation | Host-Page DOM Traversal & Script Hijacking | Closed Shadow Root (mode: "closed"); host scripts cannot access extension UI. | 100% Passed |
| Tab Isolation & Memory Lifetime | Cross-Tab Data Contamination & Storage Persistence | 0 token leakage between parallel tabs; memory cleared on tab close. | 100% Passed |
| Extension Weak Vectors Guard | Prototype Pollution & Cross-Frame Message Spoofing | Rejects e.source !== window; postMessage prototype pollution mitigated. | 100% Passed |
| Cross-Platform Crypto Handoff | Cryptographic Desynchronization | 100% AES-GCM / Argon2id bit-level interop across Web, Extension & MCP. | 100% Passed |
| MCP Stdio JSON-RPC 2.0 Protocol | Network Port Exposure in AI IDEs (Cursor/Claude) | Air-gapped stdio transport only; zero listening network ports opened. | 100% Passed |
Independent CLI & Socket Verification
Reproduce Zero Network & Cloud Leakage cryptographic proof on your own air-gapped infrastructure.
Monkey-patches node:net, node:tls, and node:http. Simulates 30 specialized profiles across 12,000+ characters to verify 0 socket openings and 0 bytes uploaded.
npm run verify:zero-egressRun the zero-trust sanitization engine directly in any terminal via npx. Verifies local string tokenization and sub-millisecond execution latency.
npx @privacyscrubber/sdk demoAcademic Attestations & Protocol Standards
Formal mathematical publications, preprint archives, and IETF protocol drafts.
Formal IETF specification for zero-trust client-side data sanitization and air-gapped agent boundaries.
Open data preprint on client-side ephemeral in-memory tokenization and empirical benchmarks.
Comparative analysis of cloud DLP proxies vs. deterministic client-side tokenizers.
European open-archive research paper on GDPR Article 25/32 Zero Network & Cloud Leakage compliance.
Empirical evaluation of client-side regex vs transformer models for real-time redaction.
Statutory framework mapping ZTDS to HIPAA Safe Harbor and EU AI Act obligations.
Deploy Zero-Trust Sanitization in Your Stack
Integrate in-process Node.js/WASM sanitization into your backend ETL and RAG pipelines, or deploy company-wide via Chrome Extension and Teams workspace governance.
Technical Security & Cryptographic FAQs
Direct architectural answers for CISOs, cryptographers, and DPOs.
How does Client-Side ZTDS™ compare to Fully Homomorphic Encryption (FHE) for generative AI?
[NAME_1]) so AI models answer at full speed. Why does legacy PGP or end-to-end encryption fail for collaborative AI workflows?
Argon2id and XChaCha20-Poly1305 inside a URL #fragment), so the AI still answers and colleagues reveal real values locally in 0.4 seconds. 