← All writing

LangGraph Agent Security

9 posts in this series.

01
1. LangGraph Agent Security: What I Wish Someone Had Told Me Before I Started

What I wish someone had told me about securing LangGraph agents before I started building them.

18 min
02
2. LangGraph Architecture Primer: Understanding the Machine Before You Secure It

Understanding LangGraph's architecture before you try to secure it.

15 min
03
3. Mapping the Attack Surface: Everything Your Agent Reads Can Hurt You

Every channel through which adversarial content can reach a LangGraph agent — thirteen attack surfaces, mapped.

15 min
04
4. Core Threat Categories: What Attackers Actually Do to LangGraph Agents

Seven threat categories attackers use against LangGraph agents — how they work mechanically, and what to look for.

18 min
05
5. Threat Modeling for LangGraph Agents: Why STRIDE Needs an Upgrade

Adapting STRIDE for LangGraph agents — where standard threat modeling breaks down, and how to produce a model that ships controls instead of artifacts.

19 min
06
6. Input Validation for LangGraph Agents: Why "Just Validate the Input" Is Harder Than It Sounds

Input validation for LangGraph agents — why the classical framing breaks down on natural language, and what actually works across user, retrieval, and state channels.

14 min
07
7. Tool Security: Defending the Point Where Language Becomes Action

Tool security for LangGraph agents — least privilege, parameterized interfaces, SSRF and path-traversal protection, sandboxing, output validation, and the anti-patterns to actively avoid.

11 min
08
8. State and Memory Security: Protecting the Agent's Working Memory

State and memory security for LangGraph agents — trust-tiered schemas, immutable trusted context, encrypted checkpoints with integrity verification, namespaced long-term memory, and cross-session isolation.

12 min
09
9. Multi-Agent Trust Boundaries: When You Can't Trust Your Own Agents

Multi-agent security for LangGraph systems — why you can't trust your own agents, trust tiers and the downgrade rule, HMAC-authenticated messages, scoped delegation, quarantine layers, and patterns that contain compromised sub-agents.

12 min