AI Security
33 short lessons with interactive exercises. You start from zero and move from beginner to advanced.
- 33 lessons
- 3 levels
- Arabic & English
- Start free
What you will learn
- Tell direct and indirect prompt injection apart, and identify the sources of untrusted content in the app
- Check the model's output before the app uses it in the browser, the database or the server
- Give the AI agent least privilege, and require human-in-the-loop approval before refunds
- Plan a red teaming round, and calculate the attack success rate to compare two versions of the app
About this course
An AI assistant reads a page with a hidden sentence in it, and reveals a patient's data: how was it fooled, and how do you close the door? In the beginner level, you see how a large language model (LLM) follows instructions, spot prompt injection, jailbreaking and system prompt leakage, and learn when hallucination becomes a security risk. In the intermediate level, you see the app through the eyes of the person who builds it: you check the model's output, protect RAG apps from a poisoned document, and give the AI agent least privilege. In the advanced level, you take the defender's role: you plan a red teaming round, monitor the app's log, spot deepfakes, then design a secure app from the start. The course needs no technical background and no coding.
Skills
- Detecting prompt injection
- AI agent security
- Guardrails
- Red teaming
Lessons
Every lesson is short, and the exercises after it lock in what you learned.
Beginner level
11 lessons
- What Is AI Security?
- How Models Follow Instructions
- OWASP Top 10 for LLM Apps
- Direct Prompt Injection
- Indirect Prompt Injection
- Jailbreaking a Model
- Sensitive Information Disclosure
- System Prompt Leakage
- Overreliance on Model Answers
- Hallucinations as a Security Risk
- Privacy with AI Tools
Intermediate level
11 lessons
- Improper Output Handling
- RAG Security
- Data Poisoning
- Vector and Embedding Weaknesses
- AI Agent Security
- Excessive Agency
- Tool and MCP Security
- Model Supply Chain
- Unbounded Consumption
- Guardrails
- Separating Data from Instructions
Advanced level
11 lessons
- Adversarial Examples
- Model Extraction
- Membership Inference
- AI Red Teaming
- AI Security Evaluation
- Monitoring AI Applications
- Deepfake Detection
- AI-Powered Attacks
- AI for Defenders
- AI Governance and Regulation
- Designing a Secure AI App
Start your first lesson today
Get the Lammah app and pick “AI Security” from the courses. Each lesson takes a few minutes, and you can start free.






