Vendor-neutral field guide

Agent state can be attacked.

Start with what changes, how to detect it, and how to recover.

A defensive reference on attacks against agent context, memory, and goals.

Defensive scopeClassification, detection, mitigation, and recovery. No exploit recipes.

State surface map

What can be changed?

Runtime state sits between untrusted inputs and later decisions.

  1. 01ContextActive instructions and observations
  2. 02MemoryDurable state carried across decisions
  3. 03GoalsObjectives, constraints, and authority
  4. 04ToolsResults, environment state, and artifacts
  5. 05Shared stateInter-agent messages and common stores

Five-part index

Follow the problem from term to control.

View all pillars

Publication ledger

Latest reference entries

Full reference

State Surfaces

Compromised Summaries and Context Compaction: Security Risks for AI Agents

What the security risks of context compaction are for AI agents: how compaction can preserve adversarial state while dropping valid constraints, what evidence to log, and how to prevent, contain, and recover from compromised summaries without publishing attack recipes.

Target: Context and Durable MemoryPersistence: Session to Cross-Session

Definitions

Agent State Attack: Definition, Scope, and Boundaries

The SSA working definition of an agent state attack, with boundaries around model-weight attacks, accidental behavioral state decay, ordinary invalid input, and the OS-layer self-state attacks defined in arXiv 2607.17986.

Target: MultiplePersistence: Single Turn to Shared-System