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