Chapter 12. Protecting Agentic Systems
The adoption of AI agents introduces unique security challenges distinct from traditional software. Agentic systems—characterized by their autonomy, advanced reasoning capabilities, dynamic interactions, and complex workflows—significantly expand the threat landscape. Effectively securing these systems requires addressing not only traditional security concerns but also unique vulnerabilities inherent to agent autonomy, probabilistic decision making, and extensive reliance on foundational AI models and data.
Generative AI has introduced a formidable and expanding threat vector in the cybersecurity landscape. These technologies amplify risks through sophisticated attacks like deepfakes for fraud, prompt injections to hijack systems, and memory poisoning in multiagent workflows, where tainted data can cascade into systemic failures or unauthorized actions. For instance, in early 2025, a Maine municipality fell victim to an AI-powered phishing scam that exploited generative voice cloning to steal between $10,000 and $100,000, while the Chevrolet dealership’s chatbot was manipulated via prompt injection to offer a $76,000 vehicle for just $1, highlighting how easily safeguards can be bypassed. Similarly, agentic systems have exposed new vulnerabilities, as seen in Google’s Big Sleep agent uncovering a zero-day flaw in SQLite (CVE-2025-6965), but also raising concerns over autonomous agents potentially escalating privileges or drifting from objectives ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access