Skip to content
Back to AI Security

RAG Security Assessment

Does the answer respect the same permissions as the document?

A review of tenant isolation, document permissions and generated responses in a retrieval-augmented system, before you add more sensitive data or more tenants.

The work is done by Kevin O'Connor, Founder and Principal Engineer: former NSA, CrowdStrike research team, and the lead for threat research at Adlumin and N-able. Read a sample report before you ask for a scope.

Why this review

A user who can't open a document can sometimes still get its contents: in a retrieved passage, in a citation, or paraphrased in the answer. If your RAG system indexes anything sensitive or serves more than one tenant, you need to know whether document permissions survive retrieval and generation, or quietly fall away somewhere in between.

Who it's for: Security, data platform, AI product and enterprise SaaS teams shipping RAG features over sensitive or multi-tenant data.

Scope

The retrieval architecture end to end: how tenant and role authorization is enforced, how vector indexes and metadata filters are built, what query rewriting does to the filters, how much the system trusts each document, how the prompt is assembled, where injected instructions can enter, and what controls sit on the response.

What you receive

Findings on document access and data exposure.

A map of who can reach which documents, test results for cross-user and cross-tenant exposure, and findings with the specific retrieval or response controls to fix.

Timeline

Typically 10 business days from kickoff and access confirmation.

Retrieval authorization path

Carry document permissions through to the answer.

We check permissions at retrieval, prompt assembly and response generation. A document that the requester cannot open should not become an answer or citation they can read.

Authorization chain

1Tenant
2Role
3Source
4Context
5Response

Tenant boundary

Which organization or data domain owns the request?

Role boundary

What is this user or service identity allowed to access?

Source boundary

Which document, index, metadata filter, or connector can contribute material?

Context boundary

What retrieved content and embedded instructions enter the model prompt?

Response boundary

Could the answer or citation expose material the requester cannot access?

Assessment detail

The proposal lists the systems and tests. The report records what we found, what we couldn't reach, and which checks didn't get run.

Isolation findings

Where tenant, role, document, source and metadata boundaries hold, and where they leak, between the index and the model context.

Retrieval boundary review

How user identity, tenant membership, metadata filters and query rewriting decide what can be retrieved. Query rewriting in particular has a habit of dropping the filter that mattered.

Source authorization matrix

Each source, and whether it needs an authorization check, an attribution, a trust label, a filter, or to be kept out of generation altogether.

Prompt injection notes

What happens when a document, email, web page or tool result contains instructions. We test whether those instructions can change what gets retrieved or what gets said.

Summary for customer security teams

A short technical write-up of the isolation controls, known limits and remediation priorities, written so an enterprise security reviewer can read it without a call.

What the review covers

Check retrieval and response controls together.

  • Built for RAG systems where sensitive content, search and generated answers meet.
  • Tenant boundaries, authorization checks, retrieval filters and response behavior are tested together, because a gap in any one of them undoes the others.
  • Each finding names the retrieval or access control involved and the change to make.

When to use it

Before adding sensitive data or another tenant.

Run this before an enterprise security review, a customer launch, a multi-tenant rollout, or indexing a more sensitive document set.

Next step

Tell us what you need reviewed.

Request a RAG assessment