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