2. Privacy Membrane & Sentinel Lab

100% Client-Side Digit-Squeezed Leak Audit Zero-Width Injection Guard

Before private work can touch any remote model, the Privacy Membrane seals sensitive values into typed placeholders, audits the outbound JSON for raw or digit-squeezed leaks (throwing MembraneLeak on any hit), and restores even mangled placeholders in the reply.

Presets & Red-Team Simulations

1. Raw Local Input (Never Leaves Machine)

Sentinel Prompt-Injection Scan

Detected Spans & Placeholder Map

[]

2. Sealed Outbound Payload (What Cloud Sees)



        

3. Simulated Mangled Cloud Reply

Real LLMs often swap brackets ([EMAIL_1], «SSN_1», or bare PERSON_1). Edit to test lenient unsealing:

4. Unsealed Local Result


      

5. Cross-Token Streaming LLM Guard (StreamSealGuard)

Streaming LLMs frequently split credentials across chunks (e.g. "sk-" in chunk 1 and "ant-api03-..." in chunk 2). StreamSealGuard holds boundary prefixes so raw secrets, SSNs, and emails never emit mid-stream.

READY
Click "Simulate Split-Token LLM Stream" to run 4 boundary-split chunks through StreamSealGuard.
// Waiting for stream simulation...