Wild · Live Privacy Shield & Adversarial Stress Lab · 14.69 MB WASM q4 · CC-BY-4.0

7-Language Live Privacy Shield & Adversarial Obfuscation Lab

Because nationaldesignstudio/rampart (CC-BY-4.0) runs in ~23 ms on CPU WASM inside a Web Worker, it can scrub every keystroke live before you paste a prompt into an external LLM. Stress-test code-switching across 4 languages, spaced/obfuscated emails and phone numbers, prompt-injection wrappers, and client-side placeholder rehydration (reveal()).

1. Real-Time Typing Shield & Stress Presets

Live latency–
Shielded spans–
Characters masked–
LLM paste verdict–

Before · Local Draft (PII Highlighted)

Initialize Rampart above to activate the live privacy shield.

After · Safe to Paste into an LLM

Sanitized prompt will appear here automatically.

2. Client-Side Placeholder Vault & reveal() Round-Trip

In Rampart's createGuard() workflow, the remote LLM only sees stable placeholders ([GIVEN_NAME_1], [EMAIL_1]). When the LLM replies using those tokens, the browser rehydrates the real values locally in memory — never exposing them to the cloud.

Simulated Cloud LLM Reply (Sees Placeholders Only)

Run a scan in [TYPE_N] mode to generate a placeholder-only LLM reply preview.

Client-Side rehydrateText() Result

Rehydrated local reply will appear here.
Honest model-card boundaries: Per Rampart's published evaluation, Latin-script names achieve ~99.8–100% recall while non-Latin scripts drop sharply (~13.7% recall), and checksumless government IDs (~67.6%) or zero-width-character smuggling require pairing the neural layer with deterministic regex/Luhn recognizers in production.

3. Inspect Redaction & Rehydration Code

Show the code · rampart-core.mjs — redactText() & rehydrateText()
Show the code · rampart.js — DOM-only renderHighlightedText() & renderRedactedPreview()