AI Security Audit
RAG Security audit
Check that retrieval-augmented generation only retrieves what each user is allowed to see, and that your knowledge base cannot be poisoned.
Why it matters
The assistant retrieves and summarises documents the user is not allowed to open.
Malicious or wrong documents added to the index change answers for everyone.
Embeddings databases often hold sensitive content with weaker access controls.
What the audit checks
Each check is answered Yes or No, with a reason and supporting evidence.
- Is document-level access control enforced at retrieval time for each user?
- Are sources reviewed or approved before they are added to the knowledge base?
- Is access to the vector database restricted and logged?
- Is retrieved content treated as untrusted input by the model?
- Can a document be fully removed from the index when it is withdrawn?
Evidence we ask for
Related frameworks
Framework references show where this audit area relates to recognised frameworks and regulations. They help you organise evidence; they are not a certification, and they are not legal advice.
How to run the RAG Security audit
- Set the scope. List the AI systems, models or agents the RAG Security audit covers, and name an owner for each one.
- Assign the 5 checks. Send each check to the person who can answer it. Every answer is Yes or No, with a short reason.
- Collect the evidence. Request evidence such as: Retrieval access-control design, Ingestion approval process, Vector store access policy and Deletion test record. That way each answer can be verified rather than taken on trust.
- Review the findings. The AI analysis highlights No answers, missing or weak evidence and the risks above, and proposes corrective actions with owners.
- Repeat on change. Run the audit again after major model, prompt, data or configuration changes, and at least once a year.
Who it is for: Security teams, AI engineering leads and CISOs deploying LLM-based products or internal assistants.