Securing LLM applications

Treat the model as untrusted, keep power outside it, and test what you build

Learn where an application built around a large language model can fail and what a builder does about it: prompt injection, unsafe output, data and cost leaks, agents and tool permissions, and the model and data supply chain, with a testing habit that reports its own limits.

intermediate level, about 45 hours, 5 units, 37 labs.

Syllabus

Who it is for

Learners who finished the Foundations track or can read short Python and understand a web request. You do not need machine learning knowledge. Labs run offline or against a small local model on your own machine; none needs a paid AI account.

By the end you will be able to

Before you start

Units

  1. Unit 1: Where an LLM application can break: You will be able to draw the pipeline of an LLM application, place the OWASP Top 10 risks on it and state three rules that carry through the class.
  2. Unit 2: Prompt injection: untrusted text in the prompt: You will be able to explain direct and indirect prompt injection, what input screening can and cannot do, and how to test a defence honestly.
  3. Unit 3: Output, data and cost: what comes out and what it costs: You will be able to handle model output safely, keep sensitive data out of prompts and logs, and limit the cost of abuse.
  4. Unit 4: Agents, tools and permissions: You will be able to limit an agent with narrow tools, user-scoped permissions and approvals checked outside the model, and review a tool server before connecting it.
  5. Unit 5: Models, data and the supply chain: You will be able to vet a model and its files before use, gate them in a build and explain how poisoned data and documents reach a model.
  6. Capstone: Capstone: threat model, harden and gate a small LLM application

Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.

See all classes. Certifications are exams run by other organizations; compare them on the certification pages.

Related