What's in This Course
This course takes a coding agent with real access to a project and makes it safe to leave running. It's built around Duebook, a small invoicing app with fake keys and an attack planted in its test setup. You'll map what your agent's commands can reach, put them in a sandbox, run the whole agent in a throwaway Docker Sandboxes virtual machine, swap your own logins for a GitHub token only the agent holds, write allow-lists for unattended runs, plant prompt injections and see what they can do, add an audit log, and finish by testing the setup against three attacks.
It's an advanced course for developers who already use a coding agent (Claude Code, Codex or Cursor) every day and know its permission or approval modes. The lessons are recorded with Claude Code on a paid plan or an API key, and each lesson page gives the Codex and Cursor version of every step that's specific to Claude Code, or says plainly where one of them has no equivalent. You'll also need Node 22.12 or later, and macOS, Linux or WSL2. Lesson 03 adds Docker Sandboxes (free, with a free Docker account), and lesson 04 a GitHub account and a repository you can push to. Every settings file, script and command is on its lesson's page.
Duebook and its attacker's side are the course's two repos, duebook and duebook-attacker, with a tag for the start of each lesson.
Tested with Claude Code 2.1.314 (Claude Opus 5.5), Node 22.22.0 and macOS, 30 Oct 2026.