Appearance
SEC588 / MCP-AUTOAPPROVE-NPM-EXEC
SEC588 flags MCP configuration when autoApprove includes a Bash(npm exec ...) tool token.
Why It Matters
npm exec enables mutable package execution from the npm ecosystem. 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(npm exec
How To Fix
Remove shared npm exec auto-approval and keep mutable package execution under explicit user review.