13.26 · Malicious Server Connection

Explore 8 source-supported AI security cases for 13.26 · Malicious Server Connection in Databricks DASF 3.0, with evidence, scope, and defensive analysis.

Risk category

A client connects to a malicious or compromised MCP server without adequately verifying the destination. Fake servers, DNS poisoning, impersonation, and connection hijacking can redirect the connection to an attacker. A server that appears legitimate can then supply harmful responses or receive information the client intended for a trusted service.

Official framework source ↗ · Open interactive explorer ↗

Validated Research · · Practical overlap

Open WebUI Direct Connections: Malicious SSE Events, Token Theft and Conditional RCE

Cato validated code execution and login-token theft through a malicious model endpoint in Open WebUI, a self-hosted AI-chat interface. The victim must use an enabled Direct Connections integration; the endpoint’s SSE execute event runs in the browser without requiring a model-generated attack. Reusing the token can additionally reach backend Python execution only when the account has workspace.tools permission.

Why it relates: The victim connects an AI client to a malicious server that returns an executable response event. The server is OpenAI-compatible, not an MCP server. The shared client-to-untrusted-server trust boundary is central to the exploit.

Model-protocol events and a conditional account-to-backend execution path; the malicious event need not be model-generated.

AIA · Read the full case ↗ · SecureFlow · Read the full case ↗

Research ·

Data Exfiltration via Remote Poisoned MCP Tool

Researchers at Invariant Labs demonstrated that AI agents configured with remote Model Context Protocol (MCP) Tools can be vulnerable to model poisoning attacks. They show that an MCP Tool can contain malicious prompts in its docstring description, which is ingested into the AI agent's context, modifying its behavior. They demonstrate this attack with a proof-of-concept MCP Tool that instructs the agent to perform additional actions before using the tool. The agent is instructed to read files containing credentials from the victim's machine and store their contents in one of the input variables to the tool. When the tool runs, the victim's credentials are exfiltrated to the poisoned MCP server.

Why it relates: Researchers at Invariant Labs demonstrated that AI agents configured with remote Model Context Protocol (MCP) Tools can be vulnerable to model poisoning attacks. The relevant category is Malicious Server Connection: A client connects to a malicious or compromised MCP server without adequately verifying the destination.

Researchers at Invariant Labs demonstrated that AI agents configured with remote Model Context Protocol (MCP) Tools can be vulnerable to model poisoning attacks. They show that an MCP Tool can contain malicious prompts in its docstring description, which is ingested into the AI agent's context, modifying its behavior. They demonstrate this attack with a proof-of-concept MCP Tool that instructs the agent to perform additional actions before using the tool. The agent is instructed to read files containing credentials from the victim's machine and store their contents in one of the input variables to the tool. When the tool runs, the victim's credentials are exfiltrated to the poisoned MCP server.

SecureFlow · Read the full case ↗

Validated Research ·

OpenCode: An MCP OAuth URL Reaches the Windows Shell

Pillar Security demonstrated code execution during remote MCP OAuth authentication in OpenCode, an AI coding agent, on Windows and WSL. A server-selected HTTPS authorization URL reached an unsafe PowerShell browser-launch command before any model decision. OpenCode 1.18.33 fixes this path; the later CVE-2026-119025 record also covers the shared open dependency and a separately validated MCP Inspector integration.

Why it relates: The demonstrated client connection to an attacker-controlled MCP server accepts harmful authorization metadata.

OpenCode and Inspector retain separate integration and version scopes; the common dependency does not merge their graphs.

AIA · Read the full case ↗ · SecureFlow · Read the full case ↗

Incident ·

Poisoned Postmark MCP Server Email Exfiltration

A bad actor successfully exfiltrated emails from users of the Postmark's MCP server via a supply chain attack. Postmark is an email delivery service that allows organizations to send marketing and transactional emails via API. The Postmark MCP server allows users to interact with Postmark via AI agents. The bad actor impersonated Postmark, by registering the postmark-mcp package name on npm. They initially published the legitimate versions of the MCP server. After the package became popular and reached over 1,000 downloads per week, the bad actor performed a rugpull and uploaded a malicious version of the package. The malicious version added the bad actor's email address in the BCC line of all emails sent by the MCP tool. Users who upgraded to this version and continued to use the tool would have all emails exfiltrated to the bad actor.

