Book / author / resources

About the handbook

The AI Hacker's Handbook is an attack-first guide to finding, exploiting, and reporting vulnerabilities in LLMs and AI agents, written for people who want to test real systems rather than stay at the level of theory.

About the book

The AI security problems, from the attacker’s side.

The book connects familiar security thinking with the new interfaces created by models, retrieval systems, tools, and autonomous agents.

PROBLEM

New doors, familiar bugs

Web and application security failures do not disappear when an AI model is introduced. They can move into prompts, generated output, retrieval, tools, and agent workflows.

APPROACH

Attack-first and reproducible

The structure is built around labs, payloads, attack methodology, repeatability, evidence, defenses, and the reporting workflow that follows a successful finding.

SCOPE

36 chapters + 7 appendices

The coverage runs from foundations and model attacks through RAG, agents, MCP, automation, defenses, AI bug bounties, reporting, and productizing AI security testing.

About the author

Kapil Soni

Kapil Soni is a security researcher who has reported vulnerabilities to 250+ organizations, from Apple and Cisco to the U.S. Government. He builds offensive-security tooling and trains hunters to find the bugs that matter.

AUTHOR / SECURITY RESEARCHER

The book reflects an offensive-security workflow: understand the system, find the boundary, prove impact, document it, then make the defense stronger.

Who it is for

Built for people who already know how to hunt.

  • Web and API hackers moving into AI targets.
  • Pentesters and bug bounty hunters who want to work across the new AI attack surface.
  • Security practitioners who need to understand how model behavior intersects with application and agent security.
  • Defenders who want to see the attack paths they need to prevent.

Companion resources

The website stays useful after print.

Publication

Find the edition that fits your workflow.

Paperback ISBN: 978-93-6038-679-5. Hardcover ISBN: 978-93-6068-213-2. Kindle is also available.