agmiAgent Memory Integrity GitHub

At-rest edit T6

Cross-context replay

Copy a genuine record from another user or thread over this one, keeping this one's identity.

What it looks like in the world: Real bytes, wrong owner. Passes any encryption that does not bind a record to its place.

attack id cross_replay · version 1 · attacker: store-access

The edit, drawn

T6 Cross-context replay

User A's memory says their password hint. The attacker copies A's genuine record over one of user B's, keeping B's ids. Every byte, including its signature, is real.

Beforeuser AA0A1A2A3A4user BB0B1B2B3B4The edituser AA0A1A2A3A4user BB0B1B2B3B4A2 copied onto B2, B's ids keptWhat the agent reads backUser B is served user A's memoryas their own. Encryption verifies,the signature verifies.

What stops it

The owning context inside the authenticated data: the tag must cover whose record this is and which thread it belongs to.

What does not

Encrypted checkpointers and per-record signatures that do not bind the record to its owner. This is the edit that separates real integrity from encryption.

Today, measured 2026-10-19

rejected on read
Recallspection ExactMemory, anchor beside the store on the same disk, the default the product ships, Recallspection ExactMemory, anchored, anchor off the store, on a separate volume or a remote service, HDP token store, content-addressed reference, read path, HDP token store, UUID reference, read path, Agent Memory reference runtime, SQLite canonical substrate, bucketed row digests, fail-closed open, Surgical DevOps G7, signed envelopes bound to their storage position, with an independent witness, Verax memory, signing keys and the memory head inside the state directory, the default layout, Verax memory, head outside, signing keys and the memory head outside the state directory, set with VERAX_KEYS_DIR, WhiteMagic Memory Crystals, LocalCrystalStore default, commitment kept off the store, WhiteMagic Memory Crystals, commitment placed inside the store directory, the counterfactual
reported on audit
inspeximus, receipts on, attacker holds the store directory, inspeximus, receipts on, attacker also holds the config home, langgraph-ledger over SqliteSaver, hash-chained ledger, verify_thread audit, memory-blackbox memory.md watcher, agent process alive, scan audit, memory-blackbox memory.md watcher, agent restarted before the scan, scan audit, Atelya Attest, keyed hash chain, verify_chain audit, Atelya Attest, keyed hash chain plus anchored head, verify and consistency audit, CONTINUUM event log, hash chain, verify_events audit, CONTINUUM event log, hash chain plus Ed25519-signed head, attest-verify audit, AtMem 2.3.8, audit chain alone, verify() audit, AtMem 2.3.8, audit chain with an external checkpoint outside the attacker-controlled store directory, verify() audit, NetOps Copilot, hash-chained change journal, verify_journal() audit, WhiteMagic Memory Crystals, signed-ciphertext audit without the key-encryption key
accepted
LangGraph SqliteSaver, OpenAI Agents SDK SQLiteSession, LlamaIndex Memory, SQLAlchemy chat store, CrewAI long-term memory, LanceDB dataset, Hermes Agent memory, MEMORY.md read through the system-prompt snapshot, Mem0 local Qdrant store, inspeximus, receipts off (default), acrf-memory-guard, per-entry HMAC over a JSON store, LangGraph PostgresSaver, LangGraph RedisSaver, Vertex AI Agent Engine Memory Bank, managed store, edits through the data-plane API, OpenClaw agent memory, MEMORY.md read through memory_get, Letta block checkpoint history

agmi-check --adapter agmi.adapters.langgraph_sqlite:LangGraphSqliteAdapter # runs T1 to T8; this is T6

Every store, this edit

accepted 13

reported 13

rejected 10

n/a 2

Reproduce

pip install agent-memory-integrity
python agmi/full_runner.py --json results/scorecard.json   # every row; the cross_replay column is this page

All 16 edits and attacks · The scorecard