Questions / answers / practical details

FAQ

A practical guide to what the book covers, who it is for, what you can read for free, and where the companion resources live.

The essentials

Before you start hunting.

The answers below stay close to the published book structure and the information maintained on the official website.

What is The AI Hacker's Handbook?

It is a technical, attack-first cybersecurity book focused on finding, exploiting, and reporting vulnerabilities in LLMs and AI agents. It covers the model, prompt, application, retrieval, tool, agent, automation, defense, and reporting layers.

Who is this book for?

It is aimed at web and API hackers moving into AI targets, pentesters and bug bounty hunters, security practitioners building AI-testing capability, and defenders who want to understand the attack paths they need to prevent.

What topics does the book cover?

The 36 chapters cover AI attack-surface foundations, model attacks, prompt injection and jailbreaks, insecure output handling, RAG poisoning, data exfiltration, model and supply-chain attacks, agents, tools, MCP, multi-agent systems, memory, browser and coding agents, automation, CI/CD, defenses, AI bounties, vulnerability reporting, scoring, and productizing AI security testing.

Does it cover prompt injection?

Yes. Direct prompt injection is covered in Chapter 7 and indirect prompt injection in Chapter 8, with additional prompt-related material in the surrounding model and application chapters.

Does it cover AI agents?

Yes. Part IV covers the agent threat model, excessive agency, tool-call abuse, MCP, multi-agent exploitation, memory poisoning, browser and computer-use agents, and AI coding assistants.

Does it cover RAG security?

Yes. Chapter 14 covers RAG poisoning and vector-store attacks, including retrieval-pipeline failures, poisoned documents, embedding and similarity manipulation, and cross-tenant or cross-user retrieval.

Does it cover MCP security?

Yes. Chapter 21 is dedicated to MCP Server Security, including tool poisoning, server impersonation and rug pulls, tool shadowing and unsafe composition, and MCP authentication-flow auditing. Chapter 31 covers MCP defenses.

Is it suitable for penetration testers?

Yes. The book is explicitly structured around an offensive-security workflow and includes methodology, labs, tooling, attack harnesses, scaling, evidence, defenses, and reporting.

Is it suitable for bug bounty hunters?

Yes. The later part of the book covers AI bounty scopes, target selection, report writing, probabilistic bug scoring, triage, and turning AI-security skill into a professional or business capability.

Does the book contain practical labs and examples?

Yes. The structure includes a dedicated AI hacking lab chapter, practical attack chapters, payload material, tooling guidance, vulnerable practice targets, and a companion repository.

Where can I buy the book?

Paperback, hardcover, and Kindle editions are available through Amazon. The current site links directly to the editions and keeps those links consistent with the book’s official site.

Is there a sample chapter?

Yes. The standalone sample page lets you choose Chapter 21, MCP Security, or Chapter 4, First Blood, which is described in the site as the prompt-injection-focused sample. A secure download link is sent by email.

Is there a companion GitHub repository?

Yes. The companion repository is github.com/xowia/tahh. The site describes it as containing the automation harness, payload records, gate.py, and render scripts.

Still deciding?

Read a real chapter first.

Choose the MCP or prompt-injection sample, then decide whether you want the complete 36-chapter handbook.