Retired rule AAK-WINDSURF-001: Windsurf .windsurf/mcp.json auto-approves server registrations
- Status
- Retired in the release after 0.6.22. 0.6.22 is the last release that ships it, and later releases do not report it.
Why it was retired
It read a project's .windsurf/mcp.json for auto_approve and auto_execute keys, a group- or world-writable folder and server commands with no SHA-256 pin. Windsurf documents neither that file nor those keys: its MCP documentation, now at docs.devin.ai, names only an mcp_config.json in your home folder, at ~/.config/devin/mcp_config.json on macOS and Linux and at %APPDATA%\devin\mcp_config.json on Windows, and its only per-tool control is disabledTools.
What covers it now
Every other MCP server rule still reads .windsurf/mcp.json. CVE-2026-30615, in which a prompt injection rewrites Windsurf's MCP configuration, is covered by these rules:
- AAK-STDIO-001: MCP STDIO command-injection (Ox architectural class)
- AAK-MCP-STDIO-CMD-INJ-001: MCP STDIO server launched from network-controlled input (Python)
- AAK-MCP-STDIO-CMD-INJ-002: MCP StdioClientTransport built from network-controlled input (TypeScript)
- AAK-MCP-STDIO-CMD-INJ-003: MCP StdioServerParameters built from network-controlled input (Java)
- AAK-MCP-STDIO-CMD-INJ-004: MCP STDIO command spawned from network-controlled input (Rust)
All rules and Retired rules. This page stays so that the link in an alert raised before the rule was retired still opens. It is generated from RETIRED_RULE_IDS in agent_audit_kit/rules/builtin.py when the documentation is built.