About this course

How secure is your chatbot, RAG assistant or agent, really? This hands-on course teaches you to attack and defend AI systems systematically. You will carry out prompt injection, jailbreak and data exfiltration attacks on realistic targets, automate red teaming with tools such as PyRIT, garak and promptfoo, and translate your findings into controls and reports aligned with the AI Act and NIS2.

What you will learn

  • 01Conduct a structured red team exercise against an AI application.
  • 02Test for prompt injection, jailbreaks, data exfiltration and tool misuse by agents.
  • 03Automate attacks and regression tests with open-source red teaming tools.
  • 04Design layered defences and report findings to management and regulators.
  • 05Define the scope and rules of engagement for AI red teaming within your organisation.
  • 06Test RAG applications for indirect prompt injection, data poisoning and system prompt leakage.
  • 07Rate findings by severity and translate them into concrete mitigations.
  • 08Maintain AI security on an ongoing basis through regression testing and misuse detection in production.

Programme

  1. Module 1

    The AI threat landscape

    Why LLM applications and agents represent a new attack surface, illustrated with the OWASP Top 10 for LLM Applications and recent incidents. You will learn the difference between AI safety and AI security.

  2. Module 2

    Threat modelling

    Threat modelling for LLM applications and agents with OWASP and MITRE ATLAS, defining scope and drafting rules of engagement. Hands-on: a threat model for an existing assistant.

  3. Module 3

    Attack techniques

    Direct prompt injection, jailbreaks using role play, encoding and multi-turn escalation, and multimodal attacks via images. Hands-on: attacking a target application in an isolated lab environment.

  4. Module 4

    Attacking RAG and data

    Indirect prompt injection via documents and web pages, data poisoning, system prompt leakage and exfiltration through links and Markdown images. You will test how a malicious document can hijack the assistant's behaviour.

  5. Module 5

    Attacking agents and tools

    Excessive agency, tool misuse, confused deputy scenarios, MCP risks such as tool poisoning, and data exfiltration. Hands-on: manipulating an agent into performing unauthorised actions.

  6. Module 6

    Automated red teaming

    Using PyRIT, garak and promptfoo in a repeatable testing process, including attacks generated by another model. You will build a test suite to rerun with every release.

  7. Module 7

    Layered defences

    Input and output filters, guardrail models such as Llama Guard, least privilege, isolation of untrusted input, approval steps and monitoring. You will test how well each layer holds up against the attacks identified earlier.

  8. Module 8

    Reporting and follow-up

    Rating severity, reporting findings to management and regulators in the context of the AI Act and NIS2, and planning retests. The course concludes with a final exercise in which teams attack and defend a complete AI application.

Audience and prerequisites

Who it is for

Security specialists, penetration testers, AI engineers and architects who secure or assess AI systems.

Prerequisites

Experience in IT security or application development, and a basic understanding of LLM applications.

IT operations & infrastructureCompliance & legalSoftware engineering

Ready to make your team AI fluent?

Book a no-obligation call and we will help you shape the right programme for your organisation.