Secure AI Agents & MCP Applications: Identity, Authorization, Sandboxing, and Security Testing for Tool-Using Agents in Python (AI Engineering)
Language: English
Published by Independently published, 2026
Series: Book 7 of 8 - AI Engineering
- Softcover
- New

Seller: California Books, Miami, FL, U.S.A.California Books
AbeBooks seller since October 27, 2023
Condition: New
US$ 29.00
Quantity: Over 20 available
Add to basketItem description from seller
Print on Demand.
Seller Inventory # I-9798165571930
- Title
- Secure AI Agents & MCP Applications: Identity, Authorization, Sandboxing, and Security Testing for Tool-Using Agents in Python (AI Engineering)
- Author
- Corvick, Braylen; Mondal, Masud
- Publisher
- Independently published
- Publication year
- 2026
- Condition
- New
- Binding
- Soft cover
- Language
- English
- ISBN 13
- 9798165571930
- Series
- Book 7 of 8: AI Engineering
Your agent will be tricked. The question is what it can do next.
Prompt injection cannot be fully prevented by a better system prompt. Once an agent can call tools, read inboxes, open pull requests, or move money, security becomes an action problem: who is acting, with what authority, under what limits, and with what evidence. This book shows you how to build that control layer in Python.
Who this book is for
- Python developers and AI/ML engineers shipping tool-using agents
- Platform and security engineers building or reviewing MCP servers
- Application-security teams that must sign off on agent deployments
What you will build and learn
- Agent identity and delegation: short-lived credentials and OAuth 2.1 token exchange so agents never hold standing secrets
- Policy as code for every tool call: fine-grained authorization with a ready-to-use policy library
- Human approval that holds up: approvals bound to the exact action, arguments, and context
- MCP authorization end to end: PKCE, protected resource metadata, and token exchange per the 2026-07-28 specification
- Tool supply-chain defense: detecting tool poisoning, rug pulls, and shadowing, and pinning what you trust
- Containment: exfiltration controls, memory protection, sandboxing, and runtime limits for a compromised agent
- Proof: security observability, audit evidence, CI/CD security gates, incident response, and passing the security review
What makes it different
Most AI-security books describe risks. This one assumes the model is already hostile. You will test your agent against a deliberately compromised model and verify invariants that must hold regardless of what the model says: no unapproved high-risk action, no credential escape, no silent data egress, and a complete audit trail.
- 18 chapters in 5 parts, 41 figures, 43 tables, and 118 code listings
- 8 appendices: production-readiness checklist, MCP security checklist, threat-modelling worksheet, testing matrix, policy library, incident runbook, framework adapters, and version matrix
- Controls mapped to the OWASP Top 10 for Agentic Applications (2026) and the OWASP Top 10 for LLM Applications (2025)
Companion code
Every pattern is implemented in Wardgate, an open-source reference control layer on GitHub (Python 3.12-3.14, MCP Python SDK 2.2, container sandbox, CI security gates, and an evidence pack you can adapt for your own review).
Ship agents your security team can approve. Scroll up and get your copy.
"Synopsis" may belong to another edition of this title.
California Books
Miami, FL, U.S.A.
AbeBooks seller since October 27, 2023
Shipping rates within U.S.A.
| Item | 3 to 7 business days | 2 to 5 business days |
|---|---|---|
| First item | US$ 2.00 | US$ 18.00 |
Payment methods
Store description
We have 20 years experience selling books worldwide! Friendly customer support. Your satisfaction guaranteed!
Specialty
All authorized categoriesSeller's business information
Miramar International Services LLC
FL, U.S.A.
Terms of sale
www.californiabooks.com
Shipping terms
www.californiabooks.com