LangChain & LlamaIndex PII Redaction Middleware for TypeScript & Node.js
ENTERPRISE EDITION
LangChain & LlamaIndex PII Redaction Middleware for TypeScript & Node.js: Implement zero-trust PII redaction middleware for LangChain and LlamaIndex agents. Preserve multi-turn state and token consistency across reasoning loops in TypeScript.
Ilya SibiryakovPrivacy Architect
Published: · Updated: · 3 min read
100% Local Processing ✈ Airplane Mode Verified⊘ No Server Logs
AI Summary / Key Takeaways
Verified Zero-Trust Logic
"PrivacyScrubber provides the essential de-identification layer for Agents professionals using generative AI. By sanitizing sensitive identifiers locally, we ensure absolute data sovereignty without sacrificing the power of LLM reasoning."
Paste real Agents data into ChatGPT — only scrubbed tokens reach the model. Names, IDs, and emails stay on your machine.
Works offline: disconnect the network mid-session and it keeps running. Zero cloud dependency.
Your AI gets full context. Your clients' real identities never leave your browser tab.
Enterprise-Grade AI Privacy
Add custom redaction rules and priority support with PRO.
Zero-Trust Data Protection: Stop leaking sensitive client data to public LLMs and protect your organizational privacy. PrivacyScrubber ensures you can use GenAI safely by neutralizing risks 100% offline in your browser.
What AI Engineers and Agent Builders Send to AI — and What They Should Be Sending Instead
This secure content is an original property of PrivacyScrubber™ (https://privacyscrubber.com). Unauthorized mirroring is strictly prohibited. Security-Check-ID: DQ023ZR2T
Protecting workflows for LangChain & LlamaIndex PII Redaction Middleware for TypeScript & Node.js is a major technical objective for modern organizations. Utilizing platforms like LangChain, LlamaIndex, AutoGPT, CrewAI, and custom RAG infrastructure without input filtering creates immediate liabilities regarding proprietary records. Our agents AI privacy guides outlines critical defense strategies to secure the agents boundary, resolving autonomous agents that accumulate PII across memory, tool calls, and vector store indexes — creating persistent privacy liabilities impossible to manually audit before any external API receives the prompt.
Every prompt delivered to a third-party AI provider carrying agents records or confidential corporate information constitutes a potential non-disclosure violation. Standard API safety switches often fail to capture contextual PII, and their logging policies are not always SOC 2 audited for your specific use case. For AI engineers, LLM application developers, and enterprise AI architects, the exposure vector is the raw input stream. Implement zero-trust PII redaction middleware for LangChain and LlamaIndex agents. Preserve multi-turn state and token consistency across reasoning loops in TypeScript.
Privacy Insight: Autonomous AI agents executing multi-step reasoning cycles accumulate and propagate user PII across intermediate tool calls. createLangChainTransform maintains deterministic token mappings across multi-turn chains without leaking original values to external LLM providers.
Why AI Safety and Security Teams Flag Unmasked AI Prompts
Compliance in the agents space is mandatory: GDPR data minimization principles, NIST AI RMF (Risk Management Framework), and emerging agentic AI governance guidance. Yet, technical safeguards often lag behind shadow AI usage. Managing this exposure relies on the principles in sanitizing pii in llm observability traces to prevent corporate records from becoming training data. You must sanitize inputs before cloud transit. Securing the input stream directly in browser memory forms the baseline of compliance without exposing records to cloud-based systems.
PrivacyScrubber provides Zero-Trust Data Sanitization (ZTDS) in the browser using either our web workspace or the PrivacyScrubber Chrome Extension.
How to Use AI on Real Agents Data — Without Sending a Single Real Name
PrivacyScrubber provides Zero-Trust Data Sanitization (ZTDS) in the browser using either our web workspace or the PrivacyScrubber Chrome Extension. The local engine uses Named Entity Recognition (NER) to swap sensitive corporate entities for deterministic tokens (e.g., [NAME_1]) before transmission. This matches the compliance model of scaling agent architectures, keeping raw business data offline. The Chrome Extension embeds a protection toggle inside ChatGPT, Claude, and Gemini to automate the redact-and-restore process. By executing Named Entity Recognition entirely in local memory, PrivacyScrubber preserves the usefulness of LangChain, LlamaIndex, AutoGPT, CrewAI, and custom RAG infrastructure for production workflows without introducing external risk.
We support this architecture with the Airplane Mode Standard. Turn off your internet connection, run the redaction, and verify that no packets leave your device. This satisfies the safety rules in agentic data loss prevention for corporate data protection.
Deploy Zero-Trust DLP for Developer Fleets
Protecting code logs or system stack traces from leaking to public models? With PrivacyScrubber TEAMS, security teams can distribute custom regex rules globally via Chrome MDM policies. Protect proprietary API keys, database URLs, and UUIDs across your entire developer fleet without centralizing user telemetry.
Deploying local data controls is critical when routing prompts to external platforms like LangChain, LlamaIndex, AutoGPT, CrewAI, and custom RAG infrastructure. To safeguard sensitive context, PrivacyScrubber isolates individual records by tokenizing personal and proprietary data points before cloud transmission. For this specific workflow, the browser-based Named Entity Recognition (NER) classifier targets identifying markers, achieving an average processing speed of 9ms. This allows team members to run complex queries while satisfying strict internal data sovereignty and privacy requirements.
Verification Protocol
Scan prompt text for explicit identifiers including names, emails, and credentials.
Execute client-side regex rules to sanitize variables before network handoff.
Verify that the tab-isolated session map remains volatile in local memory.
Run a network audit via Chrome DevTools to confirm zero external telemetry.
Parser Specifications
Encryption Algorithm
XChaCha20-Poly1305 (Argon2id)
Detection Method
Context-Aware Regex + NER (99.2% Accuracy)
Data Egress Rule
Zero-Server Egress (Airplane Mode Verifiable)
Classification Standard
Standard Privacy Guard
Associated Threat Level
Medium (Metadata Leak)
The Multi-Turn Agent Privacy Vulnerability
Autonomous AI agents built with LangChain, LlamaIndex, AutoGen, and CrewAI do not execute single-turn queries. They run recursive, multi-step loops: fetching database records, reading file trees, parsing emails, and invoking third-party APIs. In these architectures, user PII and secrets cascade across dozens of intermediate LLM reasoning steps, exponentially multiplying the surface area for data exposure and violating Secure AI Agent Memory Protocols.
The Solution: Deterministic In-Memory Middleware
The PrivacyScrubber AI Agents Hub provides native middleware for LangChain and LlamaIndex through createLangChainTransform and PrivacyScrubberEngine. It sanitizes inputs before model invocation and reconstructs outputs in local RAM.
LangChain (LCEL) TypeScript Integrationnpm i @privacyscrubber/sdk @langchain/core
import { createLangChainTransform, PrivacyScrubberEngine } from '@privacyscrubber/sdk';
import { ChatOpenAI } from '@langchain/openai';
import { PromptTemplate } from '@langchain/core/prompts';
import { StringOutputParser } from '@langchain/core/output_parsers';
import { RunnableSequence } from '@langchain/core/runnables';
// 1. Initialize persistent agent state engine
const engine = new PrivacyScrubberEngine({
profile: 'Legal',
detectSecrets: true
});
// 2. Create LangChain transforms
const { preprocess, postprocess } = createLangChainTransform({
engine,
profile: 'Legal'
});
// 3. Build secure LCEL chain
const prompt = PromptTemplate.fromTemplate('Analyze contract for client: {client_info}');
const model = new ChatOpenAI({ modelName: 'gpt-4o' });
const parser = new StringOutputParser();
// 4. Ingest raw data -> Preprocess (Sanitize) -> Prompt -> LLM -> Parser -> Postprocess (Restore)
const chain = RunnableSequence.from([
{
client_info: (input) => preprocess(input.client_info).scrubbedText,
_tokenMap: (input) => preprocess(input.client_info).tokenMap
},
prompt,
model,
parser,
(output, config) => postprocess(output, config._tokenMap).restoredText
]);
const result = await chain.invoke({
client_info: 'Alice Smith (alice@corp.com, SSN: 000-12-3456)'
});
console.log('Final Restored Agent Output:', result);
Multi-Turn State Consistency & False-Positive Handling
Unlike stateless regex scrubbers that re-index tokens randomly on each turn, PrivacyScrubberEngine maintains deterministic token identity across long-running agent threads:
Deterministic Mapping: If "Alice Smith" is assigned [NAME_1] on Step 1, all intermediate tool calls on Steps 2 through 15 will consistently use [NAME_1].
False-Positive Dynamic Flagging: If an agent tool returns a public domain term or product identifier that was mistakenly sanitized, calling engine.markFalsePositive('[CUSTOM_1]') unmasks that token across the entire active session.
Memory Reset: Upon task completion, engine.resetSession() flushes all in-memory token maps, leaving zero residual data in RAM.
Watch our zero-trust engine neutralize sensitive identifiers 100% locally. No data ever leaves your device.
Local processing 0 Server logs
ZTDS_ENGINE_V1.5.0
PROMPT INPUT > Review application access logs for user Richard Branson (richard@branson.co.uk), phone number: 555-0111.
PROMPT INPUT > Review application access logs for user [NAME_1] ([EMAIL_1]), phone number: [PHONE_1].
Agents Detection Profile
Our zero-trust engine is pre-hardened for Agents workflows, automatically identifying and tokenizing the following parameters 100% locally.
USER_ID
Active Protection
AGENT_MEMORY
Active Protection
RAG_CHUNK
Active Protection
CONTEXT_PII
Active Protection
SESSION_TOKEN
Active Protection
Zero-Trust Architecture
PrivacyScrubber operates entirely on your device. Unlike other platforms, our local PII masking engine never transmits your sensitive prompts or documents to external servers. All detection and restoration happens in your computer's local RAM.
No Backend Connection: Zero API calls, zero tracking, zero logs.
Temporary Memory: Your data exists only for the duration of your tab's life.
Verification Ready: Built for professionals who need to audit their security layer with agentic data loss prevention.
Hardware-Level Verification
We encourage you to audit our zero-trust claims directly in your browser using the Airplane Mode Test:
1
Open your browser's Network Monitor before you start scrubbing.
2
Switch to Airplane Mode (physical or simulated) and protect your text.
3
Verify that no data packets ever leave your machine.
PrivacyScrubber operates entirely client-side. Whether using the copy-paste dashboard, the browser extension, or the MCP Server, your sensitive records stay on your local device. Follow these instructions to safely use ChatGPT & Enterprise LLMs:
Zero-Trust Prompt Sanitization & AI Model InterceptionPrivacyScrubber ZTDS Protocol
Act as an executive research consultant. Analyze the following sanitized enterprise text for [CLIENT_1] and [ORG_1]:
1. Extract key business intelligence findings, strategic risks, and operational takeaways.
2. Draft 3 prioritized executive recommendations.
3. Format findings in clean, structured bullet points.
CRITICAL COMPLIANCE INSTRUCTION (PrivacyScrubber ZTDS Standard): Maintain all cryptographic token placeholders ([NAME_1], [EMAIL_1], [ID_1]) exactly intact in your response for client-side local rehydration via PrivacyScrubber.
Step 3: 1-Click Reverse Rehydration (No Manual Decoding)When ChatGPT & Enterprise LLMs outputs tokens like [NAME_1], paste the AI response back into PrivacyScrubber Reveal to restore original sensitive data in 1 click in local RAM.
The Manual Redaction Trap: Why DIY search-and-replace failsManual prompt editing misses 1 out of every 12 nested identifiers in logs, error traces, and tables, causing catastrophic compliance breaches. PrivacyScrubber deterministically sanitizes 25+ entity types in <2ms entirely in browser RAM before prompt submission.
Statutory Defense: Zero-Trust Data Sanitization (ZTDS) Architecture StandardRAM-only session tokenization guarantees zero data at rest and zero data in transit. Mappings exist only during active browser execution and are purged on tab close.
Agents Adoption Use Cases
Principal Cloud Security ArchitectSECRET PROTECTION
Zero-Trust Verified
Prevents accidental leaks of AWS keys, JWTs, database connection strings, and private GitHub tokens into public LLM training datasets.
VP of Infrastructure & DevOpsDEVOPS & SRE
Zero-Trust Verified
Sanitizes stack traces, internal IP ranges, and Kubernetes cluster configs in developer terminal clipboards prior to debugging with AI assistants.
Head of Application Security (AppSec)APP SECURITY
Zero-Trust Verified
Enforces automated local redaction of production API keys and customer payloads in developer browser extensions.
Lead Software ArchitectSYSTEM ARCHITECTURE
Zero-Trust Verified
Masks proprietary algorithm logic and confidential code comments before querying generative code assistants.
Scrub it before it reaches the AI — right from your toolbar
The free PrivacyScrubber Chrome Extension replaces names, emails, and IDs with safe tokens directly inside ChatGPT, Claude, and Gemini — before you hit send. Nothing leaves your browser.
Zero-Trust Data Sanitization (ZTDS) — Verified Architecture
Independently auditable facts for Agents compliance teams
Data transmission
0 bytes sent to any server
Processing location
100% browser RAM (volatile memory)
Session map persistence
Destroyed on tab close — never written to disk
Key derivation
Argon2id (memory-hard, server-independent)
Encryption cipher
XChaCha20-Poly1305 (authenticated encryption)
Offline verification
Airplane Mode Standard — full function without network
BAA / DPA required
No — zero PHI/PII reaches PrivacyScrubber servers
Audit method
Chrome DevTools → Network tab — zero outbound requests
How to audit: Open PrivacyScrubber, enable Airplane Mode, paste any agents text, click Protect PII. Open Chrome DevTools → Network tab. Zero outbound requests will confirm 100% local execution. The session token map ([NAME_1], [EMAIL_1]…) lives only in browser tab memory and is permanently destroyed when the tab is closed.
COMPLIANCE FAQ
Frequently Asked Questions
Common questions about deploying zero-trust AI for Agents Teams.
How does createLangChainTransform integrate into LangChain Expression Language (LCEL)?
createLangChainTransform returns a pair of preprocessing and postprocessing transform functions. In LCEL, you pipe the preprocess transform before the ChatModel runnable to sanitize prompt variables in RAM, and pipe the postprocess transform after the OutputParser to restore the original values from the volatile sessionMap.
How does PrivacyScrubber maintain token consistency across multi-turn agent turns?
Using the stateful PrivacyScrubberEngine class, the engine preserves a deterministic sessionMap across all reasoning iterations. If a customer name is assigned [NAME_1] during the initial prompt, every subsequent tool execution, sub-agent delegation, and memory update references [NAME_1] consistently without drift.
Can I isolate false positives during autonomous agent tool executions?
Yes. The PrivacyScrubberEngine exports an engine.markFalsePositive(token) method. If a tool call or prompt template introduces a benign identifier that was incorrectly masked, the agent or developer can flag the token, automatically restoring it in the active session without re-running the full chain.
Does this middleware support LlamaIndex.TS and CrewAI?
Yes. PrivacyScrubber SDK is framework-agnostic. In LlamaIndex.TS, you can attach sanitize() to your NodeParser and QueryEngine transformations. In CrewAI, you can hook the engine into task input pre-processors and output handlers.
Does protecting data with PrivacyScrubber before AI processing satisfy GDPR data minimization principles?
Yes. Processing pseudonymized data for a secondary purpose (AI analysis or drafting) aligns with GDPR data minimization principles because no personally identifiable data is transmitted to the AI provider. The session map that maps tokens back to real values never leaves your browser.
What specific PII does PrivacyScrubber detect for agents workflows?
The engine detects names, email addresses, phone numbers (US and international formats), Social Security Numbers, EINs, credit card numbers, and custom identifiers. PRO users can add custom regex rules to match agents-specific patterns such as proprietary account IDs, MRNs, or internal project codes.
Can I reverse the redaction if I use PrivacyScrubber to mask agents data?
Yes. If you copy the AI's response and paste it back into PrivacyScrubber, it automatically maps the tokens (like [NAME_1] or [ID_1]) back to the original values using the ephemeral session map stored in your browser's memory.
Can PrivacyScrubber be used 100% offline without network requests?
Yes. All processing runs in your browser's local JavaScript engine, with no external server calls. Once the page loads, you can enable Airplane Mode and verify in Chrome DevTools (Network tab) that zero outbound requests occur. All cryptographic operations (including client-side pseudonymization and reverse-revealing) utilize hardware-accelerated XChaCha20-Poly1305 encryption and Argon2id key derivation running entirely inside browser RAM, ensuring your agents data stays 100% on your device.
How can I verify that PrivacyScrubber sends zero data to servers?
Use the 5-step Airplane Mode audit: (1) Open PrivacyScrubber in your browser. (2) Disconnect your network connection (enable Airplane Mode). (3) Paste a text sample containing names, emails, and phone numbers. (4) Click "Protect PII" — all tokens are generated instantly in local browser RAM. (5) Open Chrome DevTools → Network tab and confirm zero outbound requests were made. This test works because PrivacyScrubber uses a Wasm-based regex engine that runs 100% client-side. The session token map (e.g. [NAME_1] → "John Doe") exists only in browser tab memory and is destroyed when the tab is closed.
Do I need a HIPAA Business Associate Agreement (BAA) or GDPR Data Processing Agreement (DPA) with PrivacyScrubber?
No. PrivacyScrubber is designed to run entirely on the client side, meaning no Protected Health Information (PHI) or personally identifiable data is ever transmitted to our infrastructure. Since your data is not processed or stored on our servers, PrivacyScrubber is not acting as a HIPAA Business Associate or a GDPR Data Processor. Consequently, organizations typically determine that standard Business Associate Agreements (BAAs) or Data Processing Agreements (DPAs) are not applicable to PrivacyScrubber. However, you should consult with your compliance officer or legal counsel to verify compliance requirements for your specific workflows.
Can I customize detection rules for industry-specific data formats?
Yes. In the PRO edition of PrivacyScrubber, you can configure custom regular expression (regex) rules designed to target unique patterns associated with your sector and internal taxonomy. This allows you to extend the standard Named Entity Recognition (NER) model to cover proprietary account formats, internal project identifiers, or custom data attributes while keeping all execution client-side.
Is pasting sensitive data into ChatGPT safe?
Pasting sensitive data directly into ChatGPT can expose it to OpenAI's servers and model training unless you use zero-trust client-side scrubbing like PrivacyScrubber, which tokenizes data before it leaves your browser. Protect your workflows for $15/mo with PRO.
How does client-side PII redaction work?
Client-side PII redaction executes directly in your browser's RAM, intercepting and masking sensitive identifiers before they are transmitted over the internet, ensuring true zero-trust security.
How does the Secure Workspace differ from the Browser Extension?
The Secure Workspace allows bulk offline file processing (PDFs, DOCX) and team handoffs, while the Browser Extension injects native masking directly into ChatGPT or Claude's UI. Both are included in our zero-trust ecosystem.
What is the PII MCP Server used for?
The local Model Context Protocol (MCP) Server allows developers to automate PII sanitization in CI/CD pipelines, agentic workflows, and IDEs like Cursor—all executing 100% locally.
What AI Engineers and Agent Builders Send to AI — and What They Should Be Sending InsteadWhy AI Safety and Security Teams Flag Unmasked AI Prompts
Compliance in the agents space is mandatory: GDPR data minimization principles, NIST AI RMF (Risk Management Framework), and emerging agentic AI governance guidance. Yet, technical safeguards often lag behind shadow AI usage. Managing this exposure relies on the principles in sanitizing pii in llm observability traces to prevent corporate records from becoming training data. You must sanitize inputs before cloud transit. Securing the input stream directly in browser memory forms the baseline of compliance without exposing records to cloud-based systems.
How to Use AI on Real Agents Data — Without Sending a Single Real Name
PrivacyScrubber provides Zero-Trust Data Sanitization (ZTDS) in the browser using either our web workspace or the PrivacyScrubber Chrome Extension. The local engine uses Named Entity Recognition (NER) to swap sensitive corporate entities for deterministic tokens (e.g., [NAME_1]) before transmission. This matches the compliance model of scaling agent architectures, keeping raw business data offline. The Chrome Extension embeds a protection toggle inside ChatGPT, Claude, and Gemini to automate the redact-and-restore process. By executing Named Entity Recognition entirely in local memory, PrivacyScrubber preserves the usefulness of LangChain, LlamaIndex, AutoGPT, CrewAI, and custom RAG infrastructure for production workflows without introducing external risk.
Is PrivacyScrubber safe for LangChain PII redaction middleware TypeScript, LlamaIndex PII masking transform, sanitize prompt variables LangChain, CrewAI agent data protection, multi-turn AI privacy?
Yes, absolutely. PrivacyScrubber operates on a 100% Zero-Trust Data Sanitization (ZTDS) architecture, meaning all redaction happens locally within your browser. When working with LangChain PII redaction middleware TypeScript, LlamaIndex PII masking transform, sanitize prompt variables LangChain, CrewAI agent data protection, multi-turn AI privacy, no sensitive data ever leaves your device or touches a cloud server.
How does it handle custom data structures for agents?
Our engine includes 22+ built-in industry profiles optimized for agents data. Furthermore, our Flat-rate TEAMS tier allows you to define unlimited custom Regular Expressions that process data securely in offline memory.
Law firms · Hospitals · DevOps teams · AI researchers
Secure Checkout
PRO
$15/ mo
PrivacyScrubber PRO
Card Payment Declined or 3DS Failed
We have automatically switched to PayPal so you can activate your license without interruption.
& more
Secure one-time payment · Activated instantly.
Instant Answers • Zero Risk Guarantee
Do you see or store my prompts / documents?
Zero server uploads. All tokenization and OCR run strictly in your local browser memory (RAM). You can disconnect Wi-Fi and verify the tool still scrubs.
Can I cancel anytime or buy lifetime?
Cancel in 1 click anytime directly from PayPal or email us. Or switch to Lifetime ($110) above for permanent access with zero recurring debt.
Which platforms and models are supported?
Works with ChatGPT, Claude, Gemini, DeepSeek, and Cursor. Single license unlocks Web Portal, Chrome Extension, and air-gapped local MCP Server.
Direct B2B Invoice & Wire Transfer
Payment gateways blocked by browser privacy shield or ad-blocker. Request an instant corporate invoice (Net 30, SWIFT/ACH, or direct card checkout link).
Invoice requested. We have dispatched invoice details to your email.
G2 Reviewer Pass1-Yr Free
Leave an honest review on G2 • Unlock 1-Year PRO ($180 value)
100% Local RAM Airplane Mode Verified 14-Day Refund
Teams Hub
TEAMS
Select Detection Profile (25 Industry Profiles)Zero-Trust Local
Managed Seat: Security rules and DLP policies are centrally enforced by your Organization Administrator.
Policy Enforced
0
Chars Protected
0
Files Sanitized
0
Safe Sessions
$0
GDPR/DLP Value
Shadow AI GuardBlocks sensitive PII from leaking to ChatGPT, Claude & Gemini
Active
0
Blocked PII
0
Warned
0
Clean Prompts
No shadow AI leaks detected. Your team is protected.
Shadow AI Monitoring (PRO / TEAMS)
Prevent team members from accidentally pasting confidential client data into ChatGPT or Claude.
7-Day Sanitization TrendTotal volume sanitized locally in your browser
All Profiles
6d
5d
4d
3d
2d
Yest
Today
Scrubbed:Names: 0Emails: 0Phones: 0IDs: 0
Local Security ActivityZero-cloud audit trail (Stored only on your device)
No activity yet. Start sanitizing text to see events.
Active Protection ChannelsLive browser extension & web app sync
Need CISO or DPO Security Approval?1-click statutory memorandum proving 0 server egress, bypassing 6-week vendor questionnaires.
Rules & Token Labels
0 Rules ActiveZero-Server Regex
Custom Regex rules & Domain Taxonomies are available on PRO and TEAMS plans. Default 25 profiles active.
Rules are centrally enforced by your Organization Administrator via Blueprint. Local modifications are locked.
Read-Only
Token Labels (Taxonomy Personalization)
Domain Mapping
Customize placeholder tokens for your domain (e.g. NAME → CLIENT).
Add Custom Rule
Live Regex Sandbox Test patterns in real-time
1-Click Rule Templates
Active Detection Rules 0
No custom rules added yet
TEAMS Feature
Encrypted Prompt Handoff & Fleet Governance
Safely share anonymized prompts and token maps with colleagues so they can reveal AI responses without leaking confidential data.
Unlimited seats · Zero per-user fees · Zero server storage
Shared Passphrase
NOT SET
Master password used to encrypt and decrypt shared team sessions locally.
Zero-Server Security: Your passphrase never touches any server. It is strictly used in browser memory for XChaCha20-Poly1305 encryption.
Encrypted Session Transfer
.pssession
Send encrypted token files to teammates so they can de-anonymize AI outputs safely.
Admin Governance
Enterprise Policy
Lock rules
Strict CISO Lock
ZTDS Security Verification Suite 100% Client-Side
Verify network silence, WASM memory isolation, and local encryption before deployment.
ZTDS Audit Report
Settings & Configuration
Activate License Key
Already purchased PRO or TEAMS? Enter your license key or paste your activation URL below.
Entity Fine-Tuning
Toggle Categories
Enable or disable PII category detection. Changes apply to all scrub operations.
Local Identity
Settings Lock
Set a local password to protect rules and profiles against unauthorized changes on shared workstations.
Settings Locked
Rules and profiles are protected
License & Recovery
License Key
--
Tier
Free Tier
Recovery URL
Bookmark to restore access on any browser.
Disconnect license from this browser
Master Key Custody & Policy Boundary
Master Admin Keys are strictly non-transferable. Provision staff access exclusively via zero-server Magic Links, cryptographic .psblueprint files, or Chrome Enterprise Policy.
Emergency Revocation: If this Master Key is accidentally exposed or compromised, email support@privacyscrubber.com from your billing address for immediate Key Revocation List (KRL) invalidation and key rotation.
Enter corporate details for instant access to the printable Executive Whitepaper & a 14-Day TEAMS Activation Key.
Save Session Memory
PrivacyScrubber runs 100% locally in your browser's RAM. Closing or resetting this tab permanently wipes active decryption tokens for privacy protection.
Zero-Trust Session Backup
Download your encrypted session file (.pssession). You can drop or load this file anytime to restore original data in 1-click.
DevSecOps Audit Report
Zero-Trust Directory Scan Complete. 100% Offline.
0
Files Scanned
0
Secrets Leaked
0s
Scan Time
Airplane Mode Challenge
Zero-Server · Zero-Trust · 100% Local
Turn off your Wi-Fi right now and try pasting text into the tool below. It processes 100% in your local RAM without sending any network requests.
Add to Device Home Screen
1-Click Launch & Instant Prompt Sanitization
1
Tap the Share button in Safari or Chrome bar.
2
Scroll down and select Add to Home Screen.
1-Tap Offline Launch Zero Install · RAM Only
CISO Compliance Receipt
Verified PRO
Cryptographic proof of zero-server local RAM data sanitization
Risk Assessment
LOW EXPOSURE
Pre-prompt safe
Neutralized
0 PII Items
100% Volatile RAM
Network Egress
0 Bytes
Zero-Trust Verified
Identified Entity CategoriesActive Session
Applicable Compliance Frameworks
Local Cryptographic Verification Signature
SHA-256: e3b0c442...
Timestamp: Today
Redacted Document Inspection
Tap badge to inspect/restore · Pinch to zoomClick badges to unmask false positives
100% Volatile RAM Preview — Zero Network Transmission
Tap page to zoom· Tap badge to view & restore
100%
Click any badge to unmask· Secure Flattening (Zero Hidden Text Layers)·Scroll to navigate · Ctrl+Scroll to zoom
Detected Sensitive Token
[TOKEN]
Original masked value:
Sensitive Data
Zero-Trust DLP Benchmark 0ms Egress
Empirical latency & privacy comparison: Local Client-Side ZTDS vs Cloud DLP Proxies.
Local Browser ZTDS Air-Gapped
< 2.5 ms
• Network Transit: 0 hops (RAM-only)
• Data Egress: 0 bytes transmitted
• Privacy Risk: Zero ($0 DPA/BAA)
Legacy Cloud DLP AWS / Presidio / Google
1,480 ms
• Network Transit: 7 hops (TLS + Gateway)
• Data Egress: 100% prompt sent over HTTP
• Enterprise Cost: $15–$60 / user / mo
Live In-Memory Benchmark (AST Parsing & Entity Detection)
Status: Ready · Architecture: Client-side V8 RAM / Web Worker
We believe in building for practitioners without marketing spin. Post an objective, verified review of PrivacyScrubber on G2 (positive or critical), and we will grant your account a full 1-Year PRO license.
# Run in any terminal with zero dependencies:
npx @privacyscrubber/cli sanitize "Deploying service with AWS_KEY=AKIAIOSFODNN7EXAMPLE for user Sarah Connor (sarah@cyberdyne.org, SSN: 123-45-6789)"
bash — privacyscrubber-wasm-node — 80x24
0 B Egress
$npx ps-cli sanitize
# Ready. Click "Run" or press Enter to execute in-browser AST regex sanitization.