Skip to content
MediumNewsLLM-specific

Malicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate Secrets

Published
Record updated
View JSON

Summary

ASSET Research Group disclosed GhostSplice, a technique in which a malicious MCP server splits a data-theft request across a tool description, a tool result and a later project-scan result, so AI coding agents assemble and send SSH keys, environment secrets, source code and customer data to the attacker's tool. Tests in isolated projects with fake credentials reported average compliance rising from 42% to 82% across eleven API-tested models when the request was split in two. The source text says the attack assumes the developer has already connected the attacker's MCP server and that the agent can read the target files.