Reversible Vaulted Prompts · A privacy layer for AI chat

Hand over the tag. Keep the coat.

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.

A research project by Bindu Puthur Simon — Zurich, Switzerland

You write My IBAN is CH93 0076 2011 6238 5295 7, card 4539 1488 0343 6467
Model sees My IBAN is CH05 6613 1860 9139 0996 0, card 4526 0181 5908 3012
You read back My IBAN is CH93 0076 2011 6238 5295 7, card 4539 1488 0343 6467 — verified, restored

Live demo

See what the model sees.

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.

The cloakroom, in your browser

Details sent raw to the model: 0

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.

No message sent yet

Press Load demo question to load a sample, or write your own message in panel 1.

1 · What you typed
2 · What the model actually sees
Nothing sent yet. What the model receives will appear here — with RVP on, your details never appear in this panel.
3 · What you get back
The model's reply, with your real details restored, will appear here.
TypeYou wroteThe model sawSent raw?
No substitutions yet — load a demo question and press Send.

Evidence

Measured, not promised.

In our runs over 500 public PII-TRACE conversations, this is what the swap-and-restore round trip did:

97 / 100

personal details found and swapped before the prompt left the machine.

99–100 / 100

swapped details put back correctly in the model's reply — the original value, in the right place.

0

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

Your prompt is the attack surface.

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

The privacy gap

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

The cost of naive scrubbing

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

What RVP does differently

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

Six stages, all on your side of the boundary.

Everything sensitive happens locally. The only thing that crosses the wire is stand-in text — and a checkable audit trail proves it.

Stage 01

Detect

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

Canonicalise

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

Vault

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

Substitute

A query-aware policy picks the right tier per entity — a realistic format-preserving fake, or a typed placeholder token.

Stage 05

Infer

The model works on fully valid stand-in structure. No raw values, no broken formats, no lost references.

Stage 06

Rehydrate

Authenticated restoration with ambiguity rejection — your original returns, verified, or the swap is flagged rather than guessed.

Tier 1 · Realistic stand-ins

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.

Tier 2 · Authenticated placeholders

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

A running reference implementation, not a slide deck.

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.

Validated

Conformance-tested against official NIST FF1 sample vectors, with a property-based test suite.

Covered

End-to-end handling of names, addresses, cards, IBANs, account and policy numbers, phones, emails and dates.

Controlled

Query-aware tier selection, with strict and explicit-release modes.

Contained

Fully client-side — vault, keys and session state never leave your machine.

/ 01

System & architecture

entity model · session lifecycle · invariants

The end-to-end design: entity model, session vault lifecycle, boundary invariants, and the sequencing of the three-month plan itself.

/ 02

Cryptography & conformance

FF1 · PRF · HMAC · key management

The substitution layer: NIST SP 800-38G conformance, HMAC authentication tags, HKDF session keys, and the no-replacement surrogate sampler.

/ 03

Detection & canonicalisation

NER · multilingual · entity resolution

Integrating the compact on-device detection model, per-type canonicalisers, and honest recall measurement across languages and formats.

/ 04

Evaluation & benchmarks

PII-TRACE · PII-Bench · head-to-head

Multi-axis evaluation on public benchmarks, comparison harnesses, and publishing results — including the failures.

/ 05

Product & integration

proxy · SDK · developer experience

Wrapping the engine as a local proxy service and SDK, with encrypted vault at rest, exportable audit logs, and sane defaults.

/ 06

Privacy & compliance

GDPR · EU AI Act · audit artefacts

Translating the system's guarantees into checkable evidence: data-residency posture, audit logs, and what we do not claim.

Roadmap

Three months, three milestones — each with an exit criterion.

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

Foundation, detection & policy

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

Real-model evaluation & productisation

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

Pilot, compliance & open release

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

Where this goes next.

Four threads grow out of the current build — each to be measured first, and shipped only when it earns its place.

01

A detector that knows your corner of the world

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

PII in images

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

Wherever you talk to an LLM

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

Under the hood

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

What makes RVP different.

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.

Coverage

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.

Derivation

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.

Identity across surface forms

"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.

Honest restoration

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

The work RVP stands on.

Every component of RVP has antecedents. These are the papers, standards and open-source projects the design draws on.

Reversible proxies & prior art

  • Prεmpt — sanitising sensitive prompts for LLMs · Roy Chowdhury et al., NDSS 2026
  • SurrogateShield — beyond redaction for high-utility LLM interactions · Jathanna, 2026
  • Microsoft Presidio — PII detection & masking with reversible mode
  • HaS — Hide and Seek, lightweight prompt privacy · Chen et al., 2023
  • LOPSIDED — semantically-aware privacy agent · Serenari & Lee, IEEE Big Data 2025
  • LLM Guard (Protect AI) — open-source guardrails with local vault

Detection, benchmarks & tooling

  • GLiNER — general NER with arbitrary entity types · compact on-device NER style
  • PII-TRACE — context-aware PII detection benchmark · Zhang et al., 2026
  • PII-Bench — query-aware privacy protection evaluation · Shen et al., ACL 2026
  • OpenAI Privacy Filter — MoE PII filter model card
  • DataFog — offline PII firewall for LLM apps
  • EmojiCrypt — prompt encryption for LLMs · Lin et al., 2024

Cryptographic standards

  • NIST SP 800-38G — FF1 format-preserving encryption · basis of Tier-1 substitution
  • NIST FF1 sample vectors — official test vectors in our test suite
  • RFC 5869 — HKDF key derivation · session-key derivation from the vault secret

Threat model & surrogation precedent

  • Carlini et al. — extracting training data from LLMs · USENIX Security 2021
  • AirGapAgent — privacy-conscious conversational agents · ACM CCS 2024
  • Azure Health Data Services — consistent surrogation note · clinical precedent

About

The people behind RVP.

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.

Researcher
Bindu Puthur Simon
Education
MS, University of Applied Sciences Northwestern Switzerland (FHNW)
Education
EMBA, Quantic School of Business and Technology
Role
Development Engineer, NTI AG
Based in
Zurich, Switzerland
Advisor
Biju Puthur Simon
Advisor's role
AI Platform Power & Performance Lead, Intel
Advisor based in
Folsom, California, USA

Follow the work

Built in public, published honestly.

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.