Free AI Security Labs (241 hands-on) | Lion Cipher
AI Security has 241 free hands-on labs on this site: 48 beginner, 82 intermediate and 111 advanced. The most common subjects are AI engineering (42), AI security (42) and AI harnesses (40), and the labs have you practise things like image classification. A typical lab takes about 75 minutes, and the list starts with the easiest, Add guardrails to your LLM app. Most-used tools here: Python, scikit-learn, Ollama, pip.
First 24 of 241 labs, easiest first
- Add guardrails to your LLM app: filter what goes in and what comes out
- AI-generated text and why detectors can't be trusted
- Audit what an AI browser extension is allowed to see by reading its manifest permissions
- Build a local image classifier
- Build a private RAG app on your own machine
- Build a recommender system
- Build a semantic search engine for your own documents
- Build a spam filter with Naive Bayes
- Check before you paste: a ten-second secret and personal-data check for anything you send to an AI chat
- Check where a photo came from with Content Credentials (C2PA)
- Classify text with a local model
- Compare two local models to pick the right one for your task
- Data poisoning: recognising and defending against corrupted AI training data
- Detect and redact PII with Microsoft Presidio
- Detect outliers with Isolation Forest
- Detect phishing URLs with machine learning
- Detect toxic content with a model
- Differential privacy hands-on with Python
- Embeddings and vector search from scratch (locally)
- Explain a single model prediction with LIME
- Explain why a model made a prediction with SHAP
- Extract text from images with OCR
- Find secrets leaking into your LLM request logs with a gitleaks rule, and scrub them before they are stored
- Fine-tune a small AI model with LoRA
Cheat sheets
Tool documentation
Certifications
Interview preparation
Related topics
- scikit-learn Tutorial: 14 Free Hands-On Labs
- Ollama Tutorial: 15 Free Hands-On Labs
- Sigma Tutorial: 12 Free Hands-On Labs
- Free Foundations Labs (126 hands-on) | Lion Cipher
- Free SOC Analyst / Blue Team Labs: 155 Hands-On
- Free Cyber / Security Engineer Labs: 145 Hands-On
Related
- Add guardrails to your LLM app: filter what goes in and what comes out
- AI-generated text and why detectors can't be trusted
- Audit what an AI browser extension is allowed to see by reading its manifest permissions
- Build a local image classifier
- Build a private RAG app on your own machine
- Build a recommender system
- Build a semantic search engine for your own documents
- Build a spam filter with Naive Bayes
- Check before you paste: a ten-second secret and personal-data check for anything you send to an AI chat
- Check where a photo came from with Content Credentials (C2PA)
- Classify text with a local model
- Compare two local models to pick the right one for your task
- Data poisoning: recognising and defending against corrupted AI training data
- Detect and redact PII with Microsoft Presidio
- Detect outliers with Isolation Forest
- Detect phishing URLs with machine learning
- Detect toxic content with a model
- Differential privacy hands-on with Python
- Embeddings and vector search from scratch (locally)
- Explain a single model prediction with LIME
- Explain why a model made a prediction with SHAP
- Extract text from images with OCR
- Find secrets leaking into your LLM request logs with a gitleaks rule, and scrub them before they are stored
- Fine-tune a small AI model with LoRA
- scikit-learn Tutorial: 14 Free Hands-On Labs
- Ollama Tutorial: 15 Free Hands-On Labs
- Sigma Tutorial: 12 Free Hands-On Labs
- Free Foundations Labs (126 hands-on) | Lion Cipher
- Free SOC Analyst / Blue Team Labs: 155 Hands-On
- Free Cyber / Security Engineer Labs: 145 Hands-On
- scikit-learn cheat sheet
- Ollama cheat sheet
- Gitleaks cheat sheet
- Git cheat sheet
- Python official documentation
- scikit-learn official documentation
- Ollama official documentation
- AI Security certifications and free study routes (3 listed)
- AI Security interview preparation
- Plain-English glossary
- Free cyber labs