13.16 · Prompt Injection

Explore 4 source-supported AI security cases for 13.16 · Prompt Injection in Databricks DASF 3.0, with evidence, scope, and defensive analysis.

Risk category

Malicious instructions alter MCP server behavior or bypass the controls around its use. Instructions can arrive directly from a user, indirectly through data sources, or through manipulated tool descriptions. The resulting tool interactions can cause unauthorized actions, data exfiltration, or privilege escalation.

Official framework source ↗ · Open interactive explorer ↗

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 Prompt Injection: Malicious instructions alter MCP server behavior or bypass the controls around its use.

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 ·

Azure DevOps MCP Review Agent Cross-Project Exfiltration

Manifold Security showed that an HTML comment hidden in an Azure DevOps PR description was returned verbatim by the official MCP server's PR tool. Claude Code and Copilot CLI agents reviewing the PR followed it to run a pipeline and read a wiki in a project the contributor could not access, then posted the wiki content as a comment on the contributor's PR. MSRC acknowledged and triaged the report; the cited post did not confirm a fix.

Why it relates: Manifold Security showed that an HTML comment hidden in an Azure DevOps PR description was returned verbatim by the official MCP server's PR tool. The relevant category is Prompt Injection: Malicious instructions alter MCP server behavior or bypass the controls around its use.

Manifold Security showed that an HTML comment hidden in an Azure DevOps PR description was returned verbatim by the official MCP server's PR tool. Claude Code and Copilot CLI agents reviewing the PR followed it to run a pipeline and read a wiki in a project the contributor could not access, then posted the wiki content as a comment on the contributor's PR. MSRC acknowledged and triaged the report; the cited post did not confirm a fix.

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

Validated Research ·

Data Exfiltration via an MCP Server used by Cursor

The Backslash Security Research Team demonstrated that a Model Context Protocol (MCP) tool can be used as a vector for an indirect prompt injection attack on Cursor, potentially leading to the execution of malicious shell commands. The Backslash Security Research Team created a proof-of-concept MCP server capable of scraping webpages. When a user asks Cursor to use the tool to scrape a site containing a malicious prompt, the prompt is injected into Cursor's context. The prompt instructs Cursor to execute a shell command to exfiltrate the victim's AI agent configuration files containing credentials. Cursor does prompt the user before executing the malicious command, potentially mitigating the attack.

Why it relates: The Backslash Security Research Team demonstrated that a Model Context Protocol (MCP) tool can be used as a vector for an indirect prompt injection attack on Cursor, potentially leading to the execution of malicious shell commands. The relevant category is Prompt Injection: Malicious instructions alter MCP server behavior or bypass the controls around its use. Tool output proposes a credential-exfiltrating shell command, but user execution confirmation remains a required boundary.

The Backslash Security Research Team demonstrated that a Model Context Protocol (MCP) tool can be used as a vector for an indirect prompt injection attack on Cursor, potentially leading to the execution of malicious shell commands. The Backslash Security Research Team created a proof-of-concept MCP server capable of scraping webpages. When a user asks Cursor to use the tool to scrape a site containing a malicious prompt, the prompt is injected into Cursor's context. The prompt instructs Cursor to execute a shell command to exfiltrate the victim's AI agent configuration files containing credentials. Cursor does prompt the user before executing the malicious command, potentially mitigating the attack.

SecureFlow · Read the full case ↗

Validated Research ·

Agentjacking: How Fake Sentry Errors Turn MCP Telemetry into Agent Code Execution

Tenet Threat Labs showed that attacker-injected Sentry events (error-monitoring records from the Sentry observability platform) can hijack AI coding agents through the Sentry MCP server. A public Sentry DSN lets an attacker submit a crafted error, the MCP integration returns it as diagnostic context, and Claude Code, Cursor, or Codex may execute a suggested npm command with developer or CI privileges. The control lesson: telemetry is data, not authority; MCP outputs, agent clients, tool gates, sandboxes, and egress policy all need runtime enforcement.

Why it relates: Tenet Threat Labs found 2,388 organizations with exposed Sentry DSNs and observed more than 100 coding agents execute a controlled validation package in authorized testing. The relevant category is Prompt Injection: Malicious instructions alter MCP server behavior or bypass the controls around its use.

Tenet Threat Labs found 2,388 organizations with exposed Sentry DSNs and observed more than 100 coding agents execute a controlled validation package in authorized testing. The source-backed chain begins with a crafted Sentry error event, crosses the Sentry MCP telemetry boundary, steers an agent toward an npx command, probes only bounded exposure metadata on the developer or CI runtime, and sends responsible-disclosure identifiers to Tenet's advisory tracker. This flow does not represent Tenet's controlled package as malicious credential theft and does not claim that the tested organizations were breached.

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