Software:PrivacyScrubber

From HandWiki
PrivacyScrubber
Original author(s)Ilya Sibiryakov
Developer(s)Brand Me Web
Operating systemCross-platform (Browser extension, CLI)
TypeData loss prevention software, Computer security

PrivacyScrubber is a client-side data sanitization tool and security gateway designed to redact Personally Identifiable Information (PII) and Protected Health Information (PHI) before transmission to cloud-based Large Language Models (LLMs). It employs a Zero-Trust Data Sanitization (ZTDS) architecture, which aims to process sensitive data within the local computing environment.[1]

Architecture and Technology

PrivacyScrubber operates entirely offline. The core tokenization engine intercepts sensitive entities (such as names, Social Security numbers, and credit card PANs) and replaces them with synthetic tokens (e.g., [NAME_1]).

The state mapping linking the original data to the tokens is encrypted in the browser's volatile memory using the XChaCha20-Poly1305 authenticated encryption algorithm, with keys derived via Argon2id.[2] Temporary extraction buffers are overwritten at the byte level prior to memory garbage collection.

Integration

PrivacyScrubber functions across multiple environments:

  • Web Application & Browser Extension: Integrates into the Document Object Model (DOM) to sanitize text inputs for web-based AI interfaces.
  • Model Context Protocol (MCP): Functions as a local MCP server, creating a local context window for autonomous AI developer tools to manage the exposure of environment variables and source code.[3]

Compliance Framework

The tool is designed to address several regulatory frameworks by shifting the sanitization workload to the endpoint:

References

  1. ↑ Sibiryakov, I. (2026). "Zero-Trust Data Sanitization: A Client-Side Architecture for Secure LLM Integration". Zenodo (Zenodo). doi:10.5281/zenodo.21796958. https://doi.org/10.5281/zenodo.21796958. 
  2. ↑ Biryukov, A.; Dinu, D.; Khovratovich, D. (2016). "Argon2: the memory-hard function for password hashing". IEEE. pp. 292–302. 
  3. ↑ "Model Context Protocol (MCP) Specification". Anthropic. 2024. https://modelcontextprotocol.io.