Lion Cipher Lab

Data poisoning: recognising and defending against corrupted AI training data

Why it matters

Modern AI models learn from enormous piles of data — text scraped from the web, curated fine-tuning sets, and, increasingly, documents pulled in at answer time by retrieval-augmented generation (RAG). Data poisoning is when someone deliberately corrupts that data to change how the model behaves: to bias its answers, degrade its accuracy, or plant a hidden 'backdoor' that misbehaves only on a secret trigger. Because a model is only as trustworthy as what it learned from, poisoning is one of the foundational risks in AI security — OWASP lists it in its Top 10 for LLM applications, NIST's AI…

What you'll learn

Steps in this lab

  1. What data poisoning is
  2. Where poisoning gets in: three surfaces
  3. Real example: poisoning web-scale data is practical
  4. Real example: poisoned RAG documents
  5. Why poisoning is so hard to detect
  6. Defense 1: provenance, curation, and signing your data
  7. Defense 2: sanitise RAG inputs and monitor for anomalies
  8. Putting it together

Open the full interactive lab →