
This course contains the use of artificial intelligence.
AI now writes a large share of the code your team ships, and coding agents open pull requests on their own. That code is fast, confident, and often insecure: SQL built from user input, secrets pasted into source, buckets left open, permissions set to star. Agents add new risks of their own: package names the model simply made up, credentials within reach of a prompt injection, and pipeline tokens that can push straight to main.
This hands-on course shows you how to ship what AI writes without shipping its mistakes. You work in one realistic repository, a Python API with its Terraform, with Claude in Cursor as the AI and GitHub Actions as the pipeline. Every lecture adds a guardrail you can take back to your team.
What you will build
See what AI gets wrong: ask Claude for a feature the way a busy developer does, then let Semgrep, gitleaks, Checkov, and OSV-Scanner show what it shipped.
Review gates: AI review in a fresh context, scanners in pre-commit, team rules as policy-as-code with Conftest, and a CI gate that blocks agent pull requests when a scan or policy fails.
Supply chain: catch hallucinated and brand-new packages before anything installs them, with lock files, hashes, and OSV-Scanner in CI.
Agent lockdown: run a coding agent in a sandbox with no network and only the project mounted, set explicit permission rules, give pipeline agents short-lived least-privilege identities with OIDC, and keep secrets out of AI context.
Governance: rulesets, CODEOWNERS, required checks, and labeled AI pull requests, so every repository in your organisation gets the same protection.
Every demo is recorded on real tools, and every lecture comes with a PDF of the commands and prompts plus the lab files, so you can follow along on your own machine and AWS sandbox.
By the end you will have a checklist and working examples for every control, ready to apply to your own repositories.