
This course contains the use of artificial intelligence.
Your language models have left the chat window. They read your documents, search your knowledge base, query your databases, and — through the agents your teams are shipping now — open tickets, move money, and change records. Every connection is capability. Every connection is also attack surface of a kind the classic security playbook was never written for: a component that can be persuaded, whose context mixes your instructions with text written by strangers.
This course teaches AI security as the systems discipline it is. You will start with why AI systems fail differently — the probabilistic attack surface, the blast radius that grows the moment a chatbot can act, and real incident case files dissected down to the control that would have stopped each one. Then you will threat-model LLM and agent systems properly: assets that include the model's attention itself, adversaries that include the authors of the content your system reads, trust boundaries drawn honestly, and the OWASP LLM Top 10 used as a completeness checklist behind a scored risk register.
Then the attacks, one family at a time, with their defenses built — not described. Direct and indirect prompt injection and the jailbreak families, countered by a layered defense stack you will run against a live payload suite. Data leakage through system prompts, shared context, and logs, countered by PII detection and redaction pipelines placed before data reaches a model. The supply chain — poisoned models, backdoors, untrusted datasets, adapters, and plugins — countered by provenance checks, signing, pinning, and admission control. Agents scoped to least privilege per task, tool output treated as untrusted input, sandboxing and approval gates that hold under fatigue, and delegation that narrows authority at every hop. Retrieval secured from inside: corpus-poisoning defenses, index integrity, and per-user access control enforced in the search itself. Guardrails and policy placed where they can be enforced — in code the model cannot talk its way past.
Finally, you will operate all of it like production. A red-team program with a maintained attack library and honest metrics — attack success rate, defense coverage, detection time. Telemetry that catches attacks without becoming a breach of its own. Incident response built for AI failures, with every incident converted into regression tests. And governance that satisfies the frameworks now governing production AI — the EU AI Act, the NIST AI Risk Management Framework, ISO/IEC 42001 — with audit evidence assembled continuously. The capstone asks you to secure a complete enterprise AI platform and defend the design in a security readiness review.
Every defense ships as working, standard-library-only Python you can run offline: a threat-model scorer, an injection-pattern scanner, a PII redaction pipeline, a sandbox policy engine, a corpus-integrity checker, a red-team harness, and the governance readiness review. No API keys. No framework hiding the mechanics. This course builds on the instructor's RAG Architecture and MCP Architecture courses where those systems need securing, and stands on its own for everyone else.