// Comparison
Practical AI Security vs Security Engineering: Which Should You Read?
Two cybersecurity books on Defensive, compared honestly: who each is for, what each does best, and which to read first.
A Hands-on Guide to Attacking, Defending, and Securing Modern AI Systems
Harriet Farlow
The founder of an AI-security firm, with a PhD in adversarial machine learning, walks from how models fail to how they're exploited to how they're defended and audited, with over 30 hands-on Python demos.
Ross Anderson's comprehensive textbook on the design of secure systems, covering protocols, access control, side channels, economics of security, and policy.
Read this if
Skip this if
Key takeaways
- First book in this catalog to treat AI/ML systems as a first-class attack surface in their own right, not a feature bolted onto traditional appsec.
- Structured around the full lifecycle: how models fail, how failures become exploits, then how to defend and audit against both.
- Over 30 hands-on Python demos keep the material concrete rather than theoretical — attacks and defenses you can actually run.
- Most production failures are economic and organisational, not cryptographic: incentives shape outcomes far more than primitives.
- Threat models from one domain (banking, telecom, military) generalize to the next once you know what to look for, and Anderson is the best in the field at showing you.
- Side channels, supply chains, and policy are first-class engineering concerns, not footnotes.
How they compare
We rate Security Engineering higher (5/5 against 4/5 for Practical AI Security). For most readers, that means Security Engineering is the primary pick and Practical AI Security is a useful follow-up.
Both books target advanced-level readers, so the choice is about topic, not difficulty.
Practical AI Security and Security Engineering both cover Defensive, so reading them in sequence reinforces the same material from different angles.
Keep reading
Practical AI Security
→ Alternatives to Practical AI Security→ What to read after Practical AI Security