
Explore how large language models function as input-output systems from a QA perspective, examine the trust boundary, and compare prompt injection to the classic sequel injection vulnerability.
Map the LLM attack surface, define the system prompt, and learn direct, jailbreaking, and indirect injection techniques, QA workflows, and defense to become an effective tester.
Build a foundation for understanding ai systems by explaining what a prompt is and how system prompts and user input share a context window, revealing where prompt injection vulnerabilities arise.
Examine prompt injection in large language models, where attacker inputs override instructions, and why OWASP LLM-01 version 2.0 ranks as the top risk informing QA security testing.
Discover how llms process system prompts, user inputs, and external data, why these sources all look like text to the model, and how that expands prompt injection risk.
Map the LLM attack surface from chat inputs, documents, web content, email, and metadata. Use QA checklist with chat interface, file uploads, and web retrieval to guide prompt injection testing.
Explore direct injection, the most straightforward form where attackers type payloads into the user input field, the starting point for testing chat interfaces, with real-world examples and a live demo.
Explore direct injection attacks in the wild, highlighting real-world failures like DPD and Bing where prompts override system boundaries, and learn how these attacks work and evade defenses.
Explore direct injection attacks through four real-world payloads—roll override, system prompt leakage, goal hijacking, and data exfiltration—demonstrating how they operate on production systems today.
Explore how attackers extract the system prompt through completion, translation requests, and roleplay, exposing guardrails, business logic, and API keys while challenging the defense to hold against every prompt-injection technique.
Evaluate prompt injection flaws through the Gandalf live demo, revealing passwords in unguarded LLMs and testing evolving defenses with encoding, role play, and token smuggling.
Jailbreaks expose LLM attack patterns driven by prompt manipulation, not single prompts, using DAN as an early example; QA testing should target behavior patterns with variation and clear fail criteria.
Differentiate prompt injection from jailbreaking by their targets and risks, and apply the correct remediation path—prompt fixes or external safety filters.
Identify common jailbreak patterns in AI safety testing, including DAN mode, fictional framing, token smuggling, persona switching, and competing objectives, to craft robust test cases and defenses.
Explore jailbreak in action with a DAN mode demo, showing a two-turn prompt attack against a safety-aligned model, and how persistence pushes reveal prompt-injection flaws.
Explores fictional framing as a contextual jailbreak that tests safety alignment, showing how content filters and intent-based defenses can miss harmful guidance wrapped in fiction.
Indirect injection shifts the attack path from prompts to processed content, with hidden instructions in documents. Quality assurance teams test every content surface to protect trust boundaries against poisoned documents.
Identify how indirect injection leverages content to trigger injected instructions, creating a landmine in documents, emails, or web pages, with a payload leading to data exfiltration.
Shows a pdf attack demo for finding prompt injection flaws, where an nda pdf prompts a legal assistant to summarize confidential clauses, exposing a high severity failure in trusted documents.
Demonstrating prompt injection flaws in a pdf demo, the lecture shows how injecting a system override directive into a contract exposes confidential content and urges testing of all attack vectors.
Demonstrates image injection demo setup in a pdf-attack against an AI legal assistant using Mistral. Compare baseline confidentiality summary with a high-severity fail caused by poisoned pdf instructions bypassing guardrails.
Demonstrates an image injection attack against an invoice processing assistant. Observe how a crafted prompt can override instructions and approve payment.
Discover how RAGs grounding of LLMs exposes a hidden attack surface through asynchronous poisoning of knowledge bases, and apply QA testing and remediation with sanitization and strict retrieval filtering.
Move from manual poking to a structured, repeatable test matrix that defines a secure state for every vector and sets success criteria before tests.
Craft a precise bug report detailing endpoints and payloads to reproduce prompt injection flaws, noting expected vs actual results, attack pattern, system prompt exposure, business impact, and remediation.
Integrate prompt injection testing across the full software development lifecycle from requirements to release, using threat modeling, automated payload scans, and a reusable Python suite in ci-cd.
Implement a repeatable security workflow with automated regression against a production API and nightly payload tests to detect prompt drift, then expand with adversarial red teaming for novel bypasses.
Leverage automation, evaluation, guardrails, and monitoring to scale prompt-injection testing, running automated matrices, grading results with llm, enforcing safety, and tracking outcomes for root-cause analysis.
Explore defense and remediation for prompt injection flaws, outlining six defense strategies and a verification checklist. Learn the tester's role in validating robust remediation and bridging tester developer collaboration.
Learn six defense strategies for secure llm apps. Map verification tests to mitigations including input validation, prompt hardening, output filtering, privileged separation, human in the loop, and content provenance.
Execute the defense verification checklist with blackbox testing across input controls, output controls, and architecture to verify boundaries, leakage prevention, logging, and least-privilege design.
Learn to identify and remediate LLM prompt injection by distinguishing direct and indirect vectors, mapping global surfaces, and using QA testing to report reproducible bugs.
Automate LLM-01 prompt injection testing by converting manual direct, jailbreaking, and indirect injections into a repeatable local workflow that runs payloads, captures responses, and flags failures.
Identify vulnerabilities through human-driven discovery and interpretation while using automation for regression, scale, and repeatable testing to detect prompt injection flaws across models.
Explore the test harness architecture for automated prompt-injection testing, using test case files with payloads, a local runner, and structured artifacts for traceable evaluations that cover cases and evaluate responses.
Transform manual LLM security findings into reusable automated test cases with structured attack payloads, metadata, and explicit fail triggers to verify safe behavior and regression artifacts.
Ensure reproducibility in ai security testing by controlling the environment and execution protocol: fix temperature and top p, pin the model version, and run five sessions with raw outputs preserved.
Learn to generate comprehensive test evidence using run log csv, failures.json, summary.md, and raw response traces for audit, debugging, and trend analysis.
Run a downloadable exercise that loads test cases and pin configuration values and yields run logs and failure files, recognizing it as a regression exercise that requires manual testing.
AI-powered applications are being shipped faster than they're being tested. Prompt injection is the OWASP Top 10 vulnerability most teams don't know how to test for — and this course fixes that.
This course is built for QA engineers, SDETs, and manual testers who work on software that uses large language models. You don't need a security background. You need to know how to test, and this course teaches you how to apply that skill to AI systems.
What you'll learn:
How LLMs process instructions and why that creates a testable attack surface
The difference between direct injection and indirect injection — and why both matter
How to execute jailbreak attacks, PDF injection attacks, and image-based injection attacks using local models
How to write a complete bug report for an LLM security finding, including the transcript evidence a developer needs to reproduce it
How to integrate LLM security testing into your existing QA workflow
What makes this course different:
Most AI security content explains what the risks are. This course shows you how to find them. Every concept is demonstrated with a live demo using real tools — Ollama, Mistral, and Open WebUI — running locally on your machine. No cloud accounts required, no API keys, no cost to run the demos yourself.
Who this course is for:
QA engineers and SDETs who want to add AI security testing to their skill set. Manual testers working on products that use LLMs or generative AI. Developers who want to understand what a security-focused tester will look for in their code.
By the end of this course you'll be able to identify prompt injection vulnerabilities, execute test cases against LLM-based systems, and document your findings in a format developers can act on.
This course was developed with the assistance of AI tools for content organization, slide design, and script refinement. All course content, technical instruction, demonstrations, and subject matter expertise are my own.