paper-with-me

홈 › Papers

SMSR: Certified Defence Against Runtime Memory Poisoning in Persistent LLM Agent Systems

2026-06-10 · Tarun Sharma arxiv

Retrieval-augmented generation (RAG) agents increasingly run with persistent memory that accumulates across user sessions. This creates a new attack surface: an adversary interacting only through normal channels can inject crafted memories that, once retrieved, steer the agent's responses for future users, without touching model weights or code. We call this Multi-Session Memory Poisoning (MSMP) and show that no existing defence certifies against it; static-corpus defences (RobustRAG, ReliabilityRAG) assume a fixed knowledge base, and heuristic filters are bypassed by fluent enterprise-style text. We present Signed Memory with Smoothed Retrieval (SMSR), the first defence with a certified robustness bound for this setting. Component 1 adds HMAC-SHA256 provenance at write time, blocking unsigned injection. Component 2 applies randomised memory ablation with verdict-based majority voting at query time, bounding the influence of authenticated adversaries. We prove that no provenance-free retrieval-time filter can certify against adaptive injection, derive a hypergeometric certificate for Component 2, and formalise the Consistent Minority Effect, whereby a consistent adversarial answer wins string-based voting as a numerical minority while verdict-based voting removes it. Across 15 enterprise scenarios (3,150 repeated trials), Component 1 cuts attack success from 93-100% to 0% for all unsigned variants. For an authenticated adversary with a single injection, Component 2 holds success to 8.0% (95% CI [5.8, 10.9], n=450), below the certified worst case. In an end-to-end query-only attack where the agent itself writes the poison rather than it being pre-seeded, SMSR reduces success from 65.3% to 5.3% (n=150, non-overlapping CIs) on a live agent stack. Clean-query utility is 90% (Component 1) and 85% (combined).

📄 PDF Abstract BibTeX arXiv:2606.12703

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CeTAD: Towards Certified Toxicity-Aware Distance in Vision Language Models

2025-03-08 · Xiangyu Yin, Jiaxu Liu, Zhen Chen, Jinwei Hu 외

Recent advances in large vision-language models (VLMs) have demonstrated remarkable success across a wide range of visual understanding tasks. However, the robustness of these models against jailbreak attacks remains an …

How robust accuracy suffers from certified training with convex relaxations

2023-06-12 · Piersilvio De Bartolomeis, Jacob Clarysse, Amartya Sanyal, Fanny Yang

Adversarial attacks pose significant threats to deploying state-of-the-art classifiers in safety-critical applications. Two classes of methods have emerged to address this issue: empirical defences and certified defences…

Certified Defences Against Adversarial Patch Attacks on Semantic Segmentation

2022-09-13 · Maksym Yatsura, Kaspar Sakmann, N. Grace Hua, Matthias Hein 외

Adversarial patch attacks are an emerging security threat for real world deep learning applications. We present Demasked Smoothing, the first approach (up to our knowledge) to certify the robustness of semantic segmentat…

image-classificationImage ClassificationSegmentationSemantic Segmentation

Enhancing the Antidote: Improved Pointwise Certifications against Poisoning Attacks

2023-08-15 · Shijie Liu, Andrew C. Cullen, Paul Montague, Sarah M. Erfani 외

Poisoning attacks can disproportionately influence model behaviour by making small changes to the training corpus. While defences against specific poisoning attacks do exist, they in general do not provide any guarantees…

Adversarial Robustness

Adaptive Randomized Smoothing: Certified Adversarial Robustness for Multi-Step Defences

2024-06-14 · Saiyue Lyu, Shadab Shaikh, Frederick Shpilevskiy, Evan Shelhamer 외

We propose Adaptive Randomized Smoothing (ARS) to certify the predictions of our test-time adaptive models against adversarial examples. ARS extends the analysis of randomized smoothing using $f$-Differential Privacy to …

Adversarial Robustnessimage-classificationImage Classification