Genai Applied
Sign in Get my playbook

Track 15 · Security

15.13 RAG, Memory & AI Data Security

30 topics in 6 parts. Use it as a checklist before an interview, or as a map of what to learn next.

  • CCritical
  • HHigh
  • MMedium
  • NNew 2026

01RAG Security — Retrieval Is Authorization8 topics

  • "Of the documents this user may see, what is most similar?"C
  • Post-filtering is a vulnerability: quality, metadata leakage, inference, refactor riskC
  • Pre-filter inside the query; stronger still, a namespace per tenantC
  • Three ACL approaches: snapshot, live check, group pre-filter + live confirmC
  • Chunk-level permission divergence when sources have section-level ACLsH
  • Filtering citations after generation is NOT access controlC
  • RAG poisoning: every upload is an untrusted-content injection vectorC
  • Embeddings carry the source data's classification (inversion research)H

02AI Memory Security5 topics

  • Conversation, user, agent, shared and cross-tenant memory scopesC
  • Memory turns a one-turn injection into a persistent backdoorC
  • Delayed-trigger attacks defeat per-message classifiers entirelyC
  • Structured typed memory instead of free text; provenance per itemH
  • User-visible, user-editable memory — also a DPDP/GDPR requirementH

03AI Data Security6 topics

  • What may enter a prompt, an index, an external provider, a logC
  • Data classification, and choosing controls per classH
  • Redaction vs masking vs tokenisation — and when each is rightH
  • Data minimisation outranks detection toolingH
  • Residency, retention, and the erasure question per storeC
  • Fine-tuning and the right to erasure — decide it earlyC

04Output Security4 topics

  • Treat model output exactly as an anonymous internet request bodyC
  • Nine sinks: HTML, SQL, shell, code, HTTP, paths, JSON, other agents, decisionsC
  • The ordering: parse → semantic validation → authorization → business rules → execute → auditC
  • Agent-to-agent injection and the structured-message defenceH

05AI Supply Chain Security4 topics

  • Dependencies, container images, model weights, datasets, vector DBs, MCP serversH
  • Loading a pickle-based model artifact IS code execution — prefer safetensorsC
  • An embedding-model change is a re-index eventH
  • SBOM (CycloneDX/SPDX), Sigstore signing, SLSA, pinning by hashH

06Drills & Architecture Exercise 9.123 topics

  • Why is RAG authorization different from authentication?C
  • "Can our documents leak from your shared vector collection?" — answer honestlyC
  • Why is LLM output untrusted if the provider is reputable?C

All 53 modules

Practise it

Knowing it is half.
Saying it is the rest.

Run a realistic voice interview with an AI panel in the Interview Room, then read a scored report on every answer.