synodic-ai™ AI SECURITY
AI Security Desk · Agent System Security

What agents remember, what GPUs hold, and which agent to believe

Three papers posted on 2026-11-13 address security properties that have to hold inside an agent system rather than at its edge. One makes an agent's model-written memory provably unreadable after a forget request, one recovers what a running model computed for a single request straight from GPU memory, and one chooses among answers from a group of agents so that a malicious minority has little room to steer the result. Each reports what its guarantee costs.

Forgetting has to follow the lineage

Long-term memory layers for LLM agents store mostly what the model wrote, not what the user said: summaries, extracted facts and embeddings derived from conversations, which are then retrieved to write further memories. The first paper shows why deleting a message does not honor an erasure request. When the authors planted 35 secrets such as door codes in long benchmark conversations, a 1.5-billion-parameter writer copied the exact secret into a derived memory for 14 of them and the topic for 22. After the user asked to forget the planted turns, an attacker holding every file and the current keys recovered all 35 under logical deletion, which leaves deleted rows in free database pages and soft-deleted vectors in the index, and 22 when each object or each epoch had its own encryption key, because the model's copies kept their own keys. In the open-source memory layer they integrated with, the history table even kept the text of deleted memories by design.

LinEra defines the goal as lineage-complete forward-secure erasure: after a forget request, an adversary who later obtains all storage and the system's current secret state learns nothing about the forgotten input or anything derived from it. Each memory is encrypted under a key derived from its parents' keys, and source keys come from a puncturable pseudorandom function, so forgetting a source is a single puncture and every descendant becomes undecryptable without being located. Vector shards are keyed the same way. The parents of a memory are, by rule, everything in the writer's context when it was written, which needs no access to the model, only to the prompt. With this rule nothing leaked through any channel, while a variant that attributed parents more selectively still leaked the topics of 3 secrets. A 7-billion-parameter writer on ten conversations confirmed the pattern: 70 of 71 forgotten secrets leaked after logical deletion, 67 with per-object or epoch keys, none with LinEra.

The price is the forgetting radius. A memory written from f source turns survives a random forget rate p with probability close to (1 - p) to the power f, and a session-level writer that also reads earlier summaries has a fan-in of well over a hundred turns, so forgetting 1% of turns erased 73% to 75% of derived memories. Writing facts from four-turn windows cut the fan-in to about 4 and the radius to under 4%, and the windowed writer also answered better. Re-deriving lost memories from what survives restored answer quality at one model call per affected session or window. The scheme does not protect model weights, memory in RAM at the moment of forgetting, copies made before the request, a secret the user repeated in another message, or the shape of the lineage graph, which stays in clear.

Reading a running model without changing it

The second paper treats a live inference process as evidence. Forensics for machine-learning systems usually targets static artifacts such as weights or prompt logs, but the residual-stream activations that record what a model computed for one request exist only briefly in GPU memory. The authors attach a non-modifying debugger to an unmodified PyTorch process and follow a six-stage process: attach, clock, identify, read, validate and use. A clock built from breakpoints on the caching allocator, or on kernel launches where the allocator is blind, yields a stream of memory events; a blind selector picks out the residual-stream buffers by their hand-off pattern, in which each layer's output is freed just after the next layer's output is allocated; and the bytes are read one allocation after each tensor is created, since reading earlier returns stale memory.

Without architecture parameters or weights, the allocator path recovered byte-exact states on 33 open-weight decoder-only models across nine architecture classes, and a kernel-launch path worked on three serving engines with stated failures. From the process alone it derived token count, hidden size and layer count, but not which model was running. As a use case, a refusal probe trained on ordinary framework activations was frozen and applied, under a pre-registered test, to states recovered from a default-configuration serving engine for 142 prompts never used in development: AUROC 0.876, balanced accuracy 0.777 and a false-positive rate of 0.282, with recovered and hook-based AUROC within 0.0003 of each other. The authors call this a way to prioritize requests, not a verdict.

The bounds are explicit. Acquisition needs local debugger privileges, worked on models up to 3.4 billion parameters plus one 4-bit 7-billion-parameter model at batch size 1, and was tested on one older laptop-class GPU. It is non-modifying but not non-intrusive: halting at every allocation slowed execution 46 to 192 times, and with the collector attached one prompt to a 0.5-billion-parameter model took about 160 seconds. The selector needed two revisions, and no platform-independent identification rule was found. The paper covers detection only, not writing to model memory.

Choosing among agents' answers when some are hostile

The third paper models a multi-agent system in which a manager agent splits a task into subtasks, sends each to a group of agents sharing a role, and aggregates their answers. An attacker controls some agents, whether supplied by an untrusted party or compromised. The paper's response manipulation attack, ReMA, refines malicious answers in rounds against a surrogate copy of the system, with a generator, a surrogate manager and a critic, and has variants for attackers who do not know the honest answers, the aggregation rule or the manager's model. On 500 tasks across five domains, with groups of ten agents built from two agent frameworks and six models, and two malicious agents in one group, ReMA reached attack success rates up to 1.00 against existing rules such as summarizing all answers, picking the most confident answer or filtering suspected injections before summarizing. Even with no knowledge of the system it reached 0.61 untargeted and 0.49 targeted against summarization in the news domain.

SecMAS embeds every answer, scores each by the sum of its similarities to its m - f - 2 most similar peers, where m is the group size and f an assumed bound on malicious agents, and selects the top-scoring answer. Leaving f + 1 answers out of every neighborhood guarantees that at least one excluded answer is honest, which yields bounds on how far the selected answer can drift from the truth or toward an attacker's target, provided honest answers cluster near the correct one. Against every attack, including adaptive versions of ReMA that know the rule, success rates stayed near 0.00 under the strongest threat model, with no statistically significant loss of utility without attacks. The bound matters: with f set to 1 against two malicious agents, SecMAS became vulnerable, and the authors suggest setting f to half the group size minus one. A group of one agent is a single point of failure, and more model diversity in a group lowered attack success. Attack success was judged by a language model, and the guarantees may not hold when honest answers vary widely in quality.

Guarantees that survive the component

The three results share a design stance: each guarantee is placed where the model's behavior cannot undo it. LinEra does not ask the writer to remember what it copied, the forensic method does not ask the serving stack to cooperate, and SecMAS does not ask any single agent to be honest. Each also states its price, in erased memories, in slowdown, or in the number of agents a group must contain.

Sources