What happened
Attacker caused Windsurf to process malicious HTML (via a web view, rendered markdown, or similar vector). The HTML caused unauthorized modification of the MCP server configuration and auto-registration of an attacker-controlled MCP STDIO server, achieving RCE without any user interaction.
Why it matters
Full RCE on developer workstations via the registered malicious STDIO MCP server. Zero user interaction required — any developer whose IDE processed attacker-controlled HTML was at risk of complete machine compromise.
Missing authorization check
MCP server registration and MCP configuration modifications must require explicit human authorization. Auto-registration triggered by content processing is a critical security boundary violation — this action should require a signed receipt regardless of how it was triggered.
Would PP block it?
MCP server registration is a consequential action that should always require a human-signed receipt. If registration required a PP receipt, the zero-click auto-registration would be blocked regardless of how the registration was triggered — HTML processing, prompt injection, or any other vector.