mlsanityData to 7 Oct 2026

Watermarking LLM Agent Trajectories

arXiv 2602.18700 ↗First posted 21 Feb 2026cs.CR cs.CLcited by 3

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

LLM agents rely heavily on high-quality trajectory data to guide their problem-solving behaviors, yet producing such data requires substantial task design, high-capacity model generation, and manual filtering. Despite the high cost of creating these datasets, existing literature has overlooked copyright protection for LLM agent trajectories. This gap leaves creators vulnerable to data theft and makes it difficult to trace misuse or enforce ownership rights. This paper introduces ActHook, the first watermarking method tailored for agent trajectory datasets. Inspired by hook mechanisms in software engineering, ActHook embeds hook actions that are activated by a secret input key and do not alter the original task outcome. Like software execution, LLM agents operate sequentially, allowing hook actions to be inserted at decision points without disrupting task flow. When the activation key is present, an LLM agent trained on watermarked trajectories can produce these hook actions at a significantly higher rate, enabling reliable black-box detection. Experiments on mathematical reasoning, web searching, and software engineering agents show that ActHook achieves an average detection AUC of 94.3 on Qwen-2.5-Coder-7B while incurring negligible performance degradation.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 62 of its 75 references that are in the map. First posted on arXiv 21 Feb 2026.

Builds on

62 of 75 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025Cyber-Zero: Training Cybersecurity Agents without Runtime29 Jul

Other references · 61

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  5. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2020Extracting Training Data from Large Language Modelscited by 2,144
  8. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  9. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  10. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
  11. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  12. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
38 more
  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  2. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  3. 2023A Watermark for Large Language Modelscited by 667
  4. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
  5. 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 540
  6. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  7. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
  8. 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
  9. 2024Measuring short-form factuality in large language modelscited by 345
  10. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 319
  11. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
  12. 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 276
  13. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
  14. 2023Poisoning Language Models During Instruction Tuningcited by 254
  15. 2019A backdoor attack against LSTM-based text classification systemscited by 214
  16. 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 203
  17. 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
  18. 2023On the Reliability of Watermarks for Large Language Modelscited by 170
  19. 2025Agentic Reinforced Policy Optimizationcited by 166
  20. 2025The Unreasonable Effectiveness of Entropy Minimization in LLM Reasoningcited by 160
  21. 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 123
  22. 2024AgentTrek: Agent Trajectory Synthesis via Guiding Replay with Web Tutorialscited by 123
  23. 2020Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hidingcited by 121
  24. 2023Who Wrote this Code? Watermarking for Code Generationcited by 116
  25. 2023On the Exploitability of Instruction Tuningcited by 110
  26. 2022Untargeted Backdoor Watermark: Towards Harmless and Stealthy Dataset Copyright Protectioncited by 80
  27. 2025Mind2Web 2: Evaluating Agentic Search with Agent-as-a-Judgecited by 75
  28. 2020Radioactive data: tracing through trainingcited by 67
  29. 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 66
  30. 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Modelscited by 64
  31. 2024Watermarking Makes Language Models Radioactivecited by 52
  32. 2024No Free Lunch in LLM Watermarking: Trade-offs in Watermarking Design Choicescited by 47
  33. 2021CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoningcited by 39
  34. 2024Proving membership in LLM pretraining data via data watermarkscited by 38
  35. 2023Did You Train on My Dataset? Towards Public Dataset Protection with Clean-Label Backdoor Watermarkingcited by 37
  36. 2023CodeMark: Imperceptible Watermarking for Code Datasets against Neural Code Completion Modelscited by 28
  37. 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Modelscited by 28
  38. 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMscited by 27

50 most cited of 61 All 61 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026TrajMark: Ownership Attribution and Segment-Level Tamper Localization for Coding-Agent Trajectories
  2. 2026AgentMark: Utility-Preserving Behavioral Watermarking for Agents
  3. 2026Semantic Behavioral Watermarking: Paraphrase-Robust and Forgery-Resistant Provenance for LLM Agents
  4. 2025Agent Guide: A Simple Agent Behavioral Watermarking Framework
  5. 2026On Protecting Agentic Systems' Intellectual Property via Watermarking
  6. 2026Known By Their Actions: Fingerprinting LLM Browser Agents via UI Traces
  7. 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents
  8. 2026Who Is Behind the Harness? Fingerprinting LLMs through Agentic Behavior