cs.CRSep 30, 2026

Speculative Safety Honeypot: Toward Proactive Defense Against Multi-turn Agent Attacks

Authors: Zezhong Wang, Xueyang Tang, Rui Lian, Yang Lou, Heqing Huang

Organizations: Huawei Technologies Co., Ltd, Hong Kong SAR.

Abstract

As Large Language Model (LLM) agents are increasingly deployed in complex environments, multi-turn interaction attacks have become a significant security challenge. Existing detection methods typically rely on historical context. However, this retrospective logic struggles to identify deep malicious intents that are split across turns to hide future risks. Inspired by speculative decoding, we propose the Speculative Safety Honeypot (SSH) framework. SSH uses a multi-agent simulation system composed of small LLMs to build an action-level speculate-and-verify workflow. In the speculation stage, SSH predicts future behaviors of the target agent and asynchronously builds a trajectory tree to expose potential risks in advance. In the verification stage, the system uses the target agent's real actions to calibrate and prune the trajectory tree, effectively reducing false positives. As a plug-and-playable component, SSH provides existing detectors with rich decision redundancy beyond the current interaction slice. By judging risk based on the evolution of the entire trajectory tree rather than a single point in time, the system reduces the reliance on the absolute precision of individual detection components. This improves the defense resilience and the warning lead-time of agent systems against complex temporal attacks.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Forecasting Trajectory-Level Safety Risks in Black-Box Multi-Turn Interactions

    Jul 29, 2026Shi Lin, Peng Qian, Dinghao Liu +5Large Language Model SafetyMulti-Turn Interactions

  2. Safeguarding LLM Agents against Long-Horizon Threats via Shadow Memory

    May 4, 2026Yuhui Wang, Tanqiu Jiang, Jiacheng Liang +2Multi-Llm AgentsLarge Language Model Agents

  3. A Low-Latency Fraud Detection Layer for Detecting Adversarial Interaction Patterns in LLM-Powered Agents

    May 1, 2026Sheldon Yu, Yingcheng Sun, Hanqing Guo +1Multi-Llm AgentsAdversarial Robustness