🎯 Join our AI Wargame at Black Hat Europe 2026, 9–10 December, London. Register now

Supply Chain Security

8h 40mBeginnerDevSecOpsFeatured

Most of the code that runs in your product was written by someone else, built by tools you did not write, and delivered through accounts and pipelines that you do not fully control. In this course you work through real supply chain incidents, from the xz Utils backdoor to the tj-actions compromise, and reproduce the weakness behind each one on your own machine. For every attack you then apply the control that limits it, such as lockfiles with hashes, pinned workflow dependencies, short-lived credentials, signed provenance and policy checks on pull requests. The course is written for developers, and every module uses commands you can run.

Topics

  1. Introduction

    Lesson5m

    Learn what the course covers, who it is for and which tools the demonstrations use. The twelve modules start from real incidents such as the xz Utils backdoor and the tj-actions compromise, and show how to reproduce each weakness and apply the control that limits it.

  2. Supply Chain Attacks: The xz Utils Backdoor

    Lesson25m

    Start from the xz Utils backdoor and see how a library you never chose can end up inside the program that accepts logins on a server. Learn the main supply chain attack types, with a real incident for each, and the kind of control that limits each one.

  3. Attack Surface: The 3CX Compromise

    Lesson25m

    Use the 3CX compromise to see how an unrelated application on an employee's computer led to a trojanised, signed product. Inventory a sample project, trace the shortest path to its deploy token, and rank the entry points by privilege.

  4. Typosquatting and Dependency Confusion

    Lesson30m

    Reproduce a dependency confusion install on your own machine and see why a package manager installs the highest version from any source. Recognise typosquatting techniques and configure installs so that internal names resolve only to your internal registry.

  5. Typosquatting Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.

  6. Dependency Confusion Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.

  7. Malicious Packages: The Shai-Hulud Worm

    Lesson25m

    Study the Shai-Hulud worm, which used stolen npm tokens to spread from package to package. Inspect a package's metadata and contents without installing it, recognise the code patterns that malicious packages use, and respond when you suspect one has run.

  8. Malicious Packages Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.

  9. Transitive Dependencies: The event-stream Attack

    Lesson25m

    See how the event-stream incident reached applications through a dependency of a dependency. Find out why a package is in your tree, install from lockfiles with hashes, and review a dependency update before it reaches your build.

  10. Mutable Tags: The tj-actions Compromise

    Lesson30m

    Follow the tj-actions/changed-files compromise, where moved tags ran attacker code in thousands of workflows. Pin Actions, images and downloaded tools to immutable references, keep pins current with a cooldown, and enforce the rule.

  11. CI/CD Script Injection: The ultralytics Compromise

    Lesson25m

    Use the ultralytics PyPI compromise to see how a branch name became a command in a GitHub Actions workflow. Exploit and fix a script injection, choose safe triggers, limit permissions, and replace stored registry tokens with trusted publishing.

  12. CI/CD Hardening Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.

  13. Secret in CI Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.

  14. Leaked Secrets in Repositories, Images and CI

    Lesson25m

    Find a deleted secret in git history and in a container image layer, then keep secrets out of both. Learn from a CI provider breach what a stolen session can reach, and rotate an exposed secret in the right order.

  15. Secret Leak Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.

  16. Signed but Backdoored: The SolarWinds Update

    Lesson25m

    Learn from the SolarWinds Orion update why a valid signature does not prove a clean build. Sign and verify a file with cosign, generate build provenance in GitHub Actions, and choose a SLSA build level.

  17. Log4Shell: SBOMs and Policy Gates

    Lesson25m

    Use Log4Shell to see why you need to know what is inside your software. Generate an SBOM, answer "do we use this package?" with a query, and fail pull requests on vulnerabilities and licences with grype and OPA.

  18. Slopsquatting: Invented Packages from AI Assistants

    Lesson20m

    Code assistants suggest packages that do not exist, and attackers can register those names. Check suggested packages before they enter a manifest, see how an invented name becomes an attack, and review generated code for common insecure patterns.

  19. Malicious Models and MCP Servers

    Lesson25m

    Loading a model file can run code, and an MCP server acts with your permissions. Load model weights safely, pin a model to a fixed revision, and review a tool server and its tool descriptions before you connect it.

  20. AI Supply Chain Security Lab

    Challenge30m

    Complete this hands-on lab to transform your learning into a new skill.