arXiv:2610.24382cs.AIOct 2026

Manuscript Offprint

arXiv:2610.24382

Is This Your Agent? Identity Watermarking for Agent Systems in Dynamic Environments

Yuwei Zhong, Yu Cheng, Jiuan Zhou, Weizhi Liu, Yi Xie, Yongkang Hu, Yuan Xie, Zhaoxia Yin

Abstract

Agent systems deployed in dynamic environments continuously update their memories, skills, and runtime configurations, leading to evolving trajectories and challenges for persistent identity authentication. Existing text and agent watermarking methods struggle to achieve stable watermark embedding under dynamic environments, while embedded watermarks may become difficult to recover due to environmental changes. This paper proposes DASMark, an identity watermarking framework for dynamic agent systems. DASMark introduces Action-Preserving Embedding (APE), which learns semantically similar but distinguishable decision-expression channels from diverse interaction trajectories to enable stable watermark embedding in dynamic systems. It further introduces Shift-Robust Recovery (SRR) to mitigate context-induced shifts and improve watermark recovery stability under dynamic environments. In dynamic settings, DASMark achieves 98.5% bit-decoding accuracy and maintains 95.2% accuracy under attack scenarios, while preserving task utility comparable to unwatermarked agents.

1 Introduction

With the rapid development of LLM-driven agent systems, dynamic agents that can perceive environments, invoke tools, and update their states are becoming an important paradigm for next-generation autonomous systems (Yao et al., 2023; Liu et al., 2024). Dynamic agents continuously update their memories, accumulate reusable skills, and adapt their behavior based on task feedback (Shinn et al., 2023; Wang et al., 2024; Xu et al., 2025; Cheng et al., 2026b; Park et al., 2023), resulting in evolving behavior processes and runtime contexts. However, such evolution increases the difficulty of behavior attribution, making risks such as identity

Figure

Figure 1: Identity watermark recovery under dynamic agent evolution. Dynamic updates to memory, skills, prompts, and experience shift decision-expression distributions and challenge watermark recovery. DASMark preserves tool actions during embedding and uses SRR with relative score comparison to achieve stable recovery from final trajectories.

impersonation, unauthorized invocation, and proprietary agent replication more prominent (Deng et al., 2025; Triedman et al., 2025; Huang et al., 2026a). To address these challenges, agent watermarking has emerged as a promising approach for identity authentication and behavior attribution by embedding verifiable signals into generated content, planning behaviors, or execution trajectories.

Existing agent watermarking methods face two key challenges in dynamic environments. First, embedding adaptability. Text watermarking and some behavioral watermarking methods embed signals through token sampling or action selection (Kirchenbauer et al., 2023; Dathathri et al., 2024; Huang et al., 2026a). As agent systems continually update their memories, skills, and execution strategies, changes in generation contexts and available actions can affect the consistency of watermark embedding. Second, recovery robustness. Be-

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

behavioral watermarking methods recover identities from action distributions or trajectory structures, and some require additional probability information for decoding (Huang et al., 2026a; An et al., 2026). Continual system updates can shift the distributions of watermark-bearing signals, reducing recovery stability. Adversarial modifications, such as rewriting decision expressions or deleting and reordering trajectory segments, may further weaken these signals or disrupt the structures required for decoding. Dynamic agent watermarking therefore requires reliable identity embedding across continual system updates and robust recovery under both environmental changes and adversarial perturbations.

To tackle these challenges, this paper proposes DASMark (Dynamic Agent Systems Watermark), a learning-based identity watermarking framework for dynamic agent systems. As shown in Figure 1, DASMark focuses on two key aspects of dynamic environments: embedding adaptability and recovery stability. DASMark introduces a behavior-preserving embedding mechanism that learns stable decision expression channels and embeds identity information into natural decision expressions, achieving stable embedding. Furthermore, DASMark proposes Shift-Robust Recovery (SRR), which recovers identity bits using relative decoding scores between adjacent covers, improving recovery stability under dynamic environments. Experimental results show that DASMark achieves a 5.1% higher average bit decoding accuracy than SOTA methods under various attacks, while maintaining task utility and avoiding additional trajectory overhead. These results demonstrate the effectiveness of DASMark for identity attribution in dynamically deployed agent systems. The main contributions are summarized as follows:

• A watermarking framework for dynamic agent systems. DASMark targets identity attribution challenges in dynamic environments by embedding multi-bit identity information into sequences of decision expressions, enabling agent identity verification under dynamic deployment.

• Action-preserving embedding and shift-robust recovery mechanisms. Action-Preserving Embedding (APE) learns stable decision-expression channels for reliable identity embedding, while Shift-Robust Recovery (SRR) recovers identity bits through relative decoding scores between adjacent covers, mitigating recovery instability caused by dynamic environments.

• Experiments cover cross-domain tasks, dynamic environments, and various attack scenarios. DASMark achieves a 5.1% higher average bit-decoding accuracy than SOTA methods under attack settings, while maintaining task utility and trajectory length comparable to those of unwatermarked agents.

References (41)