Watermark Stealing in Large Language Models

Nikola Jovanovi'c, Robin Staab, Martin T. Vechev
2/12/2026

No official code found. Best implementation: eth-sri/watermark-stealing (30 stars, MIT, last commit 2024-06-24).

Abstract

LLM watermarking has attracted attention as a promising way to detect AI-generated content, with some works suggesting that current schemes may already be fit for deployment. In this work we dispute this claim, identifying watermark stealing (WS) as a fundamental vulnerability of these schemes. We show that querying the API of the watermarked LLM to approximately reverse-engineer a watermark enables practical spoofing attacks, as hypothesized in prior work, but also greatly boosts scrubbing attacks, which was previously unnoticed. We are the first to propose an automated WS algorithm and use it in the first comprehensive study of spoofing and scrubbing in realistic settings. We show that for under $50 an attacker can both spoof and scrub state-of-the-art schemes previously considered safe, with average success rate of over 80%. Our findings challenge common beliefs about LLM watermarking, stressing the need for more robust schemes. We make all our code and additional examples available at https://watermark-stealing.org.

View on arXivView PDF

Code Implementations(1)

MIT

Watermark Stealing in Large Language Models (ICML '24)

304Shell, PythonMar 1, 20242 years agoMIT

Similar Papers

Cite this paper

@article{jovanovic2026watermark,
  title  = {Watermark Stealing in Large Language Models},
  author = {Nikola Jovanovi'c and Robin Staab and Martin T. Vechev},
  year   = {2026},
  eprint = {2402.19361},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.19361},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.19361.svg)](https://codeofpaper.com/paper/2402.19361)

Discussion