Get in Touch

Course Outline

Overview of LLM Architecture and Attack Surface

  • Understand how LLMs are built, deployed, and accessed via APIs
  • Identify key components in LLM app stacks (e.g., prompts, agents, memory, APIs)
  • Analyze where and how security issues emerge in real-world usage

Prompt Injection and Jailbreak Attacks

  • Define prompt injection and explain its dangers
  • Explore direct and indirect prompt injection scenarios
  • Examine jailbreaking techniques used to bypass safety filters
  • Discuss detection and mitigation strategies

Data Leakage and Privacy Risks

  • Address accidental data exposure through model responses
  • Investigate PII leaks and misuse of model memory
  • Learn to design privacy-conscious prompts and retrieval-augmented generation (RAG)

LLM Output Filtering and Guarding

  • Utilize Guardrails AI for content filtering and validation
  • Define output schemas and constraints
  • Monitor and log unsafe outputs

Human-in-the-Loop and Workflow Approaches

  • Determine where and when to introduce human oversight
  • Manage approval queues, scoring thresholds, and fallback handling
  • Understand trust calibration and the role of explainability

Secure LLM App Design Patterns

  • Implement least privilege and sandboxing for API calls and agents
  • Apply rate limiting, throttling, and abuse detection
  • Develop robust chaining with LangChain and ensure prompt isolation

Compliance, Logging, and Governance

  • Ensure auditability of LLM outputs
  • Maintain traceability and prompt/version control
  • Align operations with internal security policies and regulatory requirements

Summary and Next Steps

Requirements

  • Familiarity with large language models and prompt-based interfaces
  • Experience in developing LLM applications using Python
  • Knowledge of API integrations and cloud-based deployments

Target Audience

  • AI developers
  • Application and solution architects
  • Technical product managers utilizing LLM tools
 14 Hours

Related Categories