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