Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Threat Modeling for GenAI: LLM Security & Risk Scoring
New
6 students

Threat Modeling for GenAI: LLM Security & Risk Scoring

Threat modeling for GenAI: find LLM risks, score them, and harden your AI apps with templates and a real project.
Created byACHRAF ER-RAYA
Last updated 10/2026
English

What you'll learn

  • Perform systematic threat modeling for GenAI, LLMs, RAG, and AI agent architectures.
  • Identify and mitigate prompt injection, data poisoning, and model inversion risks.
  • Apply OWASP Top 10 for LLMs, STRIDE-AI, and DREAD-AI risk scoring frameworks.
  • Implement input/output guardrails, context boundaries, and model firewalls.

Course content

5 sections • 7 lectures • 1h 6m total length
  • Deep Dive into Non-Deterministic Failure Modes, Prompt Injection, and Stochastic10:04
  • Deep Dive into Non-Deterministic Failure Modes, Prompt Injection (PART2)4:23

Requirements

  • Basic understanding of application security concepts and standard web architecture. No prior machine learning or AI security experience required.

Description

This course contains the use of artificial intelligence.

Generative AI applications present entirely new attack surfaces that traditional application security frameworks fail to address.

Who this course is for:

  • Application Security Engineers designing controls for GenAI deployments.

  • Cybersecurity Architects evaluating risk in RAG and Agentic systems.

  • AI/ML Engineers building LLM-powered applications in production.

  • CISOs and IT Risk Managers needing clear residual risk evaluation metrics.

  • Penetration Testers transitioning into AI red teaming and security reviews.

What you will learn:

  • Conduct end-to-end threat modeling tailored specifically to Generative AI architectures

  • Identify and prevent direct and indirect prompt injection attacks

  • Secure Retrieval-Augmented Generation pipelines and vector storage layers

  • Apply OWASP Top 10 for LLMs and STRIDE-AI to production environments

  • Implement context-aware input/output guardrails and model firewalls

  • Calculate risk scores for non-deterministic model failure modes using DREAD-AI

  • Design secure trust boundaries between LLMs, APIs, and autonomous tools

  • Quantify residual risk and create executive-ready compliance documentation

Requirements:

  • Basic understanding of application security and threat modeling concepts.

  • Familiarity with general LLM terminology (e.g., prompts, embeddings, RAG, agents).

  • No prior machine learning or red teaming experience is required.

Final Project Description: You will perform a complete, end-to-end security assessment on "Enterprise SupportBot AI," an autonomous agent platform connected to internal knowledge bases and backend execution APIs. Using the downloadable templates, you will construct data flow diagrams, identify high-risk trust boundaries, score non-deterministic risks, and produce a production-ready Threat Model Report with actionable mitigation strategies.

Who this course is for:

  • Application Security Engineers, Cloud Security Architects, and AI Developers building, securing, or auditing Generative AI applications and LLM pipelines.