AI Security

AI Data Leakage & Privacy Review

Can your model be made to reveal its system prompt, another user’s conversation, another tenant’s documents or the data it was trained on? We find out with seeded canaries and two real tenants, before your users do.

Book a Consultation
Building with AI? Meet rouage — Secure AI Development from the team behind verrou.

AI Security › AI Data Leakage & Privacy Review

The worst AI findings are one tenant reading another’s data

An AI feature sits on top of more data than almost anything else in your product: the system prompt, every retrieved document, the conversation history, memory, caches, tool results and, for a fine-tuned model, its training data. Each of those is a boundary that data can cross. Retrieval that fetches first and filters afterwards leaks through summaries, counts and ranking. A semantic cache whose key ignores who is asking can hand one user another user’s answer. A conversation ID that is merely hard to guess is not the same as one that is checked.

We test the boundaries, not the persona. Seeded canary secrets go into the system prompt, the corpus, tool results and a second tenant’s context, and we measure whether any of them come back out, over a stated number of trials. We are honest about impact in both directions: a leaked system prompt that contains only persona text is low severity and we say so; the same prompt holding an API key or the logic of a security control is not. Cross-tenant access sits at the top of the scale, because it is the finding with the worst business consequence.

Every boundary data shouldn’t cross

System prompt & configuration

Direct and indirect extraction (summarize, translate, repeat or encode your instructions), partial extraction reassembled across turns, leaks through errors and refusal text, and disclosure of tool schemas, internal endpoints, model names and prompt versions.

Secrets in the model’s context

Canary secrets seeded into the system prompt, retrieved documents and tool results, tested for whether they can be recovered or come back verbatim, plus any real credential, key or token we find sitting in the context window.

Tenant, session & user isolation

With two real isolated tenants: tenant A reaching tenant B’s documents or canaries, prior conversations surfacing in a new session, memory scoped globally, cache collisions, shared workspaces and support views, and IDs that are unguessable but never checked.

Retrieval & RAG leakage

Asking the assistant for documents the user can’t open directly, query-time versus retrieve-then-filter, corpus enumeration, leaked titles, paths and authors, deleted or revoked documents still in the index, cross-namespace retrieval, and whether answers trace to their source.

Training data & memorization

For fine-tuned models: verbatim memorization of known training samples, membership inference, personal data and secrets learned from training data, whether production conversations feed training, and whether opt-out is honoured end to end.

Embeddings, logs & data flows

Raw embedding vectors exposed through an API and inversion back to text, what goes to third-party model providers and under what retention, whether personal data leaves the jurisdiction, prompt logs and their access, data minimization, and whether erasure reaches memory, retrieval and logs.

Retesting is included. We retest every fixed finding at the original number of trials and re-run the isolation tests across both tenants, so a fix that closed one path but left the cache or the index leaking is caught before you sign it off.

From seeded canaries to confirmed isolation

01 — SCOPE

Scope & tenants

We agree the systems, environment, models and data sources, and every third party in the call path. At least two isolated test tenants, a privileged and an unprivileged persona are working before day one.

02 — MAP

Map the data

Every place data lives around the model: prompts, corpora and their ingestion paths, vector namespaces, memory, caches, session storage, logs and the providers your prompts are sent to.

03 — SEED

Seed canaries

Before a single probe, we plant canary secrets and documents in each location and tenant, instrument where they would surface, and open the register of every write we will revert.

04 — TEST

Hands-on testing

Extraction, isolation, retrieval, memorization and embedding tests, each run over the agreed number of trials, with the input, model version and success rate recorded for every result.

05 — RATE

Rate by impact

Each leak is rated on who can trigger it, what crosses the boundary and how reliably, with the earliest control that would stop it and whether your logs would have shown it.

06 — RETEST

Report & retest

Findings, control gaps and coverage gaps in separate registers, a walkthrough with your engineers, then a retest of your fixes at the original trial count. All seeded data is removed.

Proving a leak without leaking anything

  • Canaries, never real data — every exfiltration and isolation test uses seeded canary secrets and documents; we never test with genuine customer personal data
  • Two real tenants — isolation can’t be tested from one account, so at least two isolated test tenants are provisioned first, or the start date moves
  • Nothing left behind — every memory entry, corpus document and other write we make is logged in a write/revert register and reverted; we never poison a production corpus
  • Success rates, never “it worked” — every result is reported with its number of trials, success rate, model version and date, because a leak that appears one time in ten is still a leak and you need to know the rate
  • Honest severity — system-prompt disclosure is rated by what the prompt contains; persona text alone is low, secrets or security logic are not
  • Third parties authorise their own systems — model providers, vector database services and SaaS connectors in the call path each confirm in writing that testing is permitted
  • Production or staging, decided in writing — staging often has different data, prompts and filters; if we test there, you confirm parity in writing and the report states every difference
  • Real exposure stops the test — if we see what looks like genuine customer data exposed, we invoke the agreed abort plan immediately rather than waiting for the report
  • Evidence handled as sensitive — storage, retention and who may see the evidence set are agreed before testing starts
Filter by identity before retrieval, not after. The most common root cause we report is a model trusted to keep data apart. The durable fix is architectural: per-tenant isolation at query time, cache keys that include identity, and authorization checked below the model. A system-prompt instruction not to reveal something is recorded as what it is, a request, not a control.

What the findings map to

Mapped to the current OWASP edition, as checked in December 2026; we re-check at kickoff and record the date in the report.

RiskEditionWhat we test against it
LLM02:2026 Sensitive Information DisclosureOWASP LLM Top 10 2026Secrets and personal data in context, cross-tenant and cross-session leakage, training-data memorization.
LLM08:2026 Hidden Context ExposureOWASP LLM Top 10 2026System prompt, configuration and tool-schema disclosure. It replaces the 2025 edition’s System Prompt Leakage (LLM07:2025) with a broader scope, and the report shows the mapping if your policies cite the old list.
LLM09:2026 Vector & Embedding WeaknessesOWASP LLM Top 10 2026Retrieval access control, namespace isolation, exposed embeddings and inversion.
Evidence, not attestation. We do not attest, certify or audit compliance with any privacy or data-protection requirement, and our findings are technical, not a legal opinion. The report is test evidence your auditor, data protection officer or counsel can review.

What you get

  • Impact-ranked findings — scored on who can trigger the leak, what crosses the boundary and measured reliability, shown separately, with the exact input, steps, trial count and model version
  • Isolation results across tenants and sessions — which canaries crossed which boundary, through which path: retrieval, memory, cache or history
  • Data-flow map — where prompts, documents and conversations go, including third-party model providers and their retention terms as you have them
  • Break points and fixes — the earliest control that stops each leak, with remediation ranked by durability and the layer named for each
  • Three registers, kept apart — security findings, control gaps and coverage gaps, so a missing filter isn’t presented as a breach
  • Detection coverage — whether your logs would have shown each leak, with the blind spots ranked first
  • Coverage statement — what was tested and what wasn’t, production or staging, and the model versions pinned, right after the summary
  • Retest of fixes — included, at the original trial count, with the isolation tests re-run across both tenants

Where data leakage testing connects

Find out what crosses between your tenants.

Testing starts with an agreed scope, two working test tenants and canaries in place. The first conversation is free.

Get in Touch