arXiv cs.AI· Manit Baser, Vyoman Jain, Rachel Yeo Hui Min, Xianglin Yang, Meenatchi Sundaram Muthu Selva Annamalai, Dinil Mon Divakaran·· 56 分钟前AI 评分46
Chasm 框架揭示多智能体系统跨模型 KV cache 隐式通信的安全风险
Latent-in-the-Middle: On the Security of Cross-Model Latent Communication in Multi-Agent Systems
AI 导读
arXiv 论文提出 Chasm 框架,研究多智能体系统中跨模型 KV cache 隐式通信对安全的威胁,攻击面覆盖源模型、mapper 和交接机制三处。
正文 · 原文
Abstract:As large language models increasingly collaborate in heterogeneous multi-agent systems, latent communication has emerged as an efficient alternative to exchanging natural-language messages. By sharing internal representations, agents can avoid repeatedly processing the same context, reducing communication overhead and prefill computation. One such mechanism is cross-model Key-Value (KV) cache transfer, which uses a learned mapper to translate a source model's KV cache into one a target model can use. However, this handoff means the target model consumes context it did not encode itself, thus calling into question whether its safety alignment still holds.
In this work, we investigate the security implications of latent handoffs by introducing Chasm, a framework characterizing cross-model handoff attacks across three new attack surfaces: the source model, mapper, and handoff mechanism itself. Our experiments reveal that latent handoffs substantially undermine safety alignment and prompt-injection defenses. Notably, a target model that follows only 0.4% of benchmark prompt injections natively, follows up to 44.2% when transferred through a mapper from a source model. On the other hand, for jailbreak attacks, transfer alone raises attack success by up to 24.6 pp within a model family and zero-shot attacks by up to 69.2 pp, whereas white-box optimization through the mapper boosts the attack success rate to 92.5%, against 37.5% for ordinary GCG on the same target. To address these vulnerabilities, we propose a lightweight target-side cache guard that corrects transferred caches to restore the target model's refusal, considerably mitigating these attacks.
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.34278 [cs.CR] |
| (or arXiv:2611.34278v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2611.34278 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Manit Baser [view email]
[v1]
Wed, 25 Nov 2026 12:35:33 UTC (122 KB)
来源:arXiv cs.AI · arxiv.org