Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
DevSecOps for AI-Assisted Development
New
8 students

DevSecOps for AI-Assisted Development

Secure AI-generated code, agent pull requests, dependencies, and coding agents with scanners, policy, and CI gates
Last updated 11/2026
English
English

What you'll learn

  • Identify the security risks in AI-generated code and agent-authored pull requests
  • Run Semgrep, gitleaks, Checkov, tflint, and OSV-Scanner in pre-commit and in CI
  • Use AI as a reviewer without letting it be the only gate
  • Write and test team rules as policy-as-code with Conftest and OPA
  • Block merges of agent pull requests that fail scans or policy with GitHub Actions
  • Detect hallucinated and brand-new packages before they are installed
  • Sandbox a coding agent and set explicit allow and deny permission rules
  • Give pipeline agents short-lived, least-privilege identities with OIDC
  • Keep secrets out of AI context, commits, and pipeline logs
  • Turn AI coding governance into rulesets, CODEOWNERS, and required checks

Course content

12 sections • 151 lectures • 12h 57m total length
  • The new attack surface of AI-assisted development7:18
  • Welcome: what this course protects you from4:44
  • How coding assistants actually produce code5:31
  • Agents vs assistants: what changes when the AI can act5:01
  • The four doors: code, dependencies, context, credentials4:42
  • Incident: Samsung engineers reportedly paste source code into ChatGPT, 20234:59
  • Incident: Replit agent deletes a production database, 20254:43
  • Incident: Amazon Q extension ships malicious code through an over-scoped CI token, 20254:51
  • Incident: AI labs' agents break out of their test sandboxes, 20266:54
  • Incident: an AI agent hacks a gym's booking site to get a class, 20264:32
  • How this course is built: one repo, five guardrail layers4:50

Requirements

  • Comfort with Git, the terminal, and basic GitHub pull requests
  • Basic Python and Terraform reading skills (you will not write much from scratch)
  • A free GitHub account and an AWS sandbox account you can experiment in
  • Cursor with access to Claude (or another AI coding assistant to follow along)

Description

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.

Who this course is for:

  • DevSecOps and DevOps engineers adding guardrails for AI-assisted development
  • Application security engineers reviewing AI-generated code and agent pull requests
  • Software and platform engineers whose teams use AI coding assistants or agents
  • Engineering leads who need a practical governance model for AI coding tools