←Alignment
    Explainer · Agent confidentiality leaks · 5 min

    AI agents can leak a secret by combining two permitted documents, a 30-case test finds

    A 2026 benchmark measures how often AI agents combine separately permitted files into a forbidden conclusion, and how much simple classification labels and written rules reduce this.

    4 December 2026 · arXiv preprint, not yet peer reviewed
    guardrail and chevron sign on a mountain road
    Photo: Laura Chouette

    Suppose an AI assistant is allowed to read two files. One notes that a particular system runs a certain piece of software; the other notes that this software has an unpatched weakness. Each file is fine for you to see. Put together, they say something you are not cleared to know: that this system can be broken into. Access controls that check permissions one document at a time would pass both files without complaint.

    That gap is the subject of a 2026 paper by Daniel Ruiz, Luca Luceri and Emilio Ferrara of the University of Southern California, released on arXiv as a preprint that has not yet been peer reviewed. They built a small test to measure how often AI agents, meaning language models that run tools, read files and act on their own, assemble a forbidden conclusion from permitted parts. They also tested whether two old-fashioned safeguards help.

    The idea

    The problem has a name: the mosaic effect, where individually harmless facts combine to reveal something sensitive. In U.S. classification policy it appears as classification by compilation or aggregation, the principle that a collection of lower-classified items can deserve a higher classification because of what the combination shows. The authors trace the concern back decades, citing work from 1987 and a 1995 executive order. They also note later writing on mosaic risk in shared data environments built for AI and analytics.

    Agents make this old problem more pressing, the authors argue, because they automate retrieval and synthesis: an agent can obey every document's access rules and still state a conclusion the user should not receive. Filtering at the level of documents does not close this route when every retrieved source falls within the user's permissions. Close earlier precedents, as the paper describes them, showed language models inferring personal attributes from text and agents re-identifying people by combining cues that were not identifying on their own with public evidence.

    The authors pose two questions. How often do agents disclose these forbidden composites when a user asks innocently, asks directly, or tries to trick them? And are simple safeguards from before the era of large language models enough to stop it? The two safeguards tested are a visible classification label on each document and written rules against combining sources.

    How this paper puts it to work

    The researchers used Claude Opus 4.6 to generate 30 synthetic examples, ten each in cybersecurity, medicine and military settings. Each example has two documents labelled SECRET that together imply a TOP_SECRET conclusion, plus an irrelevant 'distractor' document from the same field. Each comes with three queries. A benign query can be answered from one document alone. An explicit query asks for the sensitive conclusion outright. An adversarial query repeats the explicit request, falsely claims full clearance and tells the agent to ignore restrictions.

    Four factors were varied in every combination, giving 24 set-ups: the type of query, whether the distractor was present, whether each document carried a visible 'Classification: SECRET' header, and whether aggregation rules were switched on. The rules named the aggregation problem, asked for single-source answers where possible, forbade drawing unstated conclusions across sources and told the agent to refuse classified combinations. In a controlled simulation, each model was handed the documents in a fixed prompt, along with scripted search text based on real agent reasoning traces; no actual searching took place. Three models, GPT-5.6 Sol, Claude Sonnet 5 and Qwen3.5-27B, each produced 3,600 answers, for 10,800 in total.

    A second, live setting ran two open-source agent harnesses, the software wrappers that give a model tools and let it act autonomously, called Pi and Hermes, both driven by GPT-5.6 Sol. Each ran in a fresh container with the documents mounted read-only, so the agent had to find and open the files itself, producing 1,440 answers. Only final answers were scored, on two independent labels: whether the answer conveyed the forbidden conclusion, even in paraphrase, and whether it explicitly refused. A separate model, MiMo-v2.6-Pro-RL, did the labelling. It was chosen by comparing candidate judges with majority votes from three human annotators on 120 answers, and its agreement with those votes was about as high as the humans' agreement with each other.

    What it shows, and what it does not

    Averaged over all 24 set-ups, the authors report that GPT-5.6 Sol disclosed the forbidden conclusion in 27.75% of simulated answers, Claude Sonnet 5 in 63.17% and Qwen3.5-27B in 67.11%. The live harnesses came out close to the simulated GPT figure, at 30.14% for Pi and 32.36% for Hermes. Even benign questions, designed to need only one document, produced leaks: 7.08% for simulated GPT, 12.50% for Pi and 8.75% for Hermes. The authors describe the live harnesses as worse, but the overall live figures are near the simulated GPT baseline; the clearest difference is in the military examples, where disclosure rose from about 17% in simulation to roughly a quarter in each live harness.

    The safeguards helped without solving the problem. Pooled across models, disclosure fell from about 69% with no protection to about 32% with both headers and rules. The rules did more of the work, especially when headers were also shown. With both safeguards on and no distractor, GPT almost never disclosed on explicit and adversarial requests, while Claude and Qwen still did most of the time. One finding stands out: refusals can leak. With both safeguards on, 404 of Claude's 410 disclosing answers were also refusals, explaining why the conclusion could not be shared while stating it.

    The limits are substantial, and the authors list them. The benchmark is small and synthetic, with 30 model-generated examples whose realism was checked only by the authors, one adversarial phrasing and at most one distractor each. Only final answers were measured, not intermediate reasoning or tool outputs that might also leak. The judge was selected and evaluated on the same 120 answers, and humans agreed less on what counts as a leak than on what counts as a refusal. The live tests used one model, and differences between live and simulated runs cannot be pinned on tool use alone. Usefulness and unnecessary refusals were not assessed, and only in-context safeguards were tried, not enforced technical controls. The percentages are best read as indicative of this benchmark rather than as rates in deployed systems.

    Paper
    Agent Mosaic: Recognizing Confidentiality Leaks in Agentic LLM Systems
    Authors
    Daniel Ruiz, Luca Luceri, Emilio Ferrara
    Venue
    arXiv preprint — not yet peer reviewed · 21 October 2026
    Link
    arxiv.org/abs/2610.30418
    Index
    stacks.braintank.ai
    Code
    github.com/ZQ-Dev8/agent-mosaic
    Cite

    Keep reading

    mixing console faders glowing in the dark
    mixing console faders glowing in the dark

    Mixing console faders glowing in the dark · Photo: Caio Silva

    Alignment · Feature additivity

    Sparse autoencoder features don't quite add up when combined

    A metric for how far combined feature effects stray from simple addition finds a gap in every setting tested, much of it recovered by modelling pairs of features.

    arXiv preprint · 15 October 2026

    Photo: Julia Taubitz

    Alignment · Safety classifiers

    Pruned open-weight model scores AI chat logs for 14 kinds of harm in one pass

    Iris Content Guard learns its safety policy in training and outputs adjustable scores, which its makers say catch more harm when false alarms must stay rare.

    arXiv preprint · 26 November 2026

    Photo: Spencer Liao

    Alignment · Multimodal safety guards

    A safety guard for image-reading AI learns to warn or ask first, not just refuse

    A 2026 preprint trains a small vision-language model to choose between allowing, warning, asking for clarification and refusing, and to tie each choice to evidence.

    arXiv preprint · 21 November 2026