Skip to content

New CS proposal: RAG Security #2126

@razashariff

Description

@razashariff

Retrieval Augmented Generation is now standard architecture for enterprise AI applications, but no OWASP cheat sheet covers its unique attack surface. AISVS addresses RAG in C08 (Memory, Embeddings and Vector Database) but there is no practitioner-level guidance on how to defend RAG pipelines in production.

This cheat sheet would cover:

  1. Document poisoning (malicious content injected into the retrieval corpus)
  2. Embedding manipulation (adversarial inputs that distort similarity search)
  3. Context window attacks (retrieved chunks that override system prompts)
  4. Access control inheritance (ensuring document-level permissions carry through to vector chunks)
  5. Source attribution and provenance (verifying where retrieved content came from)
  6. Chunk isolation (preventing cross-tenant or cross-classification data leakage in shared vector stores)
  7. Index integrity (detecting tampering with the vector index itself)
  8. Query injection via retrieval (user queries crafted to surface sensitive documents)
  9. Do's and Don'ts

References: OWASP AISVS C08, OWASP Top 10 for LLM Applications, OWASP AI Exchange.

Happy to contribute to or co-author the draft.

Thanks,
Raza

Metadata

Metadata

Assignees

Labels

ACK_OBTAINEDIssue acknowledged from core team so work can be done to fix it.NEW_CSIssue about the creation of a new cheat sheet.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions