ZTDS™ (Zero-Trust Data Sanitization) The Open Standard & Enterprise AI Trust Seal
Airplane-Mode Privacy for AI. Verifiable proof that enterprise prompts, customer records, and trade secrets never leak to external clouds. The open RFC v1.0 standard and cryptographic accreditation authority that clears DPO and InfoSec reviews with 0.00 bytes data egress.
GDPR Art. 32 Safe Harbor, Art. 28 processor path elimination, SOC 2 Type II evidence telemetry, and CISO ROI model.
Model Context Protocol guardrails for Claude & Cursor, zero-egress pipes, and LangChain blueprints.
Forensic chain of custody under FRE 502 & 902, GDPR Recital 26 de-identification, and patent covenants.
Verify your private repository, pipeline handlers, and AI agent connectors against the 4 ZTDS RFC v1.0 invariants prior to deployment.
npx ztds-audit --dir ./src --strict
* Conformance claims apply when implementations satisfy all 4 ZTDS RFC v1.0 invariants as verified by the Perimeter Scanner and validated via Cryptographic Conformance Receipts. This does not constitute legal counsel.
How ZTDS Certification Accelerates B2B Enterprise AI Sales
Enterprise procurement stalls when AI prompts touch cloud vendors. ZTDS replaces multi-month legal negotiations and invasive InfoSec audits with deterministic, verifiable in-RAM security proofs.
Unlock Enterprise B2B Sales · Turn InfoSec Objections into Instant Sign-offs
When enterprise prospects refuse to share client data with frontier LLMs, deals stall in InfoSec and Legal review for 3 to 6 months. By embedding a ZTDS-certified sanitization layer, you can prove zero cleartext egress to external model hosts.
Statutory Risk Minimization & Safe Harbor · Zero Personal Officer Liability
Allow internal teams to safely leverage frontier AI models without risking corporate data leaks, regulatory investigation, or officer liability under strict privacy statutes.
The Enterprise AI Adoption Chasm: 6 Months vs. 48 Hours
5 Ways Developers Deploy ZTDS In-RAM Sanitization
From local IDE agent guardrails (Cursor, Claude Desktop) to RAG vector database de-identification: deploy vendor-neutral in-memory protection across every layer of your AI stack with 0.00 bytes cloud leakage.
Stop Leaking Cleartext Secrets & Customer Records from Cursor and Claude Desktop
Developers frequently paste production API keys, database dumps, and sensitive customer records into AI coding composers. Traditional cloud DLP proxies cannot inspect desktop editor sessions without breaking TLS or injecting severe latency.
The open reference MCP server (ztds-mcp) executes locally as a child process over stdio JSON-RPC pipes. It sanitizes prompts, diffs, and tool arguments in volatile RAM in < 0.5ms before network serialization. Exactly 0.00 bytes socket egress.
[KEY_1], [EMAIL_1]) so AI retains full code logic.
{
"mcpServers": {
"ztds": {
"command": "npx",
"args": ["-y", "ztds-mcp"]
}
}
}
ztds-mcp with certified commercial implementation @privacyscrubber/mcp-server.The ZTDS Method vs. Legacy Cloud DLP
Traditional enterprise security relies on intermediate cloud proxies that intercept cleartext traffic, introducing latency and adding third-party subprocessor liability under GDPR Article 28. The ZTDS Method moves the security boundary into volatile process memory: raw PII never crosses the network socket.
Cloud DLP & Proxy Gateways
[REDACTED] breaks grammatical syntax, destroys LLM attention weight matrices, and produces hallucinatory responses.
In-RAM Client Sanitization
[PATIENT_1], [IBAN_1]), preserving LLM reasoning and grammatical concordance.
3-Alternative AI Sanitization Architecture Matrix
Zero-Trust Data Sanitization (ZTDS™ RFC v1.0) is an open cryptographic protocol that tokenizes sensitive PII, PHI, and secrets in local volatile RAM (< 0.8 ms latency, 0.00 B raw network egress) before any payload reaches an external LLM API or cloud socket—establishing technical safe harbor under GDPR Art. 32 and Israel Privacy Law Amendment 13 Sec. 17 without third-party subprocessor exposure.
| Architecture Class | Execution Latency | Raw Cleartext Egress | Regulatory Posture (GDPR / Am. 13) | Token Semantics |
|---|---|---|---|---|
| 1. ZTDS™ In-RAM Protocol (RFC v1.0) | < 0.8 ms (Volatile RAM) | 0.00 B (Zero Network Egress) | Technical Safe Harbor (Art. 32 / Sec. 17) • Art. 28 Exempt | Bijective Surrogates ([PATIENT_1]) |
| 2. Cloud DLP API Proxy Gateways | 250 – 600 ms (WAN Round-Trip) | 100% Cleartext to 3rd-Party Proxy | Mandatory Art. 28 Subprocessor DPA & BAA Chain | Destructive Masking ([REDACTED]) |
| 3. Containerized NLP (Docker / Python) | 35 – 90 ms (Container RPC) | Internal VPC Socket Hop | 500MB+ Model Weights & Heavy DevOps Maintenance | One-Way Entity Replacement |
Test the ZTDS Method in Your Browser
Executes 100% locally in volatile browser memory. Open Network DevTools to verify 0.00 B network egress.
Prove Zero Egress in Airplane Mode
Zero Trust means you never need to trust a vendor's promise. Disconnect your Wi-Fi right now, paste confidential customer records into the sandbox above, and run the sanitizer. Open your browser DevTools Network tab: exactly 0.00 bytes leave your machine.
Surrogates vs. Broken Redaction
Traditional redaction (like [REDACTED] or asterisks) flattens entropy and breaks LLM multi-head attention weights, causing hallucinations. ZTDS bracketed surrogates ([PERSON_1], [IBAN_2]) preserve semantic graph relationships, restored losslessly on your screen upon response.
Bypass 6-Week Security Reviews
Enterprise buyers stall on third-party subprocessor risk. Hand your CISO or customer procurement team our 1-page Safe Harbor Legal Memo: since cleartext never leaves device RAM, vendors eliminate GDPR Article 28 processor obligations and establish an Article 32 technical safe harbor.
The 4 Foundational Invariants of RFC v1.0
ZTDS is an open architectural specification and verification standard defined by four inviolable system boundaries enforced at the process memory perimeter and verified through automated network socket inspection.
Zero External Egress Prior to Sanitization
No personal data (PII, PHI, commercial secrets) may leave the local boundary in unmasked form. Enforced via socket byte-counting and audited via npx ztds-audit.
Deterministic Reversible Tokenization
Surrogate tokens preserve syntactic structure, grammar, and semantic roles for LLMs. The reverse mapping table is held strictly in volatile RAM for localized detokenization.
Verifiable Memory Isolation
Ephemeral mapping tables cannot be written to disk, databases, localStorage, or third-party telemetry sinks. They auto-destruct when the execution session ends.
Complete Subprocessor Exclusion
Software functions purely as a local computing utility. Under GDPR Art. 32 and EDPB doctrine, zero vendor processing of PII eliminates the subprocessor chain under Art. 28 and establishes a technical safe harbor.
Rallying the Ecosystem Around the ZTDS Standard
ZTDS.ai is an open consortium, not a commercial SaaS vendor. We unite AI builders, enterprise CISOs, and security researchers to make client-side zero-trust sanitization the global industry norm.
Verified AI Applications
Sell to enterprise buyers without 90-day legal reviews. Prove 0.00 bytes cloud leakage with automated CLI verification, an official verified trust badge, and canonical registry inclusion.
npx ztds-audit
/registry/ and llms.txt corpus
Corporate Adopters
Deploy internal LLMs and AI agents across your organization without signing new data processor agreements (DPAs) or expanding vendor attack surfaces.
Fellows Council
Advance the mathematical and legal foundations of client-side privacy. Author peer-reviewed DOIs across Zenodo, OSF, SSRN, and IEEE-indexed publications.
Deploy the Method in 4 Lines of Code
Deploy using the vendor-neutral open reference package @ztds/core (Apache 2.0) or the enterprise production engine @privacyscrubber/sdk. Both execute 100% locally in WebAssembly or host RAM without external API keys, telemetry, or network calls.
// 1. Install open engine: npm i @ztds/core
import { ZTDSClient } from '@ztds/core';
// 2. Initialize in-memory zero-trust enclave
const ztds = new ZTDSClient();
// 3. Sanitize prompt in volatile RAM prior to external egress
const { safePrompt, tokenMap } = ztds.sanitize(rawUserPrompt);
// 4. Transmit safe surrogate tokens to external cloud LLM (0.00 B PII leak)
const aiResponse = await openai.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: safePrompt }]
});
// 5. Reversibly detokenize response locally in volatile RAM
const cleanResult = ztds.restore(aiResponse.content, tokenMap);
Why ZTDS-Compliant Architectures Do Not Require a DPA
Under GDPR Article 28 and EDPB doctrine, data processing obligations apply when personal data is processed by an external third party. Because the ZTDS Method executes 100% in client RAM with 0.00 bytes transmitted to vendor servers, the vendor never qualifies as a "data processor", establishing an Article 32 technical safe harbor.
Hand this directly to your enterprise buyers, legal counsel, and data protection officers.
Frequently Asked Questions
Answers for developers, systems architects, and enterprise compliance officers.
How does ZTDS protect sensitive data in Model Context Protocol (MCP) for Cursor and Claude Desktop? ↓
The open reference MCP server (ztds-mcp) executes locally on your workstation as a child process over stdio JSON-RPC pipes. It intercepts prompts, code diffs, and tool arguments in volatile RAM before network transmission.
Cleartext API keys, internal IPs, and customer PII are replaced with contextual surrogate tokens ([KEY_1], [EMAIL_1]) so AI reasoning is unaffected, while zero bytes of sensitive data leave the machine. The mapping table is preserved strictly in client volatile memory and re-applied locally to responses before display.
How does ZTDS solve GDPR Article 17 Right to be Forgotten in RAG vector databases? ↓
In standard RAG architectures, raw customer PII is embedded into dense vectors stored in Pinecone, Qdrant, or Milvus. When a customer exercises their GDPR Article 17 "Right to be Forgotten", dense embeddings cannot be deleted individually without re-indexing the entire multi-million vector index.
ZTDS sanitizes raw entities into deterministic surrogate tokens prior to embedding generation. The vector database stores mathematical embeddings of de-identified tokens, ensuring zero direct linkability to natural persons. Deleting the customer's reversible token map from local keystores renders the vectors permanently de-identified without needing a costly corpus re-index.
How does ZTDS eliminate data processor liability under GDPR Article 28? ↓
Under GDPR Article 28, a Data Processing Agreement (DPA) is required when external third parties process personal data on your behalf. Because the ZTDS protocol executes 100% inside client volatile host RAM with 0.00 bytes of raw personal data transmitted over the network, ZTDS software never receives personal data and is physically eliminated from the data processor supply chain.
By neutralizing direct PII in local RAM and reducing entropy across vertical profiles, ZTDS establishes a proactive technical safe harbor under GDPR Article 32 (Technical & Organizational Measures) and Israel Protection of Privacy Law Amendment 13 Section 17, drastically mitigating statutory liability and eliminating subprocessor risk assessments.
What is the difference between open reference ztds-mcp and @privacyscrubber/mcp-server? ↓
ztds-mcp is the open-source reference implementation published under Apache 2.0 by the ZTDS Consortium, providing baseline universal entity sanitization (emails, keys, credit cards, SSNs, IPs) for individual developers.
@privacyscrubber/mcp-server is the certified enterprise production engine engineered by BrandMeWeb, including 30 specialized industry profiles (HIPAA clinical PHI, banking routing/IBANs, legal work product, cloud IAM credentials) and offline Ed25519 cryptographic token licensing for corporate teams.
How can I independently verify zero external network egress in my own environment? ↓
ZTDS conforms to the Airplane Mode Verification Protocol: load the web playground or run the CLI auditor npx ztds-audit --strict, physically disconnect your network interface (or enable Airplane Mode), and observe that all sanitization, detokenization, and verification execute with 100% functionality without error.
You can also run Wireshark or inspect the Chrome DevTools Network panel to confirm that exactly 0 network requests are dispatched during processing.