Cybersecurity · Protecting Apps and Systems

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
  1. What Is AI Security?
  2. How Models Follow Instructions
  3. OWASP Top 10 for LLM Apps
  4. Direct Prompt Injection
  5. Indirect Prompt Injection
  6. Jailbreaking a Model
  7. Sensitive Information Disclosure
  8. System Prompt Leakage
  9. Overreliance on Model Answers
  10. Hallucinations as a Security Risk
  11. Privacy with AI Tools

Intermediate level

11 lessons
  1. Improper Output Handling
  2. RAG Security
  3. Data Poisoning
  4. Vector and Embedding Weaknesses
  5. AI Agent Security
  6. Excessive Agency
  7. Tool and MCP Security
  8. Model Supply Chain
  9. Unbounded Consumption
  10. Guardrails
  11. Separating Data from Instructions

Advanced level

11 lessons
  1. Adversarial Examples
  2. Model Extraction
  3. Membership Inference
  4. AI Red Teaming
  5. AI Security Evaluation
  6. Monitoring AI Applications
  7. Deepfake Detection
  8. AI-Powered Attacks
  9. AI for Defenders
  10. AI Governance and Regulation
  11. 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.

Learn tech skills easily, for freeGet the app