Agentic AI
New Framework Spots When AI Agents Leak Sensitive Data Across Tools
Researchers introduce AgentRaft, an automated detection system that identifies when LLM-based agents expose more personal information than users intend during multi-tool operations.
As large language model agents become increasingly autonomous in handling real-world tasks, they're introducing a subtle but serious privacy risk: inadvertently sharing sensitive user data beyond what's needed. A new research paper from computer scientists proposes the first automated detection system to catch these over-exposures before they happen.
The Problem: Data Over-Exposure in Agent Workflows#
LLM agents often coordinate multiple external tools and services to complete tasks—searching the web, accessing databases, sending messages. The challenge emerges when agents pass more personal or sensitive information to these downstream tools than the user actually intended or the task requires. Researchers term this phenomenon Data Over-Exposure (DOE)—a systemic risk where agents inadvertently violate the user's privacy boundary.
The root causes run deep: tool interfaces typically demand broad data inputs, and LLMs themselves process information in coarse-grained ways that don't naturally distinguish between "need-to-know" and extraneous details.
AgentRaft: Automated Detection Through Code Analysis#
The researchers present AgentRaft, a framework that combines program analysis with semantic reasoning to spot these leaks. The system works by:
- Mapping tool connections: Building a "Cross-Tool Function Call Graph" that traces how data flows between services when an agent executes a task
- Generating revealing prompts: Synthesizing targeted user queries designed to trigger cross-tool executions that might expose sensitive data
- Inspecting runtime data flow: Analyzing what information actually gets transmitted to downstream tools and comparing it against the user's disclosure boundary
Real-World Performance#
Testing on controlled agents built from 6,675 actual production tools, AgentRaft achieved 92.48% precision while identifying privacy violations using just 150 prompts—covering 98.68% of data-exposure chains. The framework proved its utility on five existing real-world agents in the same tool environment, detecting DOE risks in roughly one-third of source-to-sink paths (759 out of 2,337 examined).
The findings underscore that data over-exposure isn't a rare edge case—it's a widespread vulnerability across current agent systems that warrants systematic safeguards as this technology scales.

