Post-Quantum HNDL & AI Prompts: Eliminating Sensitive Data Before the Wire
PQC transport encryption protects network pipes against future decryption; ZTDS eliminates raw PII and secrets in host RAM before any packet enters the pipe.
Summary
On December 2, 2026, NSA, CISA, and ONCD issued urgent post-quantum migration guidance alongside a joint Big Tech statement endorsing NIST FIPS 203 (ML-KEM) and FIPS 204 (ML-DSA). While agencies confirmed no immediate collapse of active internet encryption, Harvest Now, Decrypt Later (HNDL) remains an active threat for long-lived AI prompts containing source code, personal data, and trade secrets.
Cloud DLP proxies do not remove initial wire exposure because raw payloads still cross a network socket to reach the inspection proxy. ZTDS RFC v1.0 complements PQC transport by stripping sensitive identifiers in local volatile memory prior to transmission, paired with SHA-256 receipts and hybrid Ed25519 + ML-DSA-87 token agility.
Control Map: HNDL Exposure Paths vs. Transport PQC and ZTDS
| Architecture layer | HNDL & post-AI risk | ZTDS Defense-in-Depth posture |
|---|---|---|
| Plain HTTPS LLM prompt | Classical TLS sessions captured today can be stored for future decryption; provider logs hold raw PII. | High risk without pre-transit masking. Raw identifiers must be tokenized before leaving the host. |
| Cloud DLP / AI gateway proxy | Raw PII and secrets still cross the initial WAN hop to the inspection server and enter proxy queues. | Residual HNDL and GDPR Art. 28 subprocessor surface remains open on the first network hop. |
| Hybrid PQC TLS 1.3 (ML-KEM) | Protects channel confidentiality in transit, but endpoint or vendor log compromise still exposes cleartext. | Necessary transport layer. Does not strip raw PII from upstream AI inference payloads. |
| ZTDS In-RAM + PQC Transport | Raw PII/PHI/secrets stay inside local volatile memory (0.00 B wire egress); traffic carries surrogates. | Eliminates sensitive identifier value in captured traffic while preserving PQC transport protection. |
| Offline Attestation & Licensing | Classical 256-bit ECC signatures face compressed CNSA 2.0 migration timelines. | Supports hybrid ZTDS-CERT-v2 and ZTDS-LIC-v2 tokens combining Ed25519 with ML-DSA-87 (FIPS 204). |
How ZTDS Applies
Security and platform engineering teams combine transport migration with pre-transit elimination in four steps:
- Run
npx ztds-audit --dir ./src --crypto-inventoryto flag exposed RSA/EC private keys and map classical asymmetric dependencies against NSA CNSA 2.0. - Upgrade external AI gateways and web origins to TLS 1.3 with hybrid ML-KEM key exchange (FIPS 203).
- Place ZTDS local-RAM tokenization ahead of LLM prompts, RAG ingestion, and MCP stdio tool loops so 0.00 bytes of raw PII or credentials ever hit the network socket.
- Archive local SHA-256 compliance receipts (CNSA 2.0 safe) and adopt hybrid Ed25519 + ML-DSA-87 (FIPS 204) attestation tokens for air-gapped nodes.
What This Control Does Not Cover
- ZTDS does not replace ML-KEM (FIPS 203) transport encryption for non-PII business text or general network confidentiality.
- It does not upgrade hardware roots of trust, firmware signing, or HSMs, which must migrate independently under CNSA 2.0 schedules.
- Exposed classical private keys or API secrets discovered during code audits must still be revoked and rotated immediately.
- Pre-transit elimination is a Technical Safe Harbor and risk minimization measure (GDPR Art. 32 / Israel Amendment 13 Sec. 17), not formal legal immunity.
Frequently Asked Questions
Did the December 2, 2026 NSA advisory mean HTTPS and RSA broke overnight?
No. The joint NSA, CISA, and ONCD statement explicitly clarified that recent AI-driven mathematical discoveries do not create an immediate, widespread failure of deployed encryption. The operational urgency targets Harvest Now, Decrypt Later collection and accelerated CNSA 2.0 migration away from classical 256-bit elliptic curves and RSA.
Does post-quantum TLS 1.3 make client-side ZTDS sanitization unnecessary?
No. PQC TLS encrypts the network tunnel, whereas ZTDS removes raw PII and secrets before the payload enters the tunnel or reaches third-party AI model logs. Together they provide layered defense against both wire harvesting and upstream vendor breaches.
Why do cloud DLP proxies still leave an HNDL gap?
Cloud DLP proxies require transmitting unmasked prompts across a network socket to an external inspection endpoint. Local-RAM sanitization removes raw identifiers prior to any outbound socket call.
How does ZTDS handle its own offline cryptographic tokens under CNSA 2.0?
Local audit receipts use canonical SHA-256 digests (approved under CNSA 2.0), while ZTDS-LIC-v2 and ZTDS-CERT-v2 enforce fail-closed dual signatures combining Ed25519 (RFC 8032) and ML-DSA-87 (NIST FIPS 204).
Related Specifications and Tools
- Zero-Trust Data Sanitization (ZTDS RFC v1.0) — The four invariants referenced on this page.
- Client-Side Sanitization vs Proxy DLP — Architectural comparison of local RAM vs. cloud inspection proxies.
- Global Regulatory Compliance Matrix — Cross-framework statutory mapping.
- Shadow AI Governance Framework & CISO Pack — Vendor-questionnaire and safe harbor material.
- Perimeter Scanner — Browser-based egress audit with local receipts.
- Zero-Egress AI Architecture Whitepaper — Formal data-plane proofs, entropy bounds, and breach analysis.
- Framework Mappings Hub — All framework mappings in one index.
- OWASP LLM02 Sensitive Information Disclosure — Maps pre-egress tokenization to OWASP LLM02:2025 and states what it does not cover.
- NIST AI RMF Generative AI Profile — Places ZTDS across GOVERN, MAP, MEASURE, and MANAGE for generative AI data privacy risk.
- EU AI Act Article 10 Data Governance — Describes how pre-ingestion sanitization supports Article 10 data governance practices.
- GDPR Articles 25 and 32 for AI Prompts — Explains data protection by design and security of processing for prompts sent to AI providers.
- HIPAA Safe Harbor for LLM Prompts — Shows how 18-identifier removal applies to clinical text sent to language models.
- MCP stdio PII Sanitization — Describes a local gateway that sanitizes JSON-RPC traffic over the MCP stdio transport.
- RAG Pipeline PII Sanitization — Places sanitization at ingestion, retrieval, and prompt assembly stages of a RAG pipeline.
- Client-Side Sanitization vs Proxy DLP — Compares client-side in-memory sanitization with network proxy and cloud DLP approaches.
- AI Agent Credential Leakage Prevention — Controls for preventing API keys, tokens, and session credentials from leaking through AI coding agents, MCP tools, and telemetry traces.