Module 11 of 12

Security, Testing & Quality

Lessons

About This Module

An app that works is not the same as an app that is safe. AI tools aim to produce code that runs, and they can easily leave behind problems such as exposed API keys, missing login checks, or databases that anyone can read. Before real people use your app, you need to check for these.

This module covers the most common security risks in AI-generated code, how attackers find them, and how to protect your secrets and your users' data. It also shows how to test your app, including using AI to help write tests, so you catch problems early instead of after launch.

Watch the lessons in order, then continue on to Limits & Shipping Real Products.

Lessons

5 videos
01

AI-Generated Code Security Risks: Why “Vibe Coding” Can Break Your App

The main risks of AI-assisted development, from leaked API keys to made-up packages, and how to secure what the AI builds.

02

Vibe Coding Has A Security Problem (And How To Fix It)

Why vibe-coded apps create security problems, especially around access to sensitive data, and what to do about it.

03

AI Hacked My Vibe-Coded App. It Found 13 Vulnerabilities.

An AI security engineer attacks a live, AI-built app and finds 13 exploitable vulnerabilities, 8 of them high severity.

04

How to Test Your Code (Even When AI Writes It)

Why testing matters even more when AI writes the code, and how different kinds of tests catch problems.

05

How I Got AI to Write Good Tests

What makes AI-generated tests actually useful, for anyone who thinks models only write poor tests.