Article 1
GhostSplice: Malicious MCP Servers Split Instructions to Make AI Coding Agents Exfiltrate Secrets (ASSET Research Group)
TL;DR
The GhostSplice attack demonstrates how malicious MCP servers can manipulate AI agents into exfiltrating sensitive data by fragmenting instructions across different tool channels. This technique successfully bypasses modern LLM safety guardrails by disguising theft as routine administrative tasks like form completion.
Researchers at ASSET Research Group have unveiled 'GhostSplice,' a sophisticated prompt injection technique targeting AI agents that utilize the Model Context Protocol (MCP). The core vulnerability lies in the way modern LLMs process information from various MCP sources—such as tool descriptions, tool results, and sampling messages—within a single, unified context window without clear boundaries between them. In a GhostSplice attack, a malicious MCP server provides two seemingly innocent pieces of information: first, a tool description that defines a 'form' with empty parameters (e.g., alpha, beta), and second, a tool result that instructs the model to populate those specific parameters with sensitive file contents like SSH keys or .env files. Because each fragment is individually harmless and lacks dangerous keywords, the model's safety training—which is designed to trigger on direct requests for exfiltration—is never activated. Instead, the model perceives the task as a routine compliance or formatting chore. The researchers demonstrated that this can be implemented in as few as thirty lines of Python code using the FastMCP SDK and successfully executed in environments like OpenAI Codex. This research highlights a critical security gap in the growing ecosystem of AI extensions and agentic workflows, where the trust placed in tool outputs can lead to silent, automated data exfiltration.