Why it relates: A bad actor successfully exfiltrated emails from users of the Postmark's MCP server via a supply chain attack. The relevant category is Malicious Server Connection: A client connects to a malicious or compromised MCP server without adequately verifying the destination.

A bad actor successfully exfiltrated emails from users of the Postmark's MCP server via a supply chain attack. Postmark is an email delivery service that allows organizations to send marketing and transactional emails via API. The Postmark MCP server allows users to interact with Postmark via AI agents. The bad actor impersonated Postmark, by registering the `postmark-mcp` package name on npm. They initially published the legitimate versions of the MCP server. After the package became popular and reached over 1,000 downloads per week, the bad actor performed a rugpull and uploaded a malicious version of the package. The malicious version added the bad actor's email address in the BCC line of all emails sent by the MCP tool. Users who upgraded to this version and continued to use the tool would have all emails exfiltrated to the bad actor.

SecureFlow · Read the full case ↗

Validated Research ·

Kiro Let a Web Page Rewrite the Configuration That Starts MCP Commands

Intezer and Kodem demonstrated a Kiro IDE attack in which hidden web-page instructions caused its agent to edit the user's global MCP server configuration. Kiro then reloaded the file and launched the inserted command with the developer's privileges. The proof of concept used a local callback and did not establish a real-world victim compromise.

Why it relates: Intezer and Kodem demonstrated that hidden instructions in a web page fetched by Kiro could induce its file-write tool to change ~/.kiro/settings/mcp.json without a meaningful approval boundary. The relevant category is Malicious Server Connection: A client connects to a malicious or compromised MCP server without adequately verifying the destination.

Intezer and Kodem demonstrated that hidden instructions in a web page fetched by Kiro could induce its file-write tool to change ~/.kiro/settings/mcp.json without a meaningful approval boundary. Kiro reloaded the configuration and started the added MCP server command in the developer's user context. The proof of concept sent a local callback; it did not document an in-the-wild victim or theft of secrets.

AIA · Read the full case ↗ · SecureFlow · Read the full case ↗

Incident ·

Deadbugz: GitHub PRs Delivered a Delayed, Shape-Shifting Malicious MCP Server

Pillar Security documented Deadbugz, an active campaign that opened 23 GitHub pull requests in about 74 minutes to place a malicious MCP server in popular repositories and MCP directories. The server behaved normally at first, then changed later tool descriptions and prompt content into instructions for credential discovery, covert file access, command execution, and exfiltration. None of the reviewed pull requests was merged, and the public evidence does not show victim execution or confirmed data theft.

Why it relates: Pillar Security documented Deadbugz, an active campaign that opened 23 GitHub pull requests in about 74 minutes to place a malicious MCP server in popular repositories and MCP directories. The relevant category is Malicious Server Connection: A client connects to a malicious or compromised MCP server without adequately verifying the destination. Repository admission and later client refresh would be required before poisoned discovery content could reach an agent; reviewed PRs were not merged.

Pillar Security documented Deadbugz, an active campaign that opened 23 GitHub pull requests in about 74 minutes to place a malicious MCP server in popular repositories and MCP directories. The server behaved normally at first, then changed later tool descriptions and prompt content into instructions for credential discovery, covert file access, command execution, and exfiltration. None of the reviewed pull requests was merged, and the public evidence does not show victim execution or confirmed data theft. The campaign used real pull requests for delivery. The actor submitted remote and local MCP configurations, plus directory listings, to established projects. This made repository review the supply-chain boundary the actor was trying to cross. The server delayed its malicious behavior. It tracked calls by client IP and kept two tools benign. After three tool calls, a later tools/list or prompts/get response returned poisoned content. No change notification was sent, so the client still had to refresh the list or request the prompt. The payload relied on client authority. It asked the agent to find credential files, conceal access, modify files, run commands, and exfiltrate results. The server could not read victim files directly; success required a client to ingest the changed content and an agent with sufficient tools, permissions, and compliance. No victim compromise is confirmed. Pillar found no merged pull request in the reviewed set, and the public record does not prove installation, execution, credential access, or exfiltration.

