Appearance
SEC575 / MCP-AUTOAPPROVE-WRITE-UNSAFE-PATH
SEC575 flags MCP configuration when autoApprove includes Write(...) with an absolute, home-relative, parent-traversing, or drive-qualified path.
Why It Matters
Unsafe Write(...) scopes allow broad mutation outside project-scoped expectations. Auto-approving them removes review from high-impact file changes.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- an entry matches
Write(...) - the inner path is absolute, home-relative, parent-traversing, or drive-qualified
How To Fix
Replace unsafe Write(...) auto-approval with repository-scoped allowlists or remove it from shared auto-approval.