Reversible Vaulted Prompts · A privacy layer for AI chat
RVP swaps the personal details in your prompt for realistic stand-ins before anything reaches the AI model — then puts your real details back into its reply, so the model can do its job without ever seeing who you are.
Live demo
Type a message the way you would to any AI assistant — or load a sample — and watch what actually leaves your side of the screen, with RVP protection on and off.
Runs entirely in your browser. There is no server behind this demo and nothing you type leaves this page — the detection, substitution, mock model and restoration all happen locally, exactly as RVP is designed to work. The sample person, Anna Keller of Zurich, is invented for this demo. Use the samples — don't paste real details.
Press Load demo question to load a sample, or write your own message in panel 1.
| Type | You wrote | The model saw | Sent raw? |
|---|---|---|---|
| No substitutions yet — load a demo question and press Send. | |||
Evidence
In our runs over 500 public PII-TRACE conversations, this is what the swap-and-restore round trip did:
personal details found and swapped before the prompt left the machine.
swapped details put back correctly in the model's reply — the original value, in the right place.
details put back wrongly. Restoration authenticates each stand-in; if a value has been altered, it stops and flags it instead of guessing.
Two honest qualifications. First, finding the details is the detector's work, not RVP's — RVP's own job is the substitution, the vault and the verified restoration, and the 97 figure is bounded by detector recall. Second, the 99–100 restoration figure is a replay of recorded traces through the pipeline, not a fresh live run against a model.
On coverage: over the same 500 conversations, RVP's detection layer caught 99.8% of personal-data characters; the closest comparable product caught 74.7%. Full results are published with the roadmap milestones below.
The problem
When a name, an account number or a health identifier goes into a cloud AI chat, it travels in the clear — and the usual fix, blanking it out, breaks the very thing you asked the model to do.
01
Frontier models can memorise and regurgitate prompt content, providers log conversations, and even strong detectors miss a share of sensitive mentions in long, multi-turn chats. Most people have no way to check what actually left their machine.
02
Deleting values destroys form validation, format reasoning and coreference — ask about "that account number from before" and a redacted conversation has no answer. One-way masking trades privacy for a model that can no longer do the job.
03
RVP treats personal data as entities, not tokens. Every written form of the same detail is recognised as one identity, swapped through a session vault for a stable, valid stand-in, and authenticated back on the way out. The model gets real structure; the provider sees nothing raw; you get your original back, intact.
How it works
Everything sensitive happens locally. The only thing that crosses the wire is stand-in text — and a checkable audit trail proves it.
Stage 01
Validity-checked patterns for account numbers, cards, IBANs, phones and dates — plus a compact on-device model for names and free-form mentions.
Stage 02
Written variants collapse to one identity per entity: "14 March 1982", "14.03.1982" and "1982-03-14" are the same birthday, so references survive across turns and formats.
Stage 03
A session-scoped one-to-one map between each real entity and its stand-in. The vault is a secret that never leaves your device.
Stage 04
A query-aware policy picks the right tier per entity — a realistic format-preserving fake, or a typed placeholder token.
Stage 05
The model works on fully valid stand-in structure. No raw values, no broken formats, no lost references.
Stage 06
Authenticated restoration with ambiguity rejection — your original returns, verified, or the swap is flagged rather than guessed.
For identifiers where format matters — cards, IBANs, dates, phone numbers — the stand-in is a plausible fake in exactly the original's format, built with format-preserving cryptography (FF1, NIST SP 800-38G) or validity-checked generation. A dotted date gets a dotted day-first fake; a card gets a card number that passes the Luhn check; an IBAN passes mod-97. The model can validate, sort and reason over them as if they were real.
For entities where the value itself is irrelevant — names, addresses — the model sees a typed placeholder token such as ⟨NAME·handle·tag⟩, carrying an authentication tag from the vault. The model keeps the semantic class ("this is a person's name") without learning the content, and only a token with a valid tag is ever restored.
Strict mode and explicit-release mode control exactly what may surface, per conversation. In the demo above, structured identifiers use Tier 1 and names and addresses use Tier 2.
Status & workstreams
Every mechanism in the design already exists as working, tested code — so the roadmap is an engineering and evaluation plan, not a research gamble. The work is organised into six interlocking workstreams.
Conformance-tested against official NIST FF1 sample vectors, with a property-based test suite.
End-to-end handling of names, addresses, cards, IBANs, account and policy numbers, phones, emails and dates.
Query-aware tier selection, with strict and explicit-release modes.
Fully client-side — vault, keys and session state never leave your machine.
/ 01
The end-to-end design: entity model, session vault lifecycle, boundary invariants, and the sequencing of the three-month plan itself.
/ 02
The substitution layer: NIST SP 800-38G conformance, HMAC authentication tags, HKDF session keys, and the no-replacement surrogate sampler.
/ 03
Integrating the compact on-device detection model, per-type canonicalisers, and honest recall measurement across languages and formats.
/ 04
Multi-axis evaluation on public benchmarks, comparison harnesses, and publishing results — including the failures.
/ 05
Wrapping the engine as a local proxy service and SDK, with encrypted vault at rest, exportable audit logs, and sane defaults.
/ 06
Translating the system's guarantees into checkable evidence: data-residency posture, audit logs, and what we do not claim.
Roadmap
Work proceeds in public increments: every milestone ends with something measurable, not something promised. Kickoff is November 2026; v1.0 lands in January 2027.
M1 · November 2026
Replace the pattern-and-gazetteer front-end with the compact on-device detection model. Ship per-type canonicalisers for all supported entity classes and a CI pipeline with property-based crypto tests. Build the local relevance classifier that drives tier selection, harden strict and explicit-release modes, and add multilingual date and phone normalisation.
Exit: entity-level precision/recall on PII-TRACE and query-aware masking accuracy on PII-Bench, both against a naive redaction baseline.
M2 · December 2026
Run the full multi-axis evaluation against real LLMs: detection, canonicalisation, utility on scrubbing-sensitive tasks, restoration fidelity, and cross-surface-form consistency — with head-to-head comparison against Presidio, Prεmpt and SurrogateShield where runnable code exists. In parallel, wrap the engine as a local proxy service and SDK (Python + TypeScript) with an encrypted vault at rest, exportable audit logs, and a strict latency budget on the swap/restore path.
Exit: evaluation report v1 published with raw numbers — including the failures — and SDK v0.9 running in an internal pilot workflow.
M3 · January 2027
A closed pilot with a small group of partners in high-PII domains (legal, finance, health), independent review of the cryptographic layer, GDPR alignment documentation, and data-residency verification on Swiss infrastructure. Then ship RVP 1.0: code released open-source, complete documentation, and the full benchmark record published alongside.
Exit: RVP 1.0 tagged, documented, released open-source, with results published against standard benchmarks.
Research directions
Four threads grow out of the current build — each to be measured first, and shipped only when it earns its place.
01
General detectors are near-saturated on common PII; the real gaps are in the long tail — non-US ID formats, European addresses and phone forms, transliterated and code-switched text, employer-internal reference codes. The direction: adapt an open detector for these cases, publish the special-case evaluation set the field currently lacks, and score it end-to-end on residual leakage through RVP. Long term, the adaptation runs on your own machine and the weights never leave it.
02
Every current protection layer — RVP included — is text-only: a photo of a letter or a screenshot bypasses it entirely, and attachments are where real exposure concentrates. The direction: a small local vision model transcribes the image on your device, the detection pipeline decides what is sensitive, RVP substitutes, and only sanitised text crosses the boundary. The pixels never leave the machine — and RVP's validity checks (Luhn, mod-97) double as an alarm for transcription errors.
03
The mechanism is independent of any single chat interface; what is missing are front-ends for where people actually use models: an OpenAI-compatible local proxy endpoint, a browser extension that swaps before send and restores in the rendered reply, and a clipboard helper as a universal fallback. The shared hard problem underneath all three: restoring stand-ins that arrive split across streamed response chunks.
04
Three threads everything else inherits. Measuring detector recall on long conversations — published recall degrades past roughly 10,000 characters, and mitigation is unmeasured in our pipeline. Replacing the rule-based policy with a learned query-awareness classifier, evaluated as a separate piece. And re-running the core consistency evaluation against real models on standard benchmarks — the credibility of every other direction rests on it.
Position
RVP is not the first reversible proxy — prior systems established the pattern. What it adds is a set of properties that, taken together, no single prior work provides.
The widest cryptographic coverage of structured identifiers — cards, IBANs, national insurance numbers — the types existing systems either don't ship or miss on conversational text.
Stand-ins are derived from the real value under your key — not generated as unrelated fakes. That is what makes them stable across turns, valid to parsers and checksums, and reversible by construction.
"14 March 1982", "14.03.1982" and "1982-03-14" are one entity with one stand-in — coreference survives across turns and formats instead of fragmenting into new values.
The put-back step authenticates rather than guesses: if a model alters a stand-in's meaning, restoration stops and flags it — instead of silently restoring the wrong original.
References
Every component of RVP has antecedents. These are the papers, standards and open-source projects the design draws on.
About
Bindu Puthur Simon is a development engineer based in Zurich, Switzerland. RVP grew out of a very ordinary moment: uploading a personal document to a cloud chatbot and wondering where its contents had actually gone. The project that followed — part engineering, part measurement study — asks a simple question: can you hand an AI model a cloakroom ticket instead of your coat, and still get your coat back?
RVP is developed in the open, with the work logged weekly and the results published against standard benchmarks. The three-month build runs from November 2026 to January 2027, ending with an open-source v1.0 release.
On 3 December 2026, RVP is being presented at the European Women in AI Demo Night — a ten-minute talk and live demonstration aimed at raising awareness of how much personal identification information people hand to chatbots every day, and what can be done about it.
Biju Puthur Simon advises the project. An AI platform power and performance lead at Intel in Folsom, California, he works on pre-silicon performance modelling for agentic AI systems. Before that he led the performance modelling group at OpenEdges — a function he founded — and spent over a decade at Intel leading GPU power and performance work across Bengaluru and Folsom, having earlier built a 36-person graphics architecture organisation at Intel India from scratch. He holds six issued patents, spanning CPU sub-socket partitioning and GPU compressed rendering, and an MSEE by research from IIT Madras.
Follow the work
This is where the intellectual property is being developed — not a storefront. Progress is reported as it happens, and the end state is open: code anyone can inspect, and results published against standard benchmarks so they can be checked, reproduced and challenged.
Progress written up as a regular article — what moved, what broke, what the numbers say. No spin, no marketing cadence.
Read on SubstackThe implementation is released open-source — the vault, the crypto layer and the session logic inspectable line by line, because a privacy guarantee you can't read isn't one.
github.com/lilianalling/rvpTest outcomes published alongside standard benchmarks — PII-TRACE, PII-Bench and head-to-head comparisons — including the failures, not just the wins.
See the exit criteria