Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AI Agent Security: App Security for Vibe-Coded Agents
Hot & New
New
Rating: 4.7 out of 5(66 ratings)
490 students

AI Agent Security: App Security for Vibe-Coded Agents

Secure AI-generated apps and web-based AI agents against injection, auth flaws, secrets exposure, and insecure defaults.
Created byEden Marco
Last updated 7/2026
English
English [Auto],

What you'll learn

  • Identify the top security risks in AI agents and AI-generated applications, including prompt injection, auth flaws, insecure defaults, and data exposure
  • Exploit and fix real vulnerabilities in a web-based AI agent using hands-on attack, defense, and verification exercises
  • Apply secure coding patterns for input validation, authentication, authorization, secrets handling, and least privilege
  • Recognize security issues introduced by AI coding tools and review generated code with a stronger AppSec mindset
  • Reduce agent blast radius with tool restrictions, identity-aware controls, memory protection, and guardrails
  • Use practical security review habits, checklists, and testing approaches before shipping AI-assisted applications

Course content

8 sections39 lectures2h 11m total length
  • 2026 Software Engineering5:53

    Summary

    In this tutorial, we discuss how software engineering has evolved from the manual workflows of 2024 to the fully automated, agentic workflows of 2026. We compare the entire development lifecycle across five key stages: code creation, branch management, pull requests, code reviews, and code merging.

    Previously, we wrote code manually in IDEs and sequentially managed feature branches. Today, we rely on autonomous agents that construct code, spawn parallel worktrees, open pull requests, and review themselves using AI tools like Qodo and Greptile. Finally, we explore the critical drawbacks of this shift, emphasizing the loss of human accountability, feelings of ownership, and security risks when agents autonomously review and merge their own work. This sets the background for our upcoming series on securing AI-generated code.


  • Securing AI-Generated Code in a Multi-Agent World4:14

    Summary

    In this tutorial segment, we examine the widening gap between the volume of code we can generate and the volume of code we can secure over time. We break down this expansion into three distinct stages. In Stage One, ChatGPT introduced AI code generation, prompting developers to copy and paste code directly into their IDEs. In Stage Two, specialized coding agents like Cursor and Claude Code enabled massive parallelization, shifting development from IDEs to the terminal. In Stage Three, agentic coding platforms allowed non-technical roles like HR and Product Management to build their own internal tools. Because most builders are heavily incentivized by management to prioritize rapid shipping over testing and security, and often lack basic security awareness of concepts like RBAC, DDoS, and lateral movement, the gap has expanded dramatically. We close by introducing our ultimate goal: bridging this gap and learning how to build more secure software using coding agents.


  • Velocity vs. Safety: Navigating the Default Incentives of Agentic Dev1:24

    Summary

    In this tutorial segment, we discuss the classic trade-off between velocity and safety within software development. We look at how different organizations place themselves along this spectrum depending on their culture; for instance, AI-native startups heavily prioritize velocity, while mature enterprises lean towards safety. Coding agents by default skew heavily towards velocity because they lack out-of-the-box guardrails. If we want to build secure software using AI agents, we must introduce security guardrails and mechanisms into our development lifecycle. While adding these controls might slightly slow down the pace of shipping, the long-term confidence we gain in our code is much higher, embodying the principle of planning twice and cutting once

  • Securing Agentic Coding: The Harness and Code Artifact Attack Surfaces2:53

    Summary

    In this tutorial, we focus on the two primary attack surfaces involved in agentic coding. First, we examine 'The Agent Harness'—the environment where tools like Claude Code, Cursor, Gemini CLI, and Codex run. Since these agents act with our permissions to access our terminal, credentials, and API keys, a compromised agent completely exposes our local development and production environments. Second, we analyze 'The Code Artifacts'—the actual source code written by coding agents. This output often bypasses standard human reviews due to high velocity, silently introducing critical vulnerabilities like SQL injection, insecure authentication, logic bombs, or multi-tenant leaks. Finally, we explore dependency and supply-chain risks, showing how compromised packages can harm both our local runtime and our shipped production system, leading to a ticking time bomb of vulnerabilities.


Requirements

  • Basic familiarity with software development or web applications is helpful, but deep security expertise is not required
  • Python, APIs, or backend development will make the hands-on demos easier to follow
  • Security professionals can take the course without being full-time developers, as concepts are explained from both engineering and security perspectives
  • An interest in AI agents, AI-assisted development, application security, or secure system design is recommended

Description

assisted development makes it faster than ever to build applications, but it also makes it easier to ship security mistakes at speed. This course teaches the fundamentals of application security for vibe coded apps through a practical, modern example: a web-based AI agent application with real tools, user data, authentication, and cloud access.

Instead of learning security only through theory, you’ll work through a classic real-world pattern many developers are now building: an AI-powered app that looks like a normal web product on the surface, but behind the scenes includes LLM workflows, tool calling, memory, and backend access. That makes it the perfect example for understanding both traditional app security and AI agent security together.

In this hands-on course, you’ll learn:

  • core application security concepts every AI-assisted developer should know

  • OWASP-style risks including injection, auth flaws, insecure defaults, and over-permissioned systems

  • how AI code generation can introduce vulnerabilities into apps and agents

  • how to recognize insecure patterns in generated code and architecture

  • secure coding patterns for input validation, authentication, authorization, and sensitive data handling

  • secrets management, dependency hygiene, and common supply chain risks

  • how to reduce blast radius in agentic systems with layered defenses

  • how to use automated scanning and AI-powered review workflows before deployment

  • how to build a personal security checklist for rapid AI-assisted development

A major focus of the course is showing how a classic web-coded AI agent can become vulnerable to prompt injection, data exfiltration, broken authorization, memory attacks, and excessive privilege and then walking through how to fix those issues step by step.

By the end of the course, students will understand how to build faster with AI without skipping security fundamentals, and how to apply practical defenses to both conventional software and modern AI agent applications.

Short Attack List

  • Prompt Injection

  • Indirect Prompt Injection

  • Injection Attacks

  • Broken Authentication

  • Broken Authorization

  • Insecure Defaults

  • Secret Exposure

  • Data Exfiltration

  • Memory Poisoning

  • Tool Abuse

  • Jailbreaks

  • PII Leakage

  • Dependency Risks

  • Supply Chain Risks

  • Excessive Permissions

Who this course is for:

  • Software engineers and developers building AI-powered apps, AI agents, or vibe-coded products
  • Security engineers, application security engineers, and cloud security engineers who need to assess AI application risk
  • SOC engineers and security analysts who want to understand how AI agent attacks work in practice
  • CISOs, security leaders, and technical decision-makers who need a practical view of AI agent risk and defense
  • Solutions architects, platform engineers, and engineering managers responsible for secure AI adoption
  • Anyone who wants to understand how traditional AppSec and modern AI agent security connect in real systems