Day 3 of 1460 minExploit ArchitectHands-on lab

Day 3: Threat Modelling a RAG Application

Taught by Mr Elite Updated

By the end of today you can

  • Draw a data flow diagram of a retrieval pipeline and mark every trust boundary
  • List the assets in a RAG system: documents, embeddings, metadata and prompts
  • Describe abuse cases from the uploader, querier and insider positions
  • Map each abuse case to a test you will run later in the course

You are handed a RAG assistant to assess on Monday. There is no scope document beyond the URL, and you have two days. If you start firing payloads at the chat box, you will find something, but you will not know what you missed. A threat model tells you where to spend those two days.

Today you build one. It is not a long document. It is a diagram, a short asset list, three attacker positions and a ranked table of abuse cases, each tied to a test. Everything from Day 4 onward is a test you pick from that table.

In this lesson

  • What a threat model is for
  • The data flow of a retrieval pipeline
  • Assets and attacker positions
  • Watch me do it
  • Your turn: model your own pipeline
  • Lab: what the assistant reads

Premium course

$27 one-time, lifetime access

This day is part of the full course. Unlock it to read every lesson, do every mission and track your progress to the end.

Privileged members get every paid course included. See the plans