Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How to Hack AI Models and Agents (with Python demos & labs)
7 students

How to Hack AI Models and Agents (with Python demos & labs)

Learn from the author of Practical AI Security (No Starch) and get access to free labs
Last updated 11/2026
English

What you'll learn

  • Adversarial machine learning and image manipulation
  • Prompt injection and attacks spreading between agents
  • Memory poisoning and model backdoors
  • Learning AI security with Python

Course content

3 sections • 23 lectures • 53m total length
  • Introduction1:05
  • Harriet Farlow AI security background4:50

Requirements

  • Basic Python knowledge
  • Access to a computer
  • Internet to access labs
  • Basic AI understanding

Description

How do you hack an AI system? And what happens when one malicious instruction spreads between AI agents?

I’m joined by Harriet, author of Practical AI Security, to explore how AI models and agents can be manipulated, with practical Python demonstrations. You'll see an image classifier misidentify a rifle, a demonstration of prompt injection spreading across five agents, and how memory poisoning can plant instructions that affect an agent later. We discuss why securing AI takes more than blocking prompt injection, how machine learning creates different security challenges, and what you need to understand before deploying agents in your organisation.

Want to learn this yourself? Harriet explains how to get started with her collection of 30+ free Python notebooks, including examples you can explore in Google Colab. We also discuss the skills involved in AI security and how people from different backgrounds can contribute.

Topics include:
• Adversarial machine learning and image manipulation
• Prompt injection and attacks spreading between agents
• Memory poisoning and model backdoors
• AI supply chain security
• Learning AI security with Python
• AI security careers, training and

This course gives you access to a website environment so you can see what happens in agents.

Disclaimer: This course is for educational purposes only.


Who this course is for:

  • Cybersecurity researchers
  • Ethical hackers
  • AI Engineers