Red Teaming Generative AI: Practical Exercises to Find Prompt Injection and Model Weaknesses

AI Security & Adversarial Risk Series Book 1 · Daniel Mercery
Ebook
130
Pages
Tools
Eligible
49% price drop on Oct 29

About this ebook

Generative AI systems introduce new attack surfaces that traditional security testing does not cover. Red teaming is essential to uncover how large language models fail under adversarial conditions.


Red Teaming Generative AI is a hands-on guide for security testers and engineers tasked with identifying weaknesses in LLM-based systems. The book focuses on practical testing techniques rather than theory, providing repeatable exercises that mirror real-world attack scenarios.


It explains how to structure red team engagements specifically for generative models and how to translate findings into actionable risk decisions.


Readers will learn how to:


Design red team scopes for LLM-powered applications

Execute prompt injection, jailbreak, and data extraction tests

Evaluate model behavior under adversarial inputs

Define metrics for model robustness and failure severity

Document findings using clear, repeatable reporting formats

Communicate results to engineering and risk stakeholders


This book equips practitioners with the tools needed to proactively test generative AI systems before attackers do.

Generative AI systems introduce new attack surfaces that traditional security testing does not cover. Red teaming is essential to uncover how large language models fail under adversarial conditions. Red Teaming Generative AI is a hands-on guide for security testers and engineers tasked with iden...

Discover more

About the author

Daniel Mercer is an experienced AI and cybersecurity strategist, author, and technical advisor specializing in operationalizing machine learning, secure AI deployment, and enterprise AI governance. With a background in ML engineering, DevOps, and corporate AI risk management, Daniel has helped organizations across technology, finance, and energy sectors build reliable, secure, and auditable AI systems.


As an author, Daniel bridges the gap between technical expertise and executive decision-making, translating complex AI, MLOps, and governance concepts into practical frameworks, step-by-step guides, and actionable workflows. His books equip engineers, business leaders, and C-suite executives with the knowledge and tools to scale AI responsibly, monitor performance effectively, and maintain compliance and trust throughout the AI lifecycle.


Through his writing, Daniel Mercer is dedicated to empowering organizations to adopt AI with confidence, ensuring operational excellence, security, and ethical responsibility from model development to retirement.

Daniel Mercer is an experienced AI and cybersecurity strategist, author, and technical advisor specializing in operationalizing machine learning, secure AI deployment, and enterprise AI governance. With a background in ML engineering, DevOps, and corporate AI risk management, Daniel has helped or...

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.

Continue the series

More by Daniel Mercery

Similar ebooks