Skip to content

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:


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.