arXiv:2609.35408cs.CRSep 2026

Manuscript Offprint

arXiv:2609.35408

"Nothing to See Here'': Unintended Disclosure through Revision Traces of LLM Deliverables

Yage Zhang, Yukun Jiang, Yang Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language model (LLM) assistants increasingly help users draft content for third-party recipients. During private drafting, the user or the model may introduce an item and later remove or replace it. The model may remove the item from the intended content but reveal it again when stating the edit. We call such statements revision traces. For example, after a user removes the password before sharing a configuration file, the model may delete it but leave a comment saying, "Removed the password 'No****4!' as requested." A third-party recipient who sees only the delivered file can therefore recover the withdrawn password from the comment. In an in-the-wild analysis of three public conversation corpora, we identify 26,753 revision requests, of which 2,363 (8.8%) leave revision traces. We study them in greater depth under controlled conditions by introducing RevLeakBench, a benchmark of 100 tasks across five scenarios with a conversation track and an agent track. We measure trace occurrence, withdrawn-item recovery, trace position, and required-content retention. Across six models, about half of the deliverables in both tracks state the edit after a revocation, and a reader that sees only the deliverable can recover the withdrawn item from about 13% of them. Telling the model that its entire reply will be forwarded to the recipient still leaves revision traces in 36.4% of the deliverables. We compare prompt defenses and a delivery boundary, and propose an output-side filter that sharply reduces recovery with little loss of required content. We believe our work can benefit efforts to understand and mitigate unintended disclosure in LLM interactions. 1^{1}

1 Introduction

Large language model (LLM) assistants are increasingly used to draft messages, reports, and other outputs for third-party recipients [6, 40, 50]. During private drafting, an item may be introduced and later removed or replaced [42, 60]. The model may comply with the revision while still bringing the removed item back in its account of the edit.

Figure 1 shows an example from an in-the-wild conversation. The user asks the assistant to remove a password before sending the code. The assistant replaces the password with [removed] and then repeats it in a comment explaining the edit. The recipient can therefore recover the withdrawn password from the delivered code.

A developer described this behavior with a cooking analogy: an agent asked to make tomato and eggs added Dongpo pork on its own, removed it after the user objected, and then titled the pull request “Tomato and Eggs (Without Dongpo Pork)” and added comments explaining why the pork was unnecessary. 2^{2} Ruff now instructs agents not to expose discarded alternatives or private drafting history in public-facing text, while a Claude Code issue describes such explanations

1^{1}The evaluation code is available at https://github.com/TrustAIRLab/RevLeakBench.

∗^{*}Corresponding author.

2^{2}https://x.com/songkeys/status/2090416137720999992

Figure

Figure 2: Overview of RevLeakBench and the evaluation pipeline.

as “code obituary” comments [1, 3]. When the withdrawn item is sensitive, a revision trace can itself disclose sensitive information [36].

We call the output that reaches the recipient the deliverable, following GDPval [37]. The recipient sees the deliverable but not the private drafting conversation that produced it. A revision trace in the deliverable is therefore different from simply failing to remove the withdrawn item: the item may be absent from the intended content yet reappear in the model's account of the edit. Existing privacy, redaction, and deletion evaluations test whether sensitive or removed information appears in or remains inferable from the final output [12, 14, 15, 20, 46, 59]. They do not separate an item left in the content from an item disclosed in a revision trace, or measure what the revision history itself adds.

We therefore study what a deliverable reveals about an item that was withdrawn during drafting and raise three research questions:

• RQ1: In the wild, when a user revises a request, how often does the revised deliverable state the revision?

• RQ2: Under controlled conditions, how often do revision traces appear after withdrawal, and how much do they reveal about the withdrawn item?

• RQ3: Which defenses reduce what the deliverable reveals without removing what the recipient needs?

We address these questions in two stages, as outlined in Figure 2. Section 3 answers RQ1 with an in-the-wild analysis of three public conversation corpora, where 2,363 of 26,753 revision requests (8.8%) leave revision traces. We introduce RevLeakBench to study RQ2 and RQ3, with 100 tasks across five scenarios in conversation and agent tracks. Across six models, about half of revocation deliverables state the edit, and a reader seeing only the deliverable recovers the withdrawn item from about 13% of them. Revision traces persist under explicit delivery instructions: forwarding the entire reply leaves traces in 36.4% of deliverables, while requesting only the deliverable leaves 27.5%. Finally, we compare two prompt defenses with our delivery-boundary variants and output-side filter. Our methods substantially reduce recovery, with the body-only boundary and output-side filter improving the end-to-end rate in both tracks.

Contributions. We make three contributions. (1) We conduct an in-the-wild analysis of public conversations and identify cases in which revision traces reached public repositories. (2) We introduce RevLeakBench, a controlled benchmark that pairs revisions with the same final requirements without revision history, and measures revision traces, recovery of the withdrawn item, and retention of required content. (3) We compare two prompt defenses with our delivery-boundary variants and output-side filter, showing that our methods substantially reduce recovery with different tradeoffs in delivery and required-content retention.

References (50)