
Why a paragraph of text can make an AI assistant leak data, and why the fix lives in the application around the model.
A repeatable way to test an AI application, from what you're allowed to touch to proof that the fix worked.
How the lab works, which way of following the course suits your computer, and the rules every test follows.
What the model is really given, who wrote each part, and who makes the decisions.
Where content you don't fully trust meets something with authority, and what goes wrong at each one.
The company, the people who use its assistant, what the assistant can look up, and the seven things it can do.
The distinction at the heart of this course: what the model did, and what the application allowed.
Get the lab running without typing a single command, or follow along with nothing installed at all.
Every step of a run, on one screen: what went in, what the model asked for, and what actually happened.
Nothing here is required. If you'd like to see a real model in action, here's how to pick the route that fits your computer.
Route A, step by step: from download to the LIVE (local) badge, with nothing to type.
Routes B and C: an online provider's key in the lab's settings file, or the whole lab in a web page.
Twelve normal tasks, four roles, and one question: what does the assistant do when nobody is attacking it?
Eleven tasks behaved, one didn't, and nobody attacked anything.
Five things an attacker wants from a typed attack, and why a system prompt can ask but can't enforce.
Six patterns behind typed attacks, and why blocking keywords only slows an attacker down.
One typed attack, traced from the message to the leaked data, and the exact point where the application failed.
Eight typed attacks, two questions each, and a verdict you can defend.
Six application failures, two cases of model behavior, and what a real model did differently.
Attacks where the attacker never talks to the assistant, and the victim is a normal user doing normal work.
Five stages, five chances to stop planted text, and the trick that turns an answer into a data leak.
One edit, one ordinary question, and a link that carries an employee's details to an outside site.
Six cases, three kinds of source, and one job: follow the planted text from where it hides to what it does.
Five application failures, one near miss handled correctly, and the evidence that proves where it came from.
When an assistant can send, change and reset things, a successful injection stops being words on a screen.
When the assistant acts with its own wide access, on behalf of someone who doesn't have it.
An outside email becomes a ticket, the ticket becomes instructions, and the instructions become actions.
Six cases where the assistant can act. For every tool call: what was proposed, and what really ran?
Five application failures, one attack stopped by the role it ran as, and where the fault really lies.
Seven places along the request path to put a protection, and the kind that carries the weight.
Permissions, tool checks, approved domains, human approval, and designs that keep untrusted text away from actions.
Cleaning, marking and screening content: each one useful, none of them a guarantee.
The vendor ticket attack, replayed against one protection at a time. Which ones stop it, and which only slow it down?
Nine protections, one at a time, five cases each: what does each one stop, and what does it break?
No protection stopped all three attacks alone, three broke a normal task, and one layered set stopped everything.
One number says how often attacks still work. The other says whether the assistant still does its job.
A real model gives different answers to the same request. Test it like that, and test it again after every change.
A test case says who's asking, what they ask, and exactly what would count as harm.
Every attack and every normal task, on baseline and on hardened, scored and saved.
Every attack stopped in scripted runs, one task swapped for another, and what's still left to own.
If you only keep the final answer, you'll never find out where the instruction came from or what it made happen.
The injected text is what set it off. The root cause is the check the application didn't make.
A confidential price list reached an outside address. You have a day of logs. Find out how.
Ten log lines, one forwarded email, and a check the application never made.
It passes the suite. The team wants to switch it on Monday. Your job is to say whether it's ready.
A developer should be able to read it, reproduce it, fix it and prove the fix, without calling you.
A person approved it. The suite passed. The diagnostics bundle still left the company.
This course contains the use of artificial intelligence.
When an AI assistant reads a document, a ticket or a tool result, any instruction hidden inside can steer it. Prompt injection is the top risk in the OWASP Top 10 for LLM Applications, and the fix is never just a better prompt. This course teaches you to assess an AI application the way a security tester does: assume the model will sometimes follow injected text, and make the application decide what that text is allowed to change.
You'll work on one fictional company's service desk assistant, built for this course and supplied as a lab kit you run on your own computer. It answers from a knowledge base, reads tickets, and can send email, open tickets and change group membership. You'll attack it, watch exactly where each attack lands, switch protections on one at a time, prove what they stop and what they break, investigate an incident from the assistant's logs, and finish with a full assessment of a release candidate that passes every test in the suite but still isn't safe to switch on.
What you'll work on
A repeatable 7-step method: scope, map, baseline, attack, diagnose, control and retest
The five trust boundaries of an LLM application, and the three verdicts: application failure, model behavior and no impact
Direct injection: what it tries to do, the technique families, and why filters miss them
Indirect injection through a retrieval (RAG) pipeline: poisoned articles, hidden text, uploaded files and tickets from outside
Tools and excessive agency: whose authority the assistant uses, and how a ticket can make it send email
Seven control layers, from identity and roles to the tool gateway, and approval steps that actually help the approver
Proving a control works: attack success and task completion across repeated runs, regression testing and honest reporting
Logging and investigation: building a timeline from logs and separating the trigger from the root cause
Writing findings that get fixed: severity, evidence, reproduction steps, root cause, recommendation and retest
How the course works
Seven hands-on labs plus a capstone assessment, each with a step-by-step guide (Word and PDF) and a worksheet
A lab kit you start with a double-click: no coding, and every install is explained before you need it
A built-in scripted model, so every lab works without an AI account; connect a local model (Ollama) or an AI API if you'd like to see a real model vary from run to run
An observation track with saved reference results if you can't install software on your computer
Pause-and-decide exercises in the lessons, each followed by a worked answer
A capstone findings report, with a model report to compare yours against
An optional extension that runs your tests in Promptfoo, an open-source testing tool
Who this course is for
Security analysts and application security testers who are new to LLM applications
Developers and AI engineers responsible for a RAG, chatbot or agent feature
Application owners and AI project leads who must sign off on an AI assistant before it goes live
This is an independent, practical course. It isn't preparation for a certification exam and it isn't a catalog of jailbreak tricks. Every attack in it is aimed at the supplied lab only: you'll only ever test systems you own or are authorized to test.