Your Cart
Loading

RAG Security: Retrieval Under Attack

On Sale
$7.00
$7.00
Added to cart

Your assistant trusts its documents. What if one of them lies?


RAG Security: Retrieval Under Attack is a slow, careful guide to the security of assistants that answer from documents — retrieval-augmented generation. When the assistant builds its answer from your own papers, a poisoned page — a wrong price, a false policy, a hidden instruction — can reach your customers as if it were true. This book teaches you to find the poisoned passage, prove where it came from, and stop it.


Inside (25 chapters):

• What retrieval-augmented generation is, and how a document becomes a chunk

• The retrieval attack, step by step — who poisons documents and why

• Poisoned documents, prompt injection through retrieval, leakage through retrieved passages, ranking attacks, and poisoning through public sources

• Detecting the attack: reading retrieved passages, statistical checks, behavioural signals, leakage testing, and safer chunk design

• Defence and process: source controls, output controls, monitoring, incident response, and honest reporting

• Rebuilding the index safely, RAG security in the release cycle, and a complete safe test, start to finish


All examples in this book are fictional teaching examples, built in a lab you own. A Secure The Future Series book by Rohit Kumar Chandoliya (Cheakstar).

You will get a PDF (1MB) file