Signed, Sealed, and Sneaky: How AI Tools Can Leak Your Data
Original paper: Signed, Sealed, Leaked: Trust Beyond Signature for MCP Toolchains
"Think of a chef working inside a sterile quarantine kitchen who is handed only the exact chopped vegetables needed for one specific recipe. Because the chef has zero access to the master pantry or other tables, they cannot smuggle out any extra ingredients even if they wanted to."
As autonomous AI agents gain access to sensitive enterprise databases and personal files, trusting a software signature is no longer enough to prevent data theft. This research offers a blazing-fast security standard that locks down AI toolchains without slowing them down.
- Digital signatures do not guarantee that third-party AI tools are safe from malicious code.
- Current runtime defences still allow sneaky data leaks to slip through in multiple trials.
- Germline execution isolates tool copies so they only see authorized data, blocking leaks completely.
📑 Original arXiv Technical Abstract
AI agents rely on third-party tools, such as Model Context Protocol (MCP) servers, whose publishers can be authenticated and whose execution can be restricted by runtime security policies. Yet authenticity does not guarantee benign behaviour: a legitimately signed tool may perform its advertised function while concealing malicious code that leaks confidential information. We demonstrate this trust failure with a signed MCP tool that embeds sensitive data in requests to a policy-allowed destination. Meta's MCPGuard-Dynamic, a state-of-the-art runtime defence, blocks a direct exfiltration attempt in the same run, yet fails to prevent this attack in every trial. We introduce germline execution, which limits information disclosure without inspecting or trusting tool implementations. Each tool invocation runs in ephemeral copies forked from a data-free germline process, each receiving only information authorised for its destination. Even if malicious code executes, what it can disclose is bounded by the data available to its copy. Under explicit assumptions on copy confinement and a data-free germline, we prove sink noninterference for every signed release and, for releases deterministic within our replay model, show that a verified witness establishes a flow violation. Across 153 attack runs, no unauthorised disclosure was detected under germline execution, compared with 5.9-74.5% of runs under baseline defences and an ablation. Invocations served by a single copy completed in 10-49 ms, 2-28x faster than restarting the tool for every invocation, the conventional way to clear state. These results show that data-isolated execution protects agent toolchains against malicious code concealed within authenticated software.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.