Appearance
SEC591 / MCP-AUTOAPPROVE-YARN-DLX
SEC591 flags MCP configuration when autoApprove includes a Bash(yarn dlx ...) tool token.
Why It Matters
yarn dlx runs packages from a mutable registry path. Auto-approving it removes review from dynamic package execution.
Trigger Shape
- the file is a detected MCP configuration surface
autoApproveis a string array- the array contains an item starting with
Bash(yarn dlx
How To Fix
Remove shared yarn dlx auto-approval and keep mutable package execution under explicit user review.