Last updated: April 28, 2026
LLMs leak data multiple ways:
Training-data extraction
Memorised training examples can be extracted. Carlini et al. 2021 paper showed GPT-2 leaked PII. Larger models more memorisation.
Embedding leakage
Embeddings encode semantic information about input. Inversion attacks reconstruct original text from embedding (especially when search/retrieval is used).
Third-party API risks
Sending data to OpenAI / Anthropic / Google = data crosses your boundary. DPDP §16; sectoral compliance.
Conversation memory
Multi-turn assistants accumulate context. Sensitive data in turn 1 visible in turn 50.
Defences
- Don’t train on sensitive data without anonymisation
- Self-hosted models for sensitive workloads
- Tokenisation before LLM call
- Vendor DPAs with explicit no-train clauses
Module Quiz · 6 questions
Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.
Custom team training + practitioner advisory
Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.