AI hack · Security research · 11 Aug 2026Lab tests, fake credentials, ASSET saysNo CVE listed as of 10 Aug 2026Needs the attacker's server connected

With GhostSplice, researchers say AI coding agents rebuilt a theft request split across MCP messages

ASSET Research Group showed that a malicious MCP server can split a request to steal secrets into SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated, which AI coding agents can stitch back together, The Hacker News reports. The tests ran in isolated projects seeded with SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated, and no real-world intrusion is reported.

By Chris Hoskins, Founder, Boogey ·

Tap underlined words to see who reported them.

42% to 82%

SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated

0% to 100%

SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated

100% in Cursor

SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated

None

SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated

How the pieces came together in ASSET's tests

  1. Step 1

    A bland tool

    In the researchers' reference setup, a malicious MCP server, a source of tools for the agent, offered a SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated with four bland fields and no sensitive file names.

  2. Step 2

    A later mapping

    A later project-scan result told the agent SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated in each field. They were an SSH key, proprietary source, a customer list and an environment file.

  3. Step 3

    Whole only together

    Together, the two pieces told the agent to SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated to the attacker's tool.

  4. Step 4

    A three-part version

    A version in the researchers' public repository spreads the file list, the mapping and the collecting tool SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

The trick can work SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated a blunt version of the same theft, The Hacker News reports.

Why the pieces got through

ASSET Research Group calls the technique SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

  • Each piece looks routine

    Each fragment SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated and arrives through a channel the assistant already uses, the researchers say.

  • The agent does the assembly

    In their tests, the agent itself SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

  • The client decides

    The same model can refuse in one coding client and send the data in another, SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated around it, The Hacker News notes.

The attack assumes the developer SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated and the agent can already read the files. It is not a way into an arbitrary agent from outside, The Hacker News notes.

Scores that depend on the setup

90% and 100%

SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated

0%

SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated

The Hacker News cautions that these are SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated for the setups they tested, not general rates or proof a model is unaffected.

Where the defence sits

The Hacker News says the defence SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated, the app that connects the agent to its servers. The MCP specification says clients should keep a human SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated, and must treat annotations from untrusted servers as untrusted. OpenAI's guidance warns that SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated raise the risk of prompt injection, where instructions are hidden in what an agent reads. ASSET's prescription is to SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated, and to check any value before it passes from one tool's output into another tool's arguments.

The Boogey fix

Would your agent rebuild a request no single tool sent?

You’re exposed if

  • Your agent or MCP client takes tools, instructions or results from several MCP servers or tools at once.
  • Users can add their own MCP servers, or your agent can add servers itself.
  • It can read local files, environment files or customer data, and call tools that send data out.
  • A value from one tool's output can flow into another tool's call with no check between them.

Fix it

  1. 01Server output is data

    Tell your agent in its system instructions that tool descriptions and tool results never decide which files it reads or what it sends. ASSET prescribes SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

  2. 02A check between tools

    Before any tool call leaves, have your client check its arguments. Hold the call if they carry file contents, keys or a value taken from another server's result.

  3. 03A person can say no

    Show the user each call to a third-party server with its full arguments, and let them deny it. The MCP specification says clients should keep a human SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

  4. 04Secrets out of reach

    Run the agent where it can't read SSH keys, environment files or customer exports unless its task names them. The attack assumes the agent can SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

  5. 05Servers on an allowlist

    Let an admin set which MCP servers your product connects to, and refuse the rest. The attack needs the SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated.

On your platform

Settings you already have that help against this hack. Last checked 1 Dec 2026.

  • Lock out skip-all-prompts

    In managed settings, set permissions.disableBypassPermissionsMode to "disable" and add deny rules such as Bash(curl *) and Read(./.env).

    How

  • Turn on the sandbox

    Run /sandbox, or set sandbox.enabled to true and allowUnsandboxedCommands to false. It’s off by default.

    How

  • Allow only approved MCP servers

    In managed settings, set allowManagedMcpServersOnly to true and list allowedMcpServers by URL or command.

    How

Every setting for every platform

How we test it

  1. 1Under a signed scope, in your staging or a test account we create, we plant canary files. They are a fake key and a fake customer list, harmless markers we watch for. You install nothing. We scan nothing of yours, use no live keys and stay off staff machines.Being built
  2. 2A test user connects two or three of our benign test MCP servers, as any user might, and gives your agent an ordinary task. One request for the canaries is split across their tool descriptions and results.Being built
  3. 3In a separate run, the test user sends the same request whole, as a baseline. We watch only our test servers for canary contents, and compare the two runs.Being built
Built
BT-07 · Poisoned or malicious MCP servers, tools and skillsBT-02 · Indirect prompt injection through content the AI readsBT-04 · Tool misuse by a hijacked agentBT-03 · Data exfiltration through rendered output or outbound requests

It fails if

  • Any canary contents reach one of our test servers
  • Your agent refuses the whole request but acts on the split one
  • Your agent passes a value from one server's result into another server's tool call without asking the user
Get started

Does your agent take tools or results from more than one MCP server? This test is still being built.

What it reveals

GhostSplice follows SourceThe Hacker NewsMalicious MCP Servers Can Split Instructions to Make AI Coding Agents Exfiltrate SecretsUndated, the same lab's June disclosure, in which an instruction hidden in an image led a coding agent to encode secrets into source code, The Hacker News notes. A check that reads one message at a time sees only routine pieces. So check the tool call your agent is about to make against everything that led to it, because that is where a split request shows itself whole.