Supply-chain PRNG attack can hide watermark while amplifying its signal
SeedHijack can blind-side-channel hijack a PRNG to evade all content-side detectors and increase watermark z-score up to 2.42×
AI/ML arXiv 27 May 2026 Attack Simulation evidence
Published as “Blind PRNG Hijacking: An Undetectable Integrity-Preserving Attack Against LLM Watermarking”
Why it matters
Deployers of LLM watermarking must protect the PRNG source, e.g., by using hardware QRNGs, otherwise an attacker can silently boost or manipulate provenance signals without detection.
Summary
SeedHijack can amplify the watermark z-score by up to 2.42× while remaining completely undetectable, triggering 0/6 content-side statistical detectors. The attack works by hijacking the PRNG seed used for watermark green-list selection, preserving or even boosting the watermark signal. Evidence comes from experiments on three open-source LLMs and three watermark schemes, though the attack’s strength drops in blind mode and relies on the ability to compromise the PRNG.
What they found 2
- The attack amplifies the watermark z-score by up to 2.42×.
“z rises to 55.61, a 2.42× amplification.”
- The attack is undetectable by a suite of six content-side detectors.
“the attack triggers 0/6 content-side statistical detectors”
Caveats 6
- Blind-mode amplification is consistently weaker but remains clearly above baseline (z = 26.29 for KGW).
- Survival = 0.125
- First, the threat model assumes that A can hijack the PRNG in the inference pipeline; deployments that already terminate randomness in attested hardware are outside the scope of this attack (they are, however, the recommendation in Section 6.2).
- Second, all experiments are conducted on a single-GPU testbed with three open-source LLMs and 2,000-token generations; behavior at the scale of multi-thousand-GPU production services is left to follow-up work.
- Third, the comparison baselines are limited to four output-layer attacks; defenses based on behavioral monitoring of the inference pipeline itself are not evaluated.
- Fourth, undetectability as defined herein is scoped to content-side statistical tests; system-level defenses (such as entropy-source provenance attestation, PRNG call-pattern monitoring, or trusted platform modules) may detect the supply-chain compromise itself, though they operate at a different architectural layer than the watermark detector.
What’s new here 4
- A blind attack that requires no knowledge of the watermark key, detector, or model logits.
- An integrity-preserving attack that amplifies rather than erases the watermark signal.
- Demonstration that PRNG manipulation can be orthogonal to all content-side detector statistics.
- A QRNG-based defense that fully neutralizes the attack by securing the entropy source.