Observatory defense blueprint · ATO.M0003

RAG Tenant-ACL Filtering & Vector Provenance Gate

Enforce document-level tenant ACLs inside vector index queries before retrieval, pair with chunk provenance signing, and quarantine anomalous corpus injections.

Control blueprint overview

Control ID
ATO.M0003
Framework
Observatory defense blueprint
Stack layers
Network/IAM · System-Prompt / Context · Input/Output Classifier
Techniques addressed
0
OWASP LLM Top 10
NIST AI RMF
Reference URI
https://observatory.silvauren.com/catalog/mitigations/ato-m0003/

Open ATO.M0003 in Interactive Defense Workbench

Control mechanism

Eliminates cross-tenant retrieval leaks and corpus poisoning at the vector-database boundary by pushing authenticated user/group ACL filters directly into ANN index metadata predicates (`WHERE tenant_id = ? AND group_id IN (...)`), verifying chunk ingestion provenance, and scanning retrieved chunks for hidden prompt-injection instructions prior to context assembly.

Implementation steps

  1. Index explicit `tenant_id`, `acl_principals`, `classification`, and `source_sha256` metadata alongside every vector embedding chunk.
  2. Execute vector similarity search strictly with pre-filtering on verified JWT claims—never retrieve top-k globally and ask the LLM to filter.
  3. Scan newly ingested documents for indirect prompt injection, hidden text, and poisoned high-centrality anchor chunks before indexing.
  4. Audit document deletion/permission revocation sync lag so revoked files vanish from vector indexes within minutes.

What this control stops

Known bypass conditions & residual risk

Latency, usability & false-refusal trade-offs

Latency: +2-10 ms for pre-filtered HNSW/IVF vector queries; +8-20 ms if screening retrieved chunks with a prompt classifier. | False-Refusal Risk: Zero false refusals; unauthorized documents never enter retrieval candidates. | Operational Cost: Medium data-engineering effort to keep enterprise IdP/SharePoint/Drive ACLs synced with vector metadata.