Fresh Keys, Stale Secrets: Numeric Leakage across Linked LLM Prompts

Jian Li, Qinglin Zhao, Shuoyao Wang, Jincheng Cai, Zhifeng Hao +1 more
11/24/2026
cs.CRcs.CL

Official code: Jamli58/fresh-keys-stale-secrets (0 stars, Python, MIT, last commit 2026-10-28).

Abstract

Small businesses repeatedly ask cloud language models about the same confidential prices, unit costs and margins. Numeric prompt disguises for such numbers are evaluated one prompt at a time, but a provider sees a firm's history, in which each fresh secret gives a new, independent view of the same numbers.

Show full abstract

Since real costs are not public, we measure on synthetic firms with known values how much an honest-but-curious provider recovers when it knows the disguise algorithm, holds sector-level price and margin statistics, and links a firm's queries. In one prompt, per-field scaling, a fixed-axis instantiation of Zhang et al.'s order-preserving substitution and Pr$\varepsilon\varepsilon$mpt's released sanitizer keep the attacker's margin-hit advantage over a prior-only guess between -0.6 and +4.4 percentage points. After 16 linked queries with fresh secrets, every disguise we test (Pr$\varepsilon\varepsilon$mpt at $\varepsilon\geq 0.5$) has a target recovered significantly more often: under the order-preserving substitution, margin recovery rises from 25.0% to 59.4%. The same attacker recovers 29.4 percentage points more margins with fresh maps than with one reused map. Theory explains the contrast: one reused secret bounds all queries by a single full-precision view of the fields shown, whereas fresh scaling keys are identifiable. Except for Pr$\varepsilon\varepsilon$mpt at $\varepsilon=0.5$, the gains persist when the attacker's prior comes from another population model and when values drift by up to 5% between queries; on our firms, whose prose cues are weak, reading the prose with a language model adds at most 2.5 points. Code and data: https://github.com/Jamli58/fresh-keys-stale-secrets

View on arXivView PDF

Code Implementations(1)

MIT
00Python, ShellOct 18, 20261 months agoMIT

Similar Papers

Cite this paper

@article{li2026fresh,
  title  = {Fresh Keys, Stale Secrets: Numeric Leakage across Linked LLM Prompts},
  author = {Jian Li and Qinglin Zhao and Shuoyao Wang and Jincheng Cai and Zhifeng Hao and Naiqi Wu},
  year   = {2026},
  eprint = {2611.32864},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.32864v1}
}

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/2611.32864.svg)](https://codeofpaper.com/paper/2611.32864)

Discussion