AIA · Read the full case ↗

Validated Research ·

Amazon Q's MCP Auto-Load Bug Made Cloned Repos a Cloud Credential Risk

Wiz showed that older Amazon Q for VS Code (AWS's AI coding assistant extension) language-server versions automatically loaded workspace MCP (Model Context Protocol, a way for AI assistants to connect to external tools) configuration without consent, letting a malicious repository define a command-backed MCP server that inherited the developer environment and exfiltrated AWS identity data. AWS fixed CVE-2026-12957 in language server 1.65.0 and later.

Why it relates: Wiz disclosed CVE-2026-12957 in Amazon Q Developer for VS Code, where workspace MCP configuration could be auto-loaded without consent, start command-backed MCP servers, inherit developer environment variables, and exfiltrate AWS identity data before AWS fixed the issue in language server 1.65.0. The relevant category is Malicious Server Connection: A client connects to a malicious or compromised MCP server without adequately verifying the destination.

Wiz disclosed CVE-2026-12957 in Amazon Q Developer for VS Code, where workspace MCP configuration could be auto-loaded without consent, start command-backed MCP servers, inherit developer environment variables, and exfiltrate AWS identity data before AWS fixed the issue in language server 1.65.0.

AIA · Read the full case ↗ · SecureFlow · Read the full case ↗

Validated Research ·

Anthropic MCP STDIO Command Execution: When Tool Configuration Becomes an RCE Primitive

TechRadar reports on OX Security's claim that Anthropic's MCP (Model Context Protocol, a way for AI assistants to connect to external tools) STDIO launch model lets untrusted configuration turn directly into OS command execution across a wide swath of the MCP ecosystem. The key lesson is to treat local MCP server launch as a privileged code-execution boundary, not as ordinary tool configuration.

Why it relates: TechRadar reports on OX Security's claim that Anthropic's MCP (Model Context Protocol, a way for AI assistants to connect to external tools) STDIO launch model lets untrusted configuration turn directly into OS command execution across a wide swath of the MCP ecosystem. The relevant category is Malicious Server Connection: A client connects to a malicious or compromised MCP server without adequately verifying the destination. Untrusted STDIO launch parameters reach local or server-side subprocess authority; exploitability depends on the consuming client's admission and configuration path.

TechRadar reports on OX Security's claim that Anthropic's MCP (Model Context Protocol, a way for AI assistants to connect to external tools) STDIO launch model lets untrusted configuration turn directly into OS command execution across a wide swath of the MCP ecosystem. The key lesson is to treat local MCP server launch as a privileged code-execution boundary, not as ordinary tool configuration. The root issue is architectural, not a one-off bug. OX's April 15, 2026 write-up says StdioServerParameters can turn command and argument fields directly into subprocess execution, with no protocol-level safety marker when developers pass user-controlled values. The pattern propagates downstream. Similar launch logic appears in MCP-adjacent clients and frameworks such as LangChain adapters and products that proxy MCP configuration, so one unsafe default can spread across many deployments. Input filtering is not enough. OX's Flowise example shows that even an allowlist can be bypassed through an allowed wrapper like npx -c . If arbitrary subprocess launch remains possible, sanitization alone is fragile. The impact spans both servers and endpoints. OX describes authenticated and unauthenticated server-side RCE cases, plus a Windsurf chain where a prompt-injection-induced edit to mcp.json adds a malicious STDIO entry and executes locally. This is an ecosystem trust-boundary problem. The real question is whether any UI, agent, IDE, marketplace, or workflow can smuggle attacker-controlled launch parameters into a code-executing MCP client path.

AIA · Read the full case ↗