Metraipolis › archive › dc_7605727712d2
Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened — arXiv:2608.16032
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.16032
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T19:33:58.635Z
- SHA-256 of the archived text
001de30d0f40ba978d3d2e4d79d53223078517a756985e6a30d5dec151063c00- Stable URL of this page
https://metraipolis.com/documento/dc_7605727712d2
How to cite
Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened — arXiv:2608.16032 — arXiv (en), https://arxiv.org/abs/2608.16032 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7605727712d2 (Metraipolis archive dc_7605727712d2, sha256 001de30d0f40ba978d3d2e4d79d53223078517a756985e6a30d5dec151063c00)
BibTeX
@misc{dc7605727712d2,
title = {Proof-of-Execution Memory: Defending LLM Agents Against Forged-Reasoning Attacks by Verifying What Actually Happened — arXiv:2608.16032},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.16032},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7605727712d2; sha256 001de30d0f40ba978d3d2e4d79d53223078517a756985e6a30d5dec151063c00},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.16032. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
LLM agents are stateless and rely on external memory to carry context between steps. Because agents treat that memory as trustworthy, an adversary who can write to it can steer their behavior. The FARMA attack does this with no malicious command: it inserts fabricated entries into the agent's reasoning memory claiming a required safety step is already done, so the agent skips it. SENTINEL, the defense proposed with FARMA, scores entries against a fixed list of suspicious wordings; its authors note that an attacker who knows the list can reword the forgery and evade it, and leave this open. We show the gap is worse than stated. An automated attacker that simply asks a language model to reword the forgery evades SENTINEL on its first try, reducing its protection to zero on every model tested. We also find a capability paradox: the attack succeeds far more often on stronger models (98-100% on GPT-4o and GPT-4o-mini) than on Llama-3.1-8B (44%), because more capable agents follow reworded claims more faithfully, so the threat grows with capability. We propose Proof-of-Execution Memory (PoEM), which does not inspect memory at all. PoEM keeps a separate, tamper-evident, HMAC-chained ledger of the safety steps that actually executed, writable only by the trusted action layer, and allows a skip only if the ledger confirms real execution. An attacker can change what memory says but cannot forge a ledger entry for a step that never ran, so rewording no longer helps. Across three models and three scenarios, PoEM drives attack success to 0% while leaving legitimate operation intact (0% false positives in eight of nine cells, 1.7% in the ninth, within sampling noise), whereas SENTINEL wrongly blocks 33-50% of legitimate operations. PoEM also withstands attacks aimed at itself, adds microseconds of overhead, and works unchanged in a real LangChain agent. PoEM protects exactly the decisions it gates. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-08-18 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.16032 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T19:01:59.121Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).