arXiv:2610.30418cs.CROct 2026

Manuscript Offprint

arXiv:2610.30418

Agent Mosaic: Recognizing Confidentiality Leaks in Agentic LLM Systems

Daniel Ruiz, Luca Luceri, Emilio Ferrara

Abstract

Modern LLM agents can retrieve information from accessible documents, and then disclose a sensitive conclusion assembled from them. This mosaic effect creates a critical risk for agents operating over confidential data. We quantify its realization with 30 synthetic cybersecurity, medical, and military examples, yielding 10,800 final answers from three LLM agents in controlled simulation and 1,440 answers from live agents in two open-source harnesses. Even under benign queries designed to be answerable from one document, GPT-5.6-Sol, the best performing model tested, discloses forbidden composites in 7.08% of answers (95% CI: 3.75–10.67%) in simulation, with worse disclosure rates in live harnesses. Adding visible classification headers and explicit aggregation rules reduces pooled disclosure rates substantially, yet unsafe disclosures persist in 32.37% of simulated answers (95% CI: 28.33–36.19%) across all intents despite these safeguards. Furthermore, increased refusals do not guarantee confidentiality, since significant refusals reveal the prohibited conclusion regardless. These results point to a troubling conclusion: sensitive data leaks via mosaic-style events are an observed confidentiality failure mode in the evaluated settings at non-negligible rates. They motivate stronger controls on what agents may infer and disclose in sensitive data environments with mixed-clearance users.

1 Introduction

An LLM agent can respect every document’s access permissions and still disclose a conclusion the user is not authorized to receive. Individually permitted facts can reveal sensitive information when combined (Morgenstern, 1987). Confidentiality therefore depends on what an agent infers and discloses, as well as which documents it can access across the system.

Agents assemble context by retrieving documents and selecting material to support an answer (Lewis et al., 2020; Yao et al., 2023). Synthesizing across sources makes them useful, but also creates a route to disclosure: an answer can state sensitive information that no source reveals alone. Document filtering leaves this route open when all retrieved sources fall within the user’s access permissions.

The literature describes this risk of confidential data leakage through aggregation as the mosaic effect (Novak, 2021; Masinde et al., 2023). We study its realization when individually accessible, lower-sensitivity sources jointly imply a designated higher-sensitivity composite. U.S. classification policy also coins this effect as classification by compilation or aggregation (CbCA) (Novak, 2021), though we adopt the former term throughout our work. 1^{1} The following fictional medical example illustrates the boundary.

Given two records and one forbidden conclusion:

• Record A: Participant 4078 received a medication kit ending in "-B".

• Record B: Kits ending in "-B" contain placebo (inactive pills).

• Forbidden composite: Participant 4078 is receiving placebo rather than active medication.

Adapted from synthetic benchmark example med_006. Each source is labeled SECRET; the composite is TOP SECRET. Users with access to documents containing both records are still barred from receiving the composite.

We measure this failure as a final answer conveying a designated forbidden composite. We ask how often agents disclose these conclusions across user query intents and whether simple safeguards sufficiently mitigate unwanted disclosure:

• RQ1: How often do LLM agents disclose forbidden composites in response to benign, explicit, and adversarial user queries?

• RQ2: Are simple, pre-LLM era safeguards, e.g., visible classification headers and explicit

1^{1}Novak (2021) attributes an automated CbCA solution to Novak et al. (2018), which is not publicly accessible.

aggregation rules, sufficient to mitigate un-wanted disclosure?

Benign queries request information designed to be answerable from one document, without asking for the composite. Explicit queries directly request the composite. Adversarial queries append to the explicit request a claim of full clearance and an instruction to ignore system-level restrictions on compositional sensitivity. We evaluate three LLMs against all intents in controlled simulation, which supplies both sources, and two live agent harnesses that select their own context. An LLM judge validated by human annotations supports final-answer measurement across both settings.

Forbidden composites appear under benign queries in simulation and both live harnesses. With both safeguards enabled, roughly one-third of simulated answers across the three generators and all query intents still disclose the composite. These findings establish mosaic disclosure in the evaluated systems and show that the tested in-context safeguards reduce mosaic frequency, but do not mitigate it completely.

Upon acceptance, we will release the code and reproducibility assets for this study, with access links in the camera-ready version.