AI Security Atlas › All entries › RAG & Knowledge Retrieval Security

GuardrailFixes high risks

Document-Level Access Enforcement

Retrieval and citation paths enforce per-document ACLs tied to the authenticated principal.

Open in the interactive atlas →

Impact

Prevents unauthorized document exfiltration through RAG answers.

Why this severity

Guardrails take the highest severity of the risks they mitigate: Unauthorized Document Exfiltration (High), Missing Document ACLs (High), Over-Privileged Retrieval Indexing (High).

Method: OWASP Risk Rating Methodology

Related

Mitigates

Builds on

Needed by

Remediation

  1. Filter search hits with `canRead(user, doc)` before LLM context assembly.
  2. Bind citations to the same ACL check used for download.
  3. Log denied retrievals for detection analytics.

How to verify

Pattern

hits = hits.filter(h => acl.canRead(user, h.docId));

Framework mapping

OWASP Top 10 for LLM Applications 2025

MITRE ATLAS

NIST AI RMF 1.0