paper-with-me

Papers

Hijacking Agent Memory: Stealthy Trojan Attacks Through Conversational Interaction

2026-05-28 · Hongtao Wang, Se Yang, Yu Chen, Puzhuo Liu arxiv

Large language model (LLM) agents increasingly leverage long term memory to support persistent and autonomous task execution. However, this capability also introduces a new attack surface: memory poisoning, where adversaries can inject malicious information to influence future behavior. Existing memory poisoning attacks often assume that injected content can be stored directly in memory, overlooking the selective extraction and rewriting stages in modern memory pipelines. This makes prior methods ineffective under realistic settings. In this paper, we propose MemPoison, a novel memory poisoning attack that bypasses selective memory mechanisms in LLM agents, where an attacker can inject triggerable backdoors into the agent's long-term memory through dialogue interactions, thereby misleading its subsequent responses. MemPoison introduces three key components: (i) a semantic relational bridge that binds the trigger and payload into a coherent statement to ensure they are extracted into memory together; (ii) entity masquerading that optimizes triggers to mimic named entities, resisting rewriting; and (iii) joint embedding optimization that shapes trigger-injected texts into a tight cluster in the embedding space while maintaining isolation from benign embeddings for stealth. Evaluations across different agent domains and memory mechanisms show MemPoison achieves attack success rates up to 0.95, outperforming existing baselines. Mechanistic analysis indicates that the attack exploits embedding-space anisotropy and shifts attention patterns, highlighting core vulnerabilities in selective memory systems. We evaluate multiple defense strategies and demonstrate their fundamental limitations in mitigating the attack.

📄 PDF Abstract BibTeX arXiv:2605.29960

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Attention Hijacking in Trojan Transformers

2022-08-09 · Weimin Lyu, Songzhu Zheng, Tengfei Ma, Haibin Ling 외

Trojan attacks pose a severe threat to AI systems. Recent works on Transformer models received explosive popularity and the self-attentions are now indisputable. This raises a central question: Can we reveal the Trojans …

BppAttack: Stealthy and Efficient Trojan Attacks against Deep Neural Networks via Image Quantization and Contrastive Adversarial Learning

2022-05-26 · CVPR 2022 1 · Zhenting Wang, Juan Zhai, Shiqing Ma

Deep neural networks are vulnerable to Trojan attacks. Existing attacks use visible patterns (e.g., a patch or image transformations) as triggers, which are vulnerable to human inspection. In this paper, we propose steal…

Contrastive LearningQuantization

STDLens: Model Hijacking-Resilient Federated Learning for Object Detection

2023-03-21 · CVPR 2023 1 · Ka-Ho Chow, Ling Liu, Wenqi Wei, Fatih Ilhan 외

Federated Learning (FL) has been gaining popularity as a collaborative learning framework to train deep learning-based object detection models over a distributed population of clients. Despite its advantages, FL is vulne…

Federated Learningobject-detectionObject Detection

CatchBackdoor: Backdoor Detection via Critical Trojan Neural Path Fuzzing

2021-12-24 · Haibo Jin, Ruoxi Chen, Jinyin Chen, Haibin Zheng 외

The success of deep neural networks (DNNs) in real-world applications has benefited from abundant pre-trained models. However, the backdoored pre-trained models can pose a significant trojan threat to the deployment of d…

DNN Testing

A Synergetic Attack against Neural Network Classifiers combining Backdoor and Adversarial Examples

2021-09-03 · Guanxiong Liu, Issa Khalil, Abdallah Khreishah, NhatHai Phan

In this work, we show how to jointly exploit adversarial perturbation and model poisoning vulnerabilities to practically launch a new stealthy attack, dubbed AdvTrojan. AdvTrojan is stealthy because it can be activated o…

Federated LearningModel Poisoning