Course Outline
Module 1: AI Systems for Security Engineers
- Comparing LLMs with traditional applications
- AI inference pipelines and prompt flows
- RAG architecture, embeddings, and vector databases
- Agentic workflows and tool invocation
- AI gateways, copilots, MCP, and agent protocols
- Identifying where WAF visibility is effective and where it falls short
Module 2: 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
- Key differences from the classic OWASP Top 10
- Mapping these categories to WAF, gateway, and application-level controls
- Evaluating where specific controls succeed and where they fail
Module 3: Prompt Injection Detection
- Direct and indirect prompt injection techniques
- Hidden instructions and document-based attack vectors
- HTML and Markdown injection risks
- Jailbreak patterns, context overrides, and role confusion
- Detection methods: keyword heuristics, semantic classification, prompt linting, and boundary enforcement
- Implementing allow/deny policies and AI-aware regular expressions
- Lab 02: Attack a chatbot, bypass basic filtering, and implement layered detection
Module 4: AI-Aware WAF Rules
- Securing LLM endpoints and inference APIs
- Token-aware rate limiting and prompt size analysis
- AI-specific signatures and conversation anomaly detection
- Identifying 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: Develop AI-aware WAF rules
Module 5: Securing RAG Pipelines
- Vector database threats and embedding poisoning
- Risks from malicious PDFs and documents, including semantic poisoning
- Retrieval manipulation and hidden instruction insertion
- Cross-document contamination and data exfiltration via retrieval
- Mitigations: Ingestion sanitization, trust scoring, metadata isolation, provenance tracking, and retrieval policies
- Lab 04: Upload a poisoned PDF to compromise an assistant
Module 6: Agentic AI Security
- Excessive agency, tool abuse, API chaining, and autonomous loops
- Permission escalation, memory poisoning, and indirect tool execution
- Agent impersonation, credential leaks, and multi-agent attacks
- Implementing task-scoped authority with distinct user, runtime, task, and session identities
- Least privilege principles, approval gates, runtime policy engines, sandboxing, and tool whitelisting
- Lab 05: Secure an autonomous agent
Module 7: API Security for AI
- API gateways, GraphQL AI risks, and MCP/API abuse
- JWT protection, AI plugin security, and agent authentication
- Delegated authorization and short-lived task credentials
- 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: Detect denial-of-wallet attacks
Module 8: Detection Engineering and SOC Integration
- AI telemetry, prompt logging, and token analytics
- Anomaly detection and semantic SIEM pipelines
- AI attack indicators and threat hunting for LLM abuse
- Runtime observability and correlating principal, task, action, policy decision, and impact
- Detecting jailbreak campaigns, automated agent abuse, and model scraping
- Agent incident drills: Stop, contain, recover, and learn
- Lab 07: Monitor AI abuse patterns in logs
Module 9: Cloud WAFs and AI Security
- Implementing AWS WAF for AI APIs, Azure WAF, and Cloudflare AI Gateway
- Utilizing API gateways, Envoy AI filtering, Kong AI Gateway, and NGINX patterns
- Distinguishing between traditional WAFs, AI gateways, and application-layer guardrails
- Proxy-based versus semantic filtering approaches
- Shared responsibility models for inference, harnesses, and enterprise connectors
- Strategic placement of action, resource, and egress enforcement
Module 10: Building a Layered AI Defense
- The limitation of single-layer security, particularly WAFs alone
- Integration layers: WAF, API gateway, AI gateway, guardrails, and runtime monitoring
- Identity and authorization, sandboxing, and human approval workflows
- Observability and incident response strategies
- Lab 08: Construct a layered AI defense architecture
Module 11: AI for Defense, from Findings to Verified Fixes
- The defender's window and the importance of continuous defense
- Scoped access, security context, and maintaining security invariants
- AI-assisted triage and evidence-based prioritization
- Addressing duplicate findings and incomplete validation environments
- Local vulnerability reproduction and security regression testing
- Focused patch generation with independent human review
- Permission checks for defensive assistants and preserving security tests
- Lab 09: Investigate five reports against a synthetic multi-tenant support ticket API
Module 12: AI-Enabled Cyber Defense, the Defensive Loop
- Cycle: Prevent, detect, respond, learn, improve, and prevent
- Detection and response: Identifying compromised agents and containing them at runtime
- Discovery and validation: Finding real vulnerabilities at scale while filtering noise
- Remediation and proof: Generating patches, verifying them, and confirming vulnerability removal
- The capability ladder and controls requiring privileged access
- Lab 10: Close the defender's window
Capstone: Defending a Simulated Enterprise Assistant
- Simulated attacks involving prompt injection, tool abuse, and credential theft
- Simulated attacks involving retrieval poisoning, excessive API consumption, and agent escalation
- Team exercise: Developing WAF rules, AI gateway policies, and runtime detection
- Team exercise: Building guardrails and an incident response runbook
Requirements
- Professional experience in application security, API security, or SOC operations.
- Understanding of common web attack classes, including injection and access control failures.
- Foundational knowledge of how Large Language Model (LLM) applications are constructed.
- Proficiency with command-line tools and HTTP traffic inspection.
Target Audience
- Security engineers and Application Security (AppSec) practitioners.
- SOC analysts and detection engineers.
- API and cloud security engineers.
- Platform, infrastructure, and WAF engineers.
- Security architects and team leads overseeing 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