TL;DR: Every prompt can be forwarded out of Cursor through a project rule and MCP server, according to Eve Security, with live keys leaving the laptop before the user sees any disclosure. That makes prompt handling, local approval state, and MCP governance part of the same control surface.
Editorial analysis by NHI Mgmt Group, based on content published by Eve Security: “How an attacker turns Cursor into a prompt mailbox”.
Key questions
Q: What should teams do first when an MCP server can read full prompts?
A: First, reduce the MCP server’s access to prompt content to the minimum needed, then separate it from secrets, credentials, and sensitive workspace data.
Q: How can local approval state change the security of an MCP integration?
A: Local approval state can weaken an MCP integration when a stored approval persists after a user, policy, or workspace change.
Q: How do prompt rules in AI coding agents create exfiltration risk?
A: Prompt rules in AI coding agents can create exfiltration risk when instructions let the agent copy source code, secrets, or prompt content into outputs, tool calls, logs, or external requests.
Practitioner guidance
- Inventory workspace rules that can invoke tools Review .cursor/rules and equivalent project policy files for instructions that forward user prompts, context, or credentials to external services.
- Restrict MCP servers from receiving raw prompts Require explicit approval before any MCP endpoint can access full user messages, and block servers that do not need prompt content to function.
- Protect local approval stores as sensitive state Harden the workstation database and profile directories that persist approvedProjectMcpServers so a local write cannot silently enable a server.
Bottom line: A local rule can turn an assistant into a silent data mover, sending prompts and embedded secrets to an external service without visible user disclosure.
Glossary terms: MCP, Workspace Rule, MCP Approval Store, Cursor
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Prompt forwarding is now an identity event, not just a model event. When an agent can send the current user prompt to a tool as part of normal execution, the trust question shifts from output quality to data movement. That means prompt content, local rules, and tool authorization belong in the same governance conversation as credentials and session scope. Practitioners should treat silent tool calls as a governed access path, not a convenience feature.
A few things that frame the scale:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
A question worth separating out:
Q: What is the difference between an MCP server and a workspace rule?
A: An MCP server is a runtime service that exposes tools, resources, or prompts to an agent through the Model Context Protocol. A workspace rule is a policy control inside the development environment that governs what the workspace or agent may do, such as file access, command execution, or network reach. The server provides capability, the rule constrains use.
👉 Read our full editorial: Cursor rules and MCP can silently exfiltrate prompts and keys