Metraipolis › archive › dc_6d037d47f2e4
When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents — arXiv:2609.13889
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.13889
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T22:50:46.116Z
- SHA-256 of the archived text
1c4f5ce005e7ef3277efe77032f0634cab838b09a6ae3bacc9db48b158ae9474- Stable URL of this page
https://metraipolis.com/documento/dc_6d037d47f2e4
How to cite
When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents — arXiv:2609.13889 — arXiv (en), https://arxiv.org/abs/2609.13889 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6d037d47f2e4 (Metraipolis archive dc_6d037d47f2e4, sha256 1c4f5ce005e7ef3277efe77032f0634cab838b09a6ae3bacc9db48b158ae9474)
BibTeX
@misc{dc6d037d47f2e4,
title = {When Malicious Instructions Persist: Persistent Memory Poisoning Attack on Harness-Based Agents — arXiv:2609.13889},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.13889},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6d037d47f2e4; sha256 1c4f5ce005e7ef3277efe77032f0634cab838b09a6ae3bacc9db48b158ae9474},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.13889. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Harness design has transformed the development of LLM-based agents by integrating memory, tool use, and runtime control. However, this design also introduces security and privacy risks because malicious instructions from external sources may be written into persistent memory and persist across sessions. To study this risk, we propose PMPA, a Persistent Memory Poisoning Attack against harness-based agents. PMPA embeds malicious instructions into benign external sources and induces the victim agent to write them into persistent memory without directly accessing to the agent framework. Once stored, the poisoned memory can be retrieved in later sessions, triggering additional malicious actions and causing privacy leakage. We evaluate PMPA on OpenClaw and Claude Code across different backbone LLMs, input modalities, and trigger scenarios. Across all settings, PMPA achieves average Injection Success Rate (ISR) and Cross-session Attack Success Rate (C-ASR) of 73.7%/ 55.5% on OpenClaw and 66.9%/ 81.7% on Claude Code, while preserving benign task performance on both systems. We further evaluate a targeted prompt-level defense and find that it can reduce memory injection in many settings, but provides limited protection once the persistent memory has been poisoned. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-15 in cs.AI). Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.13889 — 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-15T22:29:03.577Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).