News · DiggingBeagle record

Shuffled KV caches still disclosed sensitive token sets in controlled probes

Repeat-to-Reveal reconstructed token content despite an obfuscation scheme that rearranged cached positions. Its high closed-set secret-identification result was measured in a defined laboratory threat model, not a production tenant breach.

Published
Nov 20, 2026

The report

Shuffling cached tokens changes their positions, but it does not necessarily remove the information encoded in their key-value representations. The Repeat-to-Reveal paper studied that distinction and reported reconstruction of token multisets from a tested obfuscated cache arrangement.

Recovering content without original order

The evaluation reported complete token-multiset recovery in its selected setting, lower accuracy for the full original sequence and 97.5 percent identification of sensitive values when candidates came from a defined closed set. Those numbers measure different capabilities. Knowing which tokens are present is not the same as reconstructing their precise sentence order, and selecting a secret from a known shortlist is not arbitrary text recovery.

The researchers also proposed a different defense, VeilKV, and evaluated its overhead. They did not show that adversaries can freely read the internal KV states of production services or compromise unrelated tenants. Access to the tested state and the permitted query budget are essential prerequisites.

The broader consequence for model-serving design is that hiding sequence positions cannot by itself certify confidentiality. Secrets placed into a model context must be protected at memory-access and tenant-isolation boundaries, even if their raw ordering is obscured. The research Case keeps the source threat model separate from the unproven cloud-attack scenario.

Research behind this