Appearance
SEC574 / MCP-AUTOAPPROVE-READ-UNSAFE-PATH
SEC574 flags MCP configuration when autoApprove includes Read(...) with an absolute, home-relative, parent-traversing, or drive-qualified path.
Why It Matters
Read(...) can be useful in narrow scopes, but auto-approving broad unsafe paths removes review from access that extends beyond repository-scoped expectations.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- an entry matches
Read(...) - the inner path is absolute, home-relative, parent-traversing, or drive-qualified
How To Fix
Replace unsafe Read(...) auto-approval with repository-scoped allowlists or remove it from shared auto-approval.