Course Outline
Module 1: Understanding AI Systems for Security Engineers
- Contrasting LLMs with conventional applications
- AI inference pipelines and the flow of prompts
- RAG architecture, embedding processes, and vector databases
- Agentic workflows and tool invocation mechanisms
- AI gateways, copilots, MCP, and agent communication protocols
- Limitations of WAF visibility and blind spots in AI contexts
Module 2: The OWASP GenAI Top 10
- Prompt injection, insecure output handling, training data poisoning, and model denial of service
- Supply chain vulnerabilities, sensitive data disclosure, and excessive agency
- Vector and embedding weaknesses, misinformation risks, and unbounded resource consumption
- Distinctions from the traditional OWASP Top 10 list
- Aligning these categories with WAF, gateway, and application-level controls
- Evaluating the effectiveness and limitations of each control
Module 3: Detecting Prompt Injection
- Identifying direct and indirect prompt injection methods
- Recognizing hidden instructions and document-based attack vectors
- HTML and Markdown injection techniques
- Jailbreak patterns, context overriding, and role confusion tactics
- Detection strategies: keyword heuristics, semantic classification, prompt linting, and boundary enforcement
- Implementing allow and deny policies with AI-aware regular expressions
- Lab 02: Attacking a chatbot, bypassing basic filters, and constructing layered detection systems
Module 4: Developing AI-Aware WAF Rules
- Safeguarding LLM endpoints and inference APIs
- Implementing token-aware rate limiting and prompt size analysis
- Utilizing AI-specific signatures and conversation anomaly detection
- Mitigating multi-turn abuse, model enumeration, and inference scraping
- Protection against Denial of Wallet attacks
- Case studies: Securing chat completions, streaming APIs, and recursive agent calls
- Lab 03: Crafting effective AI-aware WAF rules
Module 5: Securing RAG Pipelines
- Threats to vector databases and embedding poisoning risks
- Mitigating malicious PDFs, documents, and semantic poisoning
- Countering retrieval manipulation and embedded hidden instructions
- Preventing cross-document contamination and data exfiltration via retrieval
- Defense mechanisms: Ingestion sanitization, trust scoring, metadata isolation, provenance tracking, and retrieval policies
- Lab 04: Injecting a poisoned PDF to compromise an assistant
Module 6: Agentic AI Security
- Addressing excessive agency, tool abuse, API chaining, and autonomous loops
- Preventing permission escalation, memory poisoning, and indirect tool execution
- Defending against agent impersonation, credential leakage, and multi-agent attacks
- Implementing task-scoped authority with distinct identities for users, runtimes, tasks, and sessions
- Applying least privilege, approval gates, runtime policy engines, sandboxing, and tool whitelisting
- Lab 05: Securing an autonomous agent environment
Module 7: API Security for AI
- API gateways, GraphQL AI risks, MCP, and general API abuse
- JWT protection, AI plugin security, and agent authentication
- Managing delegated authorization and short-lived task credentials
- Implementing separate mechanisms for task termination, revocation, and downstream verification
- Secret management, signed prompts, and maintaining an AI API inventory
- Aligning controls with the OWASP API Security Top 10
- Lab 06: Identifying and blocking denial-of-wallet attacks
Module 8: Detection Engineering and SOC Integration
- AI telemetry, prompt logging, and token analytics
- Anomaly detection and semantic SIEM pipeline implementation
- Identifying AI attack indicators and hunting for LLM abuse
- Runtime observability: correlating principals, tasks, actions, policy decisions, and effects
- Detecting jailbreak campaigns, automated agent abuse, and model scraping
- Conducting agent incident drills: Stop, Contain, Recover, Learn
- Lab 07: Monitoring logs for AI abuse patterns
Module 9: Cloud WAFs and AI Security
- Configuration of AWS WAF for AI APIs, Azure WAF, and Cloudflare AI Gateway
- Integration with API gateways, Envoy AI filtering, Kong AI Gateway, and NGINX patterns
- Comparing traditional WAFs, AI gateways, and application-layer guardrails
- Evaluating proxy-based versus semantic filtering approaches
- Understanding shared responsibility for inference, harnesses, and enterprise connectors
- Strategic placement of action, resource, and egress enforcement
Module 10: Constructing a Layered AI Defense
- Recognizing that no single layer, especially a WAF, can secure AI alone
- Integrating WAF, API gateway, AI gateway, guardrails, and runtime monitoring
- Implementing identity and authorization, sandboxing, and human approval workflows
- Enhancing observability and incident response capabilities
- Lab 08: Designing a comprehensive layered AI defense architecture
Module 11: AI for Defense: From Findings to Verified Fixes
- Navigating the defender's window and establishing continuous defense
- Managing scoped access, security context, and security invariants
- Utilizing AI-assisted triage for evidence-based prioritization
- Addressing duplicate findings and limitations of validation environments
- Reproducing vulnerabilities locally and creating security regression tests
- Generating focused patches with independent human review
- Enforcing defensive assistant permission checks and preserving security tests
- Lab 09: Investigating five reports against a synthetic multi-tenant support-ticket API
Module 12: AI-Enabled Cyber Defense: The Defensive Loop
- The cycle: Prevent, Detect, Respond, Learn, Improve, Prevent
- Detection and Response: Identifying compromised agents and containing them at runtime
- Discovery and Validation: Scaling vulnerability discovery while filtering noise
- Remediation and Proof: Generating patches, verifying them, and proving vulnerability elimination
- Understanding the capability ladder and controls requiring privileged access
- Lab 10: Closing the defender's window
Capstone: Defending a Simulated Enterprise Assistant
- Simulating attacker attempts at prompt injection, tool abuse, and credential theft
- Simulating attacker attempts at retrieval poisoning, excessive API consumption, and agent escalation
- Team exercise: Building WAF rules, AI gateway policies, and runtime detection
- Team exercise: Developing guardrails and an incident response runbook
Requirements
- Practical knowledge of application security, API security, or SOC operations.
- Familiarity with common web attack vectors, including injection techniques and access control failures.
- A foundational understanding of the construction of LLM applications.
- Proficiency with command-line tools and HTTP traffic analysis.
Target Audience
- Security engineers and AppSec practitioners.
- SOC analysts and detection engineers.
- API and cloud security specialists.
- Platform, infrastructure, and WAF engineers.
- Security architects and team leads accountable for managing AI systems in production.
Testimonials (3)
inventory and identifying the different risk exposures within AI
Gary Cook - Cybersecurity and Information Technology Risk Division
Course - Introduction to AI Trust, Risk, and Security Management (AI TRiSM)
I really enjoyed learning about AI attacks and the tools out there to begin practicing and actively using for security testing. I took a lot of knowledge away which I didn't have at the beginning and the course met what I hoped it would be. My favorite part shown from the training was Comet Browser and was amazed at what it could do. Definitely something will be looking into more. Overall it was a great course and enjoyed learning all OWASP GenAI Top 10.
Patrick Collins - Optum
Course - OWASP GenAI Security
The profesional knolage and the way how he presented it before us