Practical LLM Security · Core series October 15, 2026 · RAG and multi-agent groups October 16, 2026

Practical LLM Security

Implementation guides, worked examples, and interactive labs for protecting AI applications from abuse and fraud.

35 in-depth articles and seven interactive labs: why failures happen, where guardrails belong, and how to verify the final effect.

ADK · A2A · Model Armor · LangGraph · NeMo · MCP · OAuth

Choose a learning path

Start with attack mechanics if you are new to prompt injection. Move through ADK enforcement to understand model, tool, and approval boundaries. Compare other guardrail methods by the controls they provide, then work through fraud workflows and release evidence. Every chapter includes a worked case, implementation detail, failure tests, and primary references.

The RAG and Knowledge Security group goes deeper into the retrieval path: what an ingestion pipeline may admit, how permissions are enforced inside the vector query, how poisoned passages take over retrieval, how citations stay true after documents change, and how deletion and revocation reach every index and cache. The Multi-Agent Security group follows identity and authority across agent hops: per-hop token exchange, trust in remote agents, confused-deputy chains, sandboxed code execution, and containment of a compromised agent.

For a payment or support agent, prioritize tool authorization, exact-action approval, refund ledgers, account recovery, and incident response. For a read-only RAG assistant, prioritize indirect injection, source provenance, memory, output release, and tenant access. Content filters help, but authority comes from authenticated evidence and independently enforced service rules.

The labs run deterministic synthetic models in your browser. They do not call an LLM, inspect real people, send messages, or move money. Change one assumption at a time, inspect the decision trace, and export the result. The teaching outcomes are deliberately distinct from measured production security performance.

Attack mechanics and threat modeling

ADK enforcement

Other guardrail methods

Abuse and fraud workflows

Evaluation and operations

RAG and Knowledge Security

Ingestion, permission-aware retrieval, index poisoning, citation integrity, and revocation across indexes and caches. Added October 16, 2026.

Multi-Agent Security

Delegated identity, agent-to-agent trust, confused deputies, sandboxed code, and containment of a compromised agent. Added October 16, 2026.

Seven hands-on experiments