Appearance
SEC586 / MCP-AUTOAPPROVE-NPX
SEC586 flags MCP configuration when autoApprove includes a Bash(npx ...) tool token.
Why It Matters
npx 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(npx
How To Fix
Remove shared npx auto-approval and keep mutable package execution under explicit user review.