
Free PDF/Technical Deep Dives
Prompt Injection Is Not a Joke
Security for AI Systems That Read Untrusted Text
A book by Alpesh Nakrani
Subscribe to get the complete book. Your PDF downloads immediately.
- Pages
- 169
- Chapters
- 17
- Format
- PDF · 28.2 MB
01/Overview
What's in the book
When the input is instructions, every text field is an attack surface. A practitioner’s account of defending AI systems in the wild.
02/Inside the PDF
Table of contents
PDF page- FMFront Matter: Prompt Injection Is Not a Joke—
- INTIntroduction: The String in the Ticket16
- 01The Ticket That Tried to Email Itself22
- 02A Prompt Is Not a Security Boundary30
- 03Assets, Trust Boundaries, and the TRUST Framework38
- 04The Confused Deputy, Least Privilege, and Blast Radius46
- 05Talking the Model Out of Its Instructions53
- 06Input Handling: What Classifiers and Boundaries Can and Cannot Do60
- 07The Supply Chain of Untrusted Text68
- 08RAG Is an Attack Surface: Ingestion and Retrieval Defenses75
- 09Read Tools, Write Tools, and the Argument Nobody Validated83
- 10Capability Manifests, Tool-Call Gates, and Approval Flows90
- 11The Many Doors Data Leaves By99
- 12Secrets, Minimization, Canaries, and the Limits of Output Filtering107
- 13When the Attack Outlives the Session115
- 14Defense-in-Depth: The Whole Architecture123
- 15Red Teams, Fixtures, and Tests That Load Malicious Documents131
- 16Monitoring, Forensics, and the Injection Incident139
- 17Ten Systems, Ten Threat Models, Ten Launch Checklists147
- AAppendix A: Back Matter157
The full chapters, illustrations, and reference material are included in the downloadable PDF.

Prompt Injection Is Not a Joke
The complete edition,
ready to read offline.
Alpesh's bookshelf
Get your free copy.
Subscribe to Alpesh’s book and writing updates. Unsubscribe anytime.
Enjoy your book
Your download is ready.
You’re subscribed. Your PDF download should start automatically.
Download PDF againIf it doesn’t start, use the button above.



