Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →
ReleaseInsight · On RadarHugging Face Blog→ original

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: AI Agent Leaks Corporate Secrets Through a Chain of Search Queries
Source: Hugging Face Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHugging Face Blog ↗
Editor-in-Chief
Intent leakagethe queries reveal exactly what the agent is investigating
Answer leakageanswers to closed questions can be inferred from the queries
Full-information leakagethe observer finds private facts on their own, without knowing what to look for

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."

Story

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.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

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.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — ServiceNow: AI Agent Leaks Corporate Secrets Through a Chain of Search Queries https://news.hamidun.com/en/news/10830/servicenow-ai-agent-leaks-corporate-secrets-through-a-chain

What do you think?
Loading comments…