ServiceNow: AI Agent Leaks Corporate Secrets Through a Chain of Search Queries
ServiceNow researchers found that an AI agent for enterprise search leaks confidential data through ordinary search queries, a "mosaic effect." The central paradox: the more precisely the agent searches, the more leaks out. Training for quality raised task success from 48.7% to 59.3%, but leakage rose from 34% to 51.7%. The proposed fix, PA-DR, cuts leakage to 9.9% without losing effectiveness.
AI-processed from Hugging Face Blog; edited by Hamidun News
ServiceNow researchers have published MosaicLeaks on Hugging Face, the first systematic analysis of how AI agents for deep search can unintentionally expose confidential corporate data. The culprit is neither a hack nor a bug in the code, but the very nature of search queries.
The mosaic effect: harmless pieces add up to a secret
The name of the paper refers to the "mosaic effect" from intelligence theory: individual public facts are safe on their own, but together they form a complete picture. An AI agent working with corporate documents sends a series of queries to a search engine. Each one looks innocent. But an outside observer who sees the whole sequence can reconstruct confidential information: infrastructure migration timelines, details of security incidents, internal projects.
The researchers formalized three types of leakage:
- Intent leakage: the queries reveal exactly what the agent is investigating
- Answer leakage: answers to closed questions can be inferred from the queries
- Full-information leakage: the observer finds private facts on their own, without knowing what to look for
The paradox: more accurate means more dangerous
The most counterintuitive finding: standard training of an agent for maximum search accuracy makes it more dangerous from a privacy standpoint. The baseline untrained agent solved tasks successfully in 48.7% of cases. After training on the task metric alone, success rose to 59.3%. But the leakage rate also rose, from 34.0% to 51.7%.
The mechanism is simple: to find the right document, the agent writes more precise and more informative queries. That helps the search engine, and it also reveals more to an outside observer.
"More informative queries help the agent find the right documents, but at the same time reveal
to an observer more context about what is being sought."
PA-DR: training with a dual reward
ServiceNow proposes the Privacy-Aware Deep Research (PA-DR) architecture, a system in which the agent is optimized for two goals at once.
Situational rewards. In standard RL, the agent is rewarded only for the final correct answer. In PA-DR, every intermediate step is scored based on what the agent knew at that moment. This sharply improves learnability: it needs 5–6 times fewer examples to reach comparable quality.
Learned privacy rewards. A separate evaluator model penalizes the agent for queries that create a mosaic vulnerability, meaning those that reveal intent or allow closed facts to be inferred. The privacy criteria are also learned from data rather than hand-written.
Result of combining the two mechanisms:
- Success on the task chain: 58.7% (without significant loss)
- Leakage rate: 9.9% (below the original untrained agent's 34.0%)
What this means
The paper establishes a fundamental limitation: enterprise deep-research agents are unsafe by default. Running an agent on internal data with internet access creates a leak channel that the user may not even suspect. PA-DR shows the problem can be solved technically without sacrificing quality, but it requires a deliberate decision during training, not hope that a "good agent will figure it out on its own."
- Dec 2, 2026Qwen3.8-27B at 4-Bit Quantization Weighs 16.6 GB Instead of 55 GB: How to Read the Filename
- Dec 2, 2026T-Decision-1 9B scores 71.6 points and beats a model six times its size
- Dec 2, 2026T-Decision-1 with 9B Parameters Beats Copernicus-57B on Russian: 71.6 vs. 71.2 Points
- Dec 2, 2026DeepMind Releases CellGemma: A Cell Model 6x Smaller Than Its Predecessor That Runs on a Single GPU
Key Questions Answered
What are the key details on The mosaic effect: harmless pieces add up to a secret?
The name of the paper refers to the "mosaic effect" from intelligence theory: individual public facts are safe on their own, but together they form a complete picture. An AI agent working with corporate documents sends a series of queries to a search engine. Each one looks innocent. But an outside observer who sees the whole sequence can reconstruct confidential information: infrastructure migration timelines, details of security incidents, internal projects.
What are the key details on The paradox: more accurate means more dangerous?
The most counterintuitive finding: standard training of an agent for maximum search accuracy makes it more dangerous from a privacy standpoint. The baseline untrained agent solved tasks successfully in 48.7% of cases. After training on the task metric alone, success rose to 59.3%. But the leakage rate also rose, from 34.0% to 51.7%. The mechanism is simple: to find the right document, the agent writes more precise and more informative queries.
What are the key details on PA-DR: training with a dual reward?
ServiceNow proposes the Privacy-Aware Deep Research (PA-DR) architecture, a system in which the agent is optimized for two goals at once. Situational rewards. In standard RL, the agent is rewarded only for the final correct answer. In PA-DR, every intermediate step is scored based on what the agent knew at that moment. This sharply improves learnability: it needs 5–6 times fewer examples to reach comparable quality. Learned privacy rewards.
Test Frontier LLMs & Autonomous Agents in One Workspace
Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
