Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AI Security Architecture: Production-Grade Defense
New
1 students

AI Security Architecture: Production-Grade Defense

Threat-model, defend, and operate production AI systems — injection, privacy, supply chain, agents, governance.
Last updated 11/2026
English

What you'll learn

  • Explain how a probabilistic, instruction-following component changes a system's security model
  • Assess blast radius from tool access, data access, and autonomy — and set autonomy budgets
  • Dissect real AI incidents into root causes and name the control that would have stopped each
  • Run a structured threat-modeling session for an LLM or agent feature, with a scored risk register
  • Apply the OWASP LLM Top 10 (2025) as a completeness checklist mapped to your own architecture
  • Recognize direct and indirect prompt injection payload shapes — and why blocklists alone fail
  • Assemble the layered injection defense stack: least privilege, prompt structure, screening, human gates, monitoring
  • Write system prompts that leak less, and keep secrets and true policy out of them entirely
  • Build PII detection and redaction pipelines that run before data reaches a model, a log, or a third-party API
  • Design privacy architecture: data minimization, per-store retention clocks, consent and purpose discipline
  • Verify model provenance, screen for poisoned and backdoored models, and secure the AI supply chain end to end
  • Enforce signing, hash pinning, and admission control so production runs only the approved estate
  • Scope agent privilege per task and per user, with grants that expire — and classify tools read/write/destructive
  • Treat tool output as untrusted input: schema validation, provenance tags, and result budgets
  • Sandbox agent actions and design human approval gates that survive fatigue
  • Defend retrieval: corpus integrity, ingestion gates, and per-user access control enforced inside search
  • Place guardrail checkpoints where they can enforce policy, and express policy as versioned, testable code
  • Build a red-team program: attack libraries, automated suites, and security metrics leadership can govern by
  • Gate model, prompt, tool, and corpus releases on security evidence and signed-off residual risk
  • Design AI telemetry that detects attacks without logging secrets, and detect probing in live traffic
  • Run incident response for AI systems — containment, scoping, recovery — and convert incidents into regression tests
  • Map controls to the EU AI Act, NIST AI RMF, and ISO/IEC 42001, and assemble audit evidence continuously
  • Design and defend a complete AI security architecture in the capstone readiness review

Course content

14 sections • 57 lectures • 9h 53m total length
  • Welcome: Why AI Security Is Its Own Discipline7:08
  • Course Map and the Defense-in-Depth Mindset7:27

Requirements

  • Working knowledge of Python (you can read and write small programs; every demo is standard-library only)
  • Basic familiarity with LLM applications — you have called a model API, used a chatbot with tools, or built a simple RAG pipeline
  • General software-security literacy (authentication, authorization, least privilege) at a conceptual level
  • No formal security certification is assumed; the threat-modeling method is taught from first principles
  • A computer with Python 3.11+ to run the companion code repository

Description

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.

Who this course is for:

  • AI and ML engineers shipping LLM features, RAG applications, and agents into production
  • Security engineers and architects asked to review, approve, or defend AI systems
  • Platform engineers building the gateways, guardrails, and telemetry AI workloads run behind
  • Engineering and product leaders accountable for AI risk, compliance, and customer trust
  • RAG and agent builders from this series' earlier courses who now need the security